Skip to main content
Nintex Community Menu Bar
Solved

Add hyperlink to task form that links to current item?

  • January 25, 2019
  • 6 replies
  • 278 views
  • Translate All

rhia
Nintex Partner
Forum|alt.badge.img+15

Hey folks!
 

Seems like a simple question, but, I can't for the life of me figure out how to get a hyperlink - on a form - to use an item property. We basically want a "click here" to open the item that the task is related to, but, nope. Can't use item properties to form a link apparently.

 

Anyone got a way around this?

 

Cheers,

 

Rhia

Best answer by bstori

full workflow

build string

open your task form, add a rich text control to your task from. I double clicked to get into the properties of the rich text field. you can then add your workflow var to the body of your rich text control

rich text control

View original

6 replies

MegaJerk
Forum|alt.badge.img+14
  • Scholar
  • January 25, 2019

I usually use the following line of text in the Source of a Rich Text field: 

<a href="{Common:ContextItemUrl}" target="_blank">{Common:ContextItemDisplayName}</a>‍


As Shown:


What you'll see after you hit OK: 


What it looks like in the editor: 


What it looks like on the Task Form proper: 



For whatever reason the 'Insert Hyperlink' in that dialog has never worked and does nothing when I click it. This was a quick and dirty way around that though. 


Translate

rhia
Nintex Partner
Forum|alt.badge.img+15
  • Author
  • Nintex Partner
  • January 25, 2019

Hey N M‌ - it looks like you're in On Prem - not quite the same in O365!
Any reference text I try to add turns into this weird ... mush. 

Translate

Forum|alt.badge.img+7
  • Nintex Partner
  • Answer
  • January 26, 2019

full workflow

build string

open your task form, add a rich text control to your task from. I double clicked to get into the properties of the rich text field. you can then add your workflow var to the body of your rich text control

rich text control

Translate

Forum|alt.badge.img+2
  • February 28, 2020
Hi, I am just struggling to enable rich text or as per your instructions to add a rich text control on to the task form? can you please explain bit further more on how to do this?
Translate

Forum|alt.badge.img+2

Never mind got it resolved. The URL need to be the full URL not a relative one when you construct and add them to a email or task body. Relative will still work on a formatted task form if you have a text box enabled to be rich text.

Translate

Forum|alt.badge.img+3
how did you get it to work?
please advise?
Translate