Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

how to use String.Repalce inside the designer workflow's string builder dialog

$
0
0

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:-

enter image description here

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:-

enter image description here

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 ?

Thanks

now i tried defining the following inside the String builder,,to use String Repalce :-enter image description here

but when i save the value ,, the workflow designer truncate the values i entered after the .Recplace(, as follow:-

enter image description here


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>