Sunday, February 28, 2016

Best practices to follow while working with SharePoint Designer workflows

Hi Folks,

SharePoint Designer has its own limitations. We can follow the rules below which helps to prevent your workflow to get corrupted and to recreate it.


Never delete a stage before deleting all actions and conditions within that stage first.
Never delete a stage if another stage is transitioning to it. Make sure to modify the transition portion of the other stage first.
Never copy and paste a stage. Create the stage manually and then copy and paste the actions into the new stage.
Never delete an "IF" or "ELSE" without first deleting all the actions in the condition first.
Never copy and paste an "IF" or "ELSE" block. Create the "IF" and "ELSE" conditions manually and then copy and paste the actions into the condition.
Take backups of your workflow often using the "Save as Template" feature described here,http://msdn.microsoft.com/en-us/library/office/jj819316(v=office.15).aspx. This will allow you to rule back to the last backup if your workflow did get corrupted.

Friday, February 26, 2016

Interview Questions

Q. What is Forms based Authentication?
Ans. Forms Based Authentication (FBA) provides your own authentication method using a web form. SharePoint standard installation uses default AD to query the Domain controller to check user credentials through Windows Authentication. FBA uses a custom database created separate from AD to store User Credentials. FBA is executed by SQL DB query. When FBA is used to extend SharePoint sites, external users (non AD users) have access to SharePoint.
http://www.topsharepoint.com/form-based-authentication
http://blogs.visigo.com/chriscoulson/configuring-forms-based-authentication-in-sharepoint-2013-part-1-creating-the-membership-database/





Q. What is SharePoint Workspace ?
Ans. SharePoint Workspace (Groove) allows you to take the whole SharePoint site, synchronize it and work on the whole site off-line.
        https://www.youtube.com/watch?v=OP4axc3ZOm8

Tuesday, February 23, 2016

If-Else branch issues in SPD Workflow


I came to know that we can't perform multiple if-else branches in designer workflow. The workflow won't have any errors and it will get saved. But, it won't get published and will throw an error.

Please see the below link for more details.
https://social.technet.microsoft.com/Forums/scriptcenter/en-US/67b1e945-1515-4155-81a2-dc0c2108e370/0-0-activity-id463-validation-failed-an-ifelseactivity-must-have-at-least-one-child-of-type?forum=sharepointdevelopment