Automation in SharePoint
I always prefer PowerShell to do automation which is simple in few lines. Many want No Code Solutions and hence I am writing the problems in SharePoint Designer/Flow here:
Once you get used to SPD, it might be OK. If you are new, the following tips might help:
1. Always start the workflow by creating workflow variables
Here are some default variables which one might use often.
Server Relative Url - /sites/dev/aa.txt
Workflow Context-Site Url
Current Item - Name(forms) File Name with Extension aa.txt
Cannot assign empty string
Create a Trim function with " " and assign to empty variable
Use Build Dictionary to create Response Headers
In Call to Http Service, requestHeaders are available in the Properties of the Action
I always prefer PowerShell to do automation which is simple in few lines. Many want No Code Solutions and hence I am writing the problems in SharePoint Designer/Flow here:
Once you get used to SPD, it might be OK. If you are new, the following tips might help:
1. Always start the workflow by creating workflow variables
Here are some default variables which one might use often.
Server Relative Url - /sites/dev/aa.txt
Workflow Context-Site Url
Current Item - Name(forms) File Name with Extension aa.txt
Cannot assign empty string
Create a Trim function with " " and assign to empty variable
Use Build Dictionary to create Response Headers
In Call to Http Service, requestHeaders are available in the Properties of the Action

