Adding a url link in the UI messages to use it on service portal.

Riya Motavar
Kilo Guru

Hello,

Is there a possibility to add a url clickable link in the system ui -> messages and use that to show on the service portal in a widget.

Thanks,

 

1 ACCEPTED SOLUTION

Sample HTML Template

 

<div>
<a ng-href={{data.link}}>Here</a>
</div>

Sample Server Script

(function() {
  data.link = gs.getMessage('incident_portal');
})

Sample Message 

find_real_file.png

 

Hope this helps!

View solution in original post

5 REPLIES 5

rad2
Mega Sage

You can add the url text in the system ui -> messages and later call in the Server Script of the Widget with  - gs.getMessage('messageKey')

You might have to add the clickable link in HTML section of the Widget.

Thank you rad for your response, can you provide some details on how to add a link in html section of the widget.do we need to add it in html template?

Sample HTML Template

 

<div>
<a ng-href={{data.link}}>Here</a>
</div>

Sample Server Script

(function() {
  data.link = gs.getMessage('incident_portal');
})

Sample Message 

find_real_file.png

 

Hope this helps!

Thank you Rad for your response i was able to add a link.