Try using a build string action and the Item ID as a variable i.e.
Site URL/lists/List Name/DispForm.aspx?id=ID
Thanks for the reply Andrew. I had thought about that, but I don't know how to parse out the 105 from /105_.000.
Hi J Hong
You shouldn't need to, using Andrew Wilkie's approach the Item ID should just be 105
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+$
Thank you Andrew and Paul, not sure why I was thinking I had to parse it. the ID worked great.
Where do you find the "Encoded Absolute URL"?
Ken
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
does your list name have a space in it?
No. Both the internal and display are the same name.
Ken
Does it look like it should when it changes these variables to real values?
Site URL/lists/List Name/DispForm.aspx?id=ID
Both URL formats display the same ListName.
Ken
The URL you get from that regex isn't quite complete ... /lists/ListName/123
Rather use the following to pull out the id and stick it after dispform.aspx?id=
pattern:
(d+)_.d+$
replacement:
dispform.aspx?id=$1
This will depend if you have a list or a document library, libraries use /forms, lists don't.