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

Site Workflow - Getting list Item URL

Jump to solution

I have setup a site workflow that sends an email for notifications when a list item is due.  I'm trying to include the list item URL as part of the email, but I'm having trouble. In the site workflow, I insert the "Encoded Absolute URL", but this didn't produce the desired results.  it adds a number to the end of the URL that when clicked downloads an empty file onto the desktop.  For example, normally the list item URL should be:

https://team.local.website/sites/somesubsite/Lists/some%20Tracking%20Log/DispForm.aspx?ID=105

However when using the "Encoded Absolute URL" I get

https://team.local.website/sites/somesubsite/Lists/some%20Tracking%20Log/105_.000

What am I doing wrong?  I'm using Nintex WorkFlow 2013 with SharePoint 2013.

Labels: (2)
0 Kudos
Reply
11 Replies
wilkies0106aw
Nintex Newbie

Re: Site Workflow - Getting list Item URL

Jump to solution

Try using a build string action and the Item ID as a variable i.e.

Site URL/lists/List Name/DispForm.aspx?id=ID

Reply
jhong88
Nintex Newbie

Re: Site Workflow - Getting list Item URL

Jump to solution

Thanks for the reply Andrew.  I had thought about that, but I don't know how to parse out the 105 from /105_.000. 

0 Kudos
Reply
paul_crawford
Nintex Newbie

Re: Site Workflow - Getting list Item URL

Jump to solution

Hi J Hong

You shouldn't need to, using Andrew Wilkie‌'s approach the Item ID should just be 105

Reply
emha
Nintex Newbie

Re: Site Workflow - Getting list Item URL

Jump to solution

you are not doing anything wrong. this is how URL is internally stored.

you can get rid of numeric tail with following regular expression

_\.\d+$

Reply
jhong88
Nintex Newbie

Re: Site Workflow - Getting list Item URL

Jump to solution

Thank you Andrew and Paul, not sure why I was thinking I had to parse it.  the ID worked great. 

0 Kudos
Reply
kjhawkins
Nintex Newbie

Re: Site Workflow - Getting list Item URL

Jump to solution

Where do you find the "Encoded Absolute URL"?

Ken

0 Kudos
Reply
Highlighted
kjhawkins
Nintex Newbie

Re: Site Workflow - Getting list Item URL

Jump to solution

Andrew,

I found that this format does not work:  Site URL/lists/List Name/DispForm.aspx?id=ID  (returns 404 error)

But this does:  Site URL/List Name/Forms/DispForm.aspx?id=ID

I tried the first version and beat my head against the wall trying to figure out why it didn't work.  I then stumbled upon the second format which worked as expected.

Any idea why the first format failed?  We're running SP 2016 Nintex 2016 (Forms & Workflow) on-prem.

Regards,

Ken

0 Kudos
Reply
cassymfreeman
Nintex Newbie

Re: Site Workflow - Getting list Item URL

Jump to solution

does your list name have a space in it?

0 Kudos
Reply
kjhawkins
Nintex Newbie

Re: Site Workflow - Getting list Item URL

Jump to solution

No.  Both the internal and display are the same name.

Ken

Reply