html link with field value as variable

tomwnichols67
Tera Contributor

I want to use a field value as part of an HTML link that users can click from the form I'm working on.   What's the best way to do this?

1 ACCEPTED SOLUTION

here is how i would do it..follow below steps..



1)create a new field on your table ..call it anything..type should be URL


find_real_file.png



save it..on the same form there is calculated tab


find_real_file.png



give value as shown in image...so whenever a ticket is created..this field's value will be automatically set like below.


find_real_file.png



Hope this helps



(please mark helpful/like/correct if it helps)


View solution in original post

4 REPLIES 4

Rushit Patel2
Tera Guru

can you provide more info..are you working on service portal or normal UI...also snippet of code you are trying..if you can post here..



(please mark helpful/like/correct if it helps)


Rushit, specifically trying to provide a link to a ticket in another system using the ticket number and the rest of the URL that would take the user to that other system.  



Ticket number would get added to a field and we need that value to be wrapped in the rest of the URL- http://othersystem.com/openticket-[ticketnumber] or something like that.   Ideally, we'd display on the ticket number as a hot link.



Asking on behalf of my team, so not sure what they've tried yet- no luck so far though.


here is how i would do it..follow below steps..



1)create a new field on your table ..call it anything..type should be URL


find_real_file.png



save it..on the same form there is calculated tab


find_real_file.png



give value as shown in image...so whenever a ticket is created..this field's value will be automatically set like below.


find_real_file.png



Hope this helps



(please mark helpful/like/correct if it helps)


thanks, Rushit!   Just what we need.