Showing posts with label SharePoint Designer. Show all posts
Showing posts with label SharePoint Designer. Show all posts

Tuesday, March 15, 2016

How to Backup & Restore a SharePoint Designer workflow and add it another site?


  • Go to the site you have the workflows on
  • Select Site Actions -> Edit in SharePoint Designer.
  • Select “All Files” in the Navigation, then click “Workflows”
  • Right-Click the workflow And go to “Copy”
  • SharePoint Designer. Go to your destination site.
  • Go to Site Actions -> Edit in SharePoint Designer.
  • Right Click and choose “Paste”. 
  • The workflows should be there, but they are not associated with the list 
  • SharePoint recognizes and attaches workflows to Lists and Libraries using their ListID. 
  • We can change that through the .xoml.wfconfig.xml
  • Select the “All Files” again in the navigation, then click “Workflows”, then click the workflow name.
  •  Open With -> SharePoint Designer (Open as XML).
  • Delete the ListID, and paste the ListID you copied earlier here.

Tuesday, February 23, 2016

Before Days send reminder mail SharePoint workflow 2013 or Send an email through Sharepoint workflow one week before a date

In this blog, you can write the mail-address to the log,

Declare duedate =29/02/2016 & minus 7 days stored in date variable

After that we added condition,


Date time field only split date format only in SharePoint Designer 2013 workflow



In this article ,we have option for equal (ignoring time ) action in Sharepoint workflow.



Friday, February 12, 2016

Hide Ribbons to the anonymous users?


Hide Ribbons to the anonymous users in SharePoint based on the PermissionsString ......

<SharePoint:SPSecurityTrimmedControl ID="SPSecurityTrimmedControl2" runat="server"
        PermissionsString="AddListItems" AuthenticationRestrictions="AuthenticatedUsersOnly">
     
 <script type="text/javascript">
            document.getElementById("s4-ribbonrow").style.display = "block";
            document.getElementById("suiteBar").style.display = "block";
     
        </script>

    </SharePoint:SPSecurityTrimmedControl>

How to remove left navigation and ribbon controls from Newform, editform and viewform of a Sharepoint List

User pass query string IsDlg=1 for list OOTB list forms,

 IsDlg=1
 IsDlg=0