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

Lo,



Which kind of links do you want to add within the record producer.


For instance, if you want to redirect to home, then add :


  1. producer.redirect = "home.do";   or
  2. producer.redirect = "abc/catalog_page.do";  



For other link, here is a sample of the script :


  1. //Create the html contents of the information message  
  2. var link = '<a href="incident.do?sys_id=' + current.sys_id + '" class="breadcrumb" >' + current.number + '</a>';  
  3. var message = 'Incident ' + link + ' has been created.   ';  
  4. message += 'Thank you for your submission.';  
  5. //Add the information message  
  6. gs.addInfoMessage(message);

Hi AKb Zic,




On the form if user select a specific value, I have to show him 7 links for him to visit and get docs.


But on the form itself I don't think there is a way to display hyperlink (UI page and Macro excluded)




Regs,



Lô Mouhamadou


zica
Giga Guru

Lo,



The script I provided will a hyperlink. If user clicks on it, it will redirect him to the new page.


Here is also an article I just found which explain how to set a link (hyperlink) up : Adding a Redirect and Info Message to a Record Producer - ServiceNow Guru



Let me know if that works out


Thanks for the link.


Please check what I am trying to do here below on the printscreen



find_real_file.png