I am building a workflow inside SharePoint designer 2013. And inside the workflow I define to send an email and the email will contain the current item url, as follow:-
Currently the item url inside the email will be using the actual server name as follow "http://sharepointserver001/...
", but I need to a way to show the alternative access mapping url, which is a more user friendly "www.ourcompanyname.intra/....
". Now inside the central admin I define an alternative access mapping as follow:-
So can anyone advice if I can do any of the following for the “current item url”:-
- To force the current item url to use the alternative access mapping url, instead of the actual servername ?
- Explicitly replace the servername with the alternative access mapping url, by doing a String.Replace inside the workflow designer ?
now i tried defining the following inside the String builder,,to use String Replace :-
but when i save the value , the workflow designer truncate the values i entered after the .Replace
(, as follow:-