Where is vaSystem.sendTopicPickerControl deifned?

DanielWan
Tera Contributor

Hello, I am new to servicenow. I want to add a hyperlink into below method:

 

 

vaSystem.sendTopicPickerControl(greetingMessage);

 

 

but the hyerlink always display as hardcode

DanielWan_0-1692328535089.png

 

should I modify the method sendTopicPickerControl ? Where is vaSystem.sendTopicPickerControl deifned?

4 REPLIES 4

Community Alums
Not applicable

Hi @DanielWan ,

If you are looking to change the text of "show me everything", create a UI message with the key value and add your message like below,

SandeepDutta_0-1692331558268.png

 

 

If you are looking to replace the before text of "show me everything", you can create a UI message and call it. 

 var greetingMessage = gs.getMessage('ShowMe  nonsystem')
    vaSystem.sendTopicPickerControl(greetingMessage);

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Unfortunately that's not possible when doing so in the vaSystem.sendTopicPickerControl

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Hi,  @Mark Roethof ,

 

Thanks for your response.

 

is there any way to hide the message?  If I clear the greeting message, there still have an undefined message generated:

DanielWan_0-1692361989961.pngDanielWan_1-1692362047335.png

 

No you can't hide that, it's just how the vaSystem.sendTopicPickerControl works.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn