I'd like to know how to set with a WF sharepoint 2010 and hyperlink column. When i set a value, it's only for url and i can't set description.
Do you have a sample or tutorial to do this?
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.
Sign up to join this communityI'd like to know how to set with a WF sharepoint 2010 and hyperlink column. When i set a value, it's only for url and i can't set description.
Do you have a sample or tutorial to do this?
To do this you need to use the build a dynamic string action. In it, you construct your url, description value information. Example, http://google.com, Google. The comma and space are important.
Then you use this variable in your update action to set the value. Upon completion of the workflow, you should see it set properly.
Dynamic String
in the list of actions that SPD can do for Sharepoint Online (2013/2016).
– bgmCoder
Mar 8 '17 at 17:06
Great idea, but I had to do a bit more trickery.
Background, I’m writing a custom workflow in SPD against a SP list located in SharePoint Online as part of MS' Office 365 solution.
First, create a column in your list that is type Hyperlink. Select URL as the sub-type. Second, in SPD, do these steps:
https://your_SharePoint_domain/...
Note: this string can include any suffix like /editform.aspx?ID=1&DefaultView=Admin.
It can also be a workflow variable with all of that in it. Just make sure it is a valid URL. Add a comma and space and your display text. As said from the answer above, the space is important. If you used a workflow variable, the string might look like Variable: [%yourWorkflowVar %]
, Text to Display. If just a string, it might look like www.google.com, Google.That's it.
…The input source is not correctly formatted. —> System.Xml.XmlException: Encountered unexpected character ‘h’. at System.Xml.XmlExceptionHelper.ThrowXmlException(XmlDictionaryReader reader, XmlException exception)…
Any suggestions/ideas on that?
– evictorov
Feb 20 '19 at 15:29