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

How to show related Item link on task form

Hello everyone

I have customized task form using O 365 Nintex forms. On the task form, I want to show item link. I have seen some blogs where it was suggested to use a button and use Javascript function using window.open and in built Item link function. Unfortunately the Item link function is not working. Item link function seems to be opening editifs page but I get following error:

/Item/editifs.aspx?ID=

 

Does anyone get similar error while using Item link? Also, I noticed that Related Items do not show up in Nintex task form. How can I show link to Item on task form which works.

Any help is greatly appreciated.

Thanks

Reply
10 Replies
chaitra_b_c
Nintex Newbie

Re: How to show related Item link on task form

Try the below steps:

  1. Create a workflow variable and save Current Item Url 
  2. Replace DispForm with EditForm text in the above saved 'Replace Substring with String' and save the result in a workflow variable
  3. In the Task Form use the Custom Javascript to set the above variable value to the hyperlink to access the Item

Reply
kiran_bellala
Nintex Newbie

Re: How to show related Item link on task form

Thank you ‌ This is a good workaround. But the in built function "Item URL" is supposed to give the url of the item. The same function works in emails. Why does it not work on Task forms? Something seems incorrect with the way the way function outputs value. ‌ team any idea why Item Url does not work on task form?

Reply
Highlighted
chaitra_b_c
Nintex Newbie

Re: How to show related Item link on task form

Agree with Kiran Bellala‌. 

There are options provided to insert reference on the text written area (refer 1st and 2nd image) but these options are disabled when an Insert HyperLink option is used (refer 3rd image).

These were not the case in On-Prem version of Nintex. 

Reply
seandezarn
Nintex Newbie

Re: How to show related Item link on task form

I agree with both of you. Stumbled on this post while trying to do the exact same thing on my task form. I'm was a little surprised it wouldn't allow me to us references in the hyperlink web address field. directly inserting the Current Item URL will work to provide the address, but it doesn't hyperlink. Did either ‌ or ‌ figure out a simple way to do this without the above workaround? Bump on a response from the ‌ team.

Reply
chaitra_b_c
Nintex Newbie

Re: How to show related Item link on task form

Tough luck on this!!

‌ please have a look.

0 Kudos
Reply
Automation Master
Automation Master

Re: How to show related Item link on task form

You can as well use calculated field, with a formula: '<a href="'+ Item URL +'" target="_blank">click here</a>'.

This will convert your formula into a working hyperlink. Easy and fast.

And it works both in Standard and RWD forms

Regards,

Tomasz

Reply
nprestby
Nintex Newbie

Re: How to show related Item link on task form

Just added this solution to my task forms and it's working like a charm! Thanks Tomasz - easy and fast!

Reply
markd
Nintex Newbie

Re: How to show related Item link on task form

Nicole

I replied to Tomasz' post, but also thought I might ask if you could take a look at my reply here., I'm obviously missing something as I cannot get it to work.  Here is my Calc Valu setting - are you able to see where my mistake is?

Also, can this solution be tested in the task form Preview?

 

Thank you

 

Mark

Reply
markd
Nintex Newbie

Re: How to show related Item link on task form

Tomasz

Thank you for providing this solution.  This will be a great help.  However, I'm obviously missing something as I cannot get it to work.  Here is my Calc Valu setting - are you able to see where my mistake is?

Also, can this solution be tested in the task form Preview?

Thank you

Mark

Reply