cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Nintex Newbie

Current Item URL link in DocGen gives 404 error

Jump to solution

I'm currently having an issue with getting a link back to the current item in a library. I have a docgen action that creates a PDF. In the PDF I want a link to the current item, but when I use the workflow context current item URL I get redirected to a 404 error page instead of the item. I'm not sure what I'm missing here, but I'm sure it must be something simple. Help?

Labels: (2)
0 Kudos
Reply
3 Replies
Highlighted
Nintex Newbie

Re: Current Item URL link in DocGen gives 404 error

Jump to solution

When you compare the URL that is populated in the PDF with the actual URL to that item, what is the difference? Maybe a space issue (needs to be encoded)?

Possibly try putting the context item url into a variable and using that in the PDF to see if you get the same behaviour

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Current Item URL link in DocGen gives 404 error

Jump to solution

I tried putting the URL into a variable and using that in the PDF, but it resulted in the same behavior. When I copy the link in the PDF into the address bar, it works so it doesn't appear to be a space issue.

0 Kudos
Reply
Nintex Newbie

Re: Current Item URL link in DocGen gives 404 error

Jump to solution

It turns out that there was a space in the hyperlink. Using a regular expression to change the space to %20 did the trick.

View solution in original post

0 Kudos
Reply