Skip to main content
Nintex Community Menu Bar
Solved

How to remove spaces in item url?

  • December 14, 2015
  • 10 replies
  • 211 views

Forum|alt.badge.img+4

My client is using O365 Nintex workflow and due to spaces in item url, items url isn't all hyperlink. This is inconvenient to end users as the hyperlinks isn't working.

I found solution to remove spaces in url with regular experssion, but how to do that in O365?

Regular-expression.PNG

Please help!

Best answer by sarisime

Found a solution: I made a link with Current item Url and it works now perfectly.

It seems that url braking in notification is quite common.

10 replies

Forum|alt.badge.img+17
  • 909 replies
  • December 14, 2015

Where is your URL not working at?  Are you using it inside a send email action? 


Forum|alt.badge.img+4
  • Author
  • 18 replies
  • December 15, 2015

URL is working if it would only be a full lenght hyperlink. It works like this in email https://company.sharepoint.com/list/Ryhman%20toimenpiteet%20/item%20name.aspx  --- in this example underlining is showing how far hyperlink is. So if link would work but it isn't clickable. What can cause this? Those %20 or something else?


Forum|alt.badge.img+17
  • 909 replies
  • December 15, 2015

Yes the %20 doesn't help.  When formatting your links, you can grab the URL and replace it inside the body of the email so that should help.  If you are pulling the link in natively from the workflow, then it shouldn't cut it off since the entire variable would be considered the hyperlink.

Can you share a screenshot of the link in question within the designer.  That way I can best guide you where its applicable to what you are trying to solve.


Forum|alt.badge.img+4
  • Author
  • 18 replies
  • December 16, 2015

workflow-cutting-hyperlink-in-email.PNG

Is this what you wanted to see? -sari-


Forum|alt.badge.img+17
  • 909 replies
  • December 16, 2015

Yes,

Thanks for sharing that. Based on the screenshot, your URL shouldn't break.  I have also seen where people have put <{Workflow Context: Current item URL}> to ensure it stays whole.  So try using the less than and greater than to see if that helps prevent the breaks.


Forum|alt.badge.img+4
  • Author
  • 18 replies
  • January 14, 2016

Hi Eric, those <> didn't work, URL still brokes


Forum|alt.badge.img+4
  • Author
  • 18 replies
  • Answer
  • January 14, 2016

Found a solution: I made a link with Current item Url and it works now perfectly.

It seems that url braking in notification is quite common.


Forum|alt.badge.img+6
  • 49 replies
  • November 27, 2016

Hello Sari,

Just for my understanding I have an issue with using the - Current Item URL- option in Nintex email and it breaks as follows:

example below:

https://[mycompanydomain]/sites/sitename_etc/Lists/Factory Documents/DispForm.aspx?ID=123

How can I resolve this ?

Your help is appreciated

Jaap


Forum|alt.badge.img+4
  • Author
  • 18 replies
  • November 28, 2016

Hi Jaap, I inserted a link from editor ribbon and adding Current Item Url and with that it url did not break.


Forum|alt.badge.img+6
  • 49 replies
  • November 28, 2016

Thanks Sari that's helpful, a simple thing easily to oversee.