Skip to main content
Nintex Community Menu Bar
Solved

How to remove spaces in item url?

  • Dec 14, 2015 10:56 AM UTC
  • 10 replies
  • 255 views
  • Translate All

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.

View original

10 replies

Forum|alt.badge.img+17
  • Dec 14, 2015 6:19 PM UTC

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

Translate

Forum|alt.badge.img+4
  • Author
  • Dec 15, 2015 7:44 AM UTC

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?

Translate

Forum|alt.badge.img+17
  • Dec 15, 2015 5:00 PM UTC

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.

Translate

Forum|alt.badge.img+4
  • Author
  • Dec 16, 2015 8:15 AM UTC

workflow-cutting-hyperlink-in-email.PNG

Is this what you wanted to see? -sari-

Translate

Forum|alt.badge.img+17
  • Dec 16, 2015 3:38 PM UTC

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.

Translate

Forum|alt.badge.img+4
  • Author
  • Jan 14, 2016 7:24 AM UTC

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

Translate

Forum|alt.badge.img+4
  • Author
  • Answer
  • Jan 14, 2016 12:55 PM UTC

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.

Translate

Forum|alt.badge.img+6

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

Translate

Forum|alt.badge.img+4
  • Author
  • Nov 28, 2016 12:47 PM UTC

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

Translate

Forum|alt.badge.img+6

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

Translate