Forum Discussion
Multiple lines of text Custom Field in Project Online
Hi all,
I am trying to use a Custom Field based on Multiple lines of text to store a link. The problem is that these Multiple lines CFs are adding extra html characters:
<p>​https://xxx.sharepoint.com/:b:/r/sites/xxx/Testing%20Multiline%20Document%20Links/Project%20Documents/Testing%20Multiline%20Document%20Links%20-%20Project%20Document.pdf?csf=1&web=1&e=aSR5xG<br/></p>
When we try to use this link in Power Automate the link is broken.
Is there a known JS code that can clean up these html chars and store the text value in the Custom Field?
Thank you
Ximo can you not use the _api/ProjectData API to get the multiline field as this API as the HTML stripped our already?
Paul
- XimoBrass Contributor
Hi Paul_Mather, totally agree, the problem with the simple text field is that the URL length is trimmed when the project name is long, because of that we wanted to check with Multiple lines of text custom field.
On top of that, we are using the modern SharePoint sites and the Copy Link feature does not shorten the URL either...- John-projectSilver ContributorXimo,
I'm not sure of the availability of these fields in Project Online but have you tried the Hyperlink, Hyperlink Address, Hyperlink Href or Hyperlink SubAddress fields? They are specifically designed for URL addresses.
John