Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Add Links on record producer form

lomouhamadou
Kilo Guru

Hi all,

I need to add a few links on a record producer form so user can click and get another page open.

Record producer available from the new self-service portal helsinki patch 3

Is it any way to do this ?

Ps: keep in mind that UI page, UI macro are not handled by the self-service portal

Thanks in advance,

Lô Mouhamadou

8 REPLIES 8

zica
Giga Guru

Could you please provide me the script you made to display the message ?


I did not have a script yet. I have my record producer and I want to create a variable on the form where I show the links.


CharlesR1
Kilo Guru

Hi Lô,



I don't know if this is still a requirement for you, but we had the same requirement on our Equipment selection Record Producer for new employees. If you need a link on the Record Producer that opens an external page, then just create a UI Macro as follows (including '_blank' in the HTML link if you want to open the new window in a new page):



Name: link_to_computer_policy


Script:



<?xml version="1.0" encoding="utf-8" ?>


<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">


  <a href="https://mylink.html" target="_blank">Computer Policy</a>


</j:jelly>



Then add a new variable on the record producer with the type of 'Macro' - under the Type Specifications select the new 'link_to_computer_policy' macro.



This will then provide the following link for you:



find_real_file.png



Hope that helps,



Charles


Inactive_Us2231
Giga Expert

I have a similar requirement. How to add a url as a variable on the record producer for service portal??? It is achievable in earlier versions using macro n ui pages.