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.

How Can we change link text to "click here" in notifications.

pavan_yakkala
Kilo Contributor

Hello,

I have included CMS link in Notification which redirects me to a public page.

Below is the line included in my Notification Message.

${CMS_URI+armspublic/UserCreation2nSignupPublicPage}

where "armspublic" is my site name and "UserCreation2nSignupPublicPage"

It is displaying as   LINK   in my Email Content.

I have a requirement to change this text "LINK"   to "Click here".

How can we change this?

Can any one help me on this.

Thanks,

Pavan.

1 ACCEPTED SOLUTION

var instanceURL = gs.getProperty("glide.servlet.uri");



  instanceURL = instanceURL + "armspublic/";


  var ui_pagename = 'Your ui page name';


  var cmspage = encodeURIComponent(ui_pagename);


  var url = instanceURL + cmspage+'.do?sysparm_document_key=' +u_user_information+'sys_id='+current.sys_id;




Regards,


Harish.


View solution in original post

11 REPLIES 11

Hello Harish,



For more Information, My link should be as below



https://baservicesdev.service-now.com/armspublic/UserCreation2nSignupPublicPage.do?sysparm_document_...




Thanks,


Pavan


did you see my comment? add your url parameters to that