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.

Annotation With HTML Link In service Portal

upendhar reddy
Kilo Explorer

Hello All,

By Configuring Form Layout I have added an annotation and It's working fine in Native Platform.. But the same Is not working in Service Portal(as shown in attached screenshot below).. I have a requirement to add annotation with HTML Link in Service Portal.. I have tried In service now community but didn't find any answer

Can some one Help me regarding this issue

1 ACCEPTED SOLUTION

Conner M
Tera Guru

If you are in the portal you could also just make your own custom annotation. A little HTML and you'd be all set.

<div class="alert alert-primary" role="alert">
  To view the Request Information, please <a href="#" class="alert-link">click here</a>.
</div>

Just using some bootstrap alerts and some bootstrap calls, you can just put your link in the a tag and be all set.

View solution in original post

12 REPLIES 12

If you can, let me know how else I can help you. If that did help please mark my answer as correct thanks!

SanjivMeher
Mega Patron
Mega Patron

Annotation doesn't work on Service Portal. 

I would instead add an onLoad script with below script

 

g_form.addInfoMessage('<Your Message>');


Please mark this response as correct or helpful if it assisted you with your question.

Hello sanjiv, Thanks for your reply

If I create a onLoad script with above script, will it be like a static message in Service Portal or will it be like a alert pop up and disappears within few seconds?

I am Looking for something like a static message in Service Portal with an HTML Link in it

 

Thanks and Regards,

Upendhar