3

I am working on a SharePoint 2010 workflow in SharePoint Designer. I'd like to send an email where the body contains a custom URL that would go somewhere outside SharePoint.

I'd like to include some parameters such as "Title" from my list, but I recognize that people may enter a Title that includes special characters such as "&" or "?" and I don't want the value to "break" the URL.

In code elsewhere I would URLEncode that string holding the Title, to be sure it wouldn't break my URL. But I can't find a way to do this in the workflow.

I'd also be willing to do a find/replace on some common ones, to manually remove the "&", but I don't see a string replace either.

Is this functionality not available outside of building something custom? Or do I just not see it?

3
  • Did you ever figure this out? Commented Apr 15, 2015 at 17:17
  • In Send Email action... In body section you can add hyperlinks. Maybe it will work for you. Commented Sep 29, 2018 at 9:20
  • SP 2013 workflow has string operation actions. Not sure about SP 2010. Commented Sep 29, 2018 at 9:21

1 Answer 1

0

If you are trying to encode a string to build a URL, then you can use the BuildUri activity and set all your queries in the Query field.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.