The CreatorCon Call for Content is officially open! Get started here.

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,


Thanks for your reply,



Can we change this to generate CMS   URL as my Link has to redirect to a public CMS site(armspublic)/ page.



is there any method to generate URL for CMS page link like gs.generateURL(strTableName, strSysID) method?


or we have to build the URL manually?



For more information my link should be as below.


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



Can you please help me on this



Thanks,


Pavan.


check this ...



gs.getProperty('glide.servlet.uri')+'/armspublic/UserCreation2nSignupPublicPage.do?'


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.


Hello Harish,



Thanks for your guidance.



have done some changes in URL. its working fine now. Thanks



Regards,


Pavan.


Great Pavan . Your welcome.



Regards,


Harish.