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.

Developer forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

Resolved! How to hide a submenu in a Portal based on a user condition

Hello, I need to  hide a submenu in a Portal for users who doesn't meet some conditions.I wrote a condition in my Menu item, but it doesn't work: "gs.getUser().getRecord().u_retail_staff == true || gs.getUser().getRecord().u_target_si == 100"  Does a...

Elena7_0-1685028119890.png
Elena7 by Tera Expert
  • 569 Views
  • 2 replies
  • 1 helpfuls

URL is not working in Notifications

Hi All, I have created a notification in dev on 1 table with some condition and in "What it will contain" tab provided the link of Prod Service Portal Form.Issue is, when I am opening that link from dev it does not load the full form. It loads only w...

Resolved! How to solve the following erro

Hello everyoneI tried to modify the tab of the todolist, and modified a scriptincluede (Name: todoPageUtils) for this purpose. Now as soon as the employee center is refreshed, the error message below appears. Is there any way to solve it?Thanks in ad...

yuchenzhang_0-1685434327059.png

Resolved! Decision table call via script is throwing exception error

Hi Team,I have created a decision table and want to call it via script include and client script. Script belowScript:var lang = this.getParameter('sysparm_lang').toString(); //passed from client script//var lang= 'Java';var dt = new sn_dt.DecisionTab...

ShAn21 by Tera Guru
  • 2344 Views
  • 1 replies
  • 6 helpfuls

Java Packages

I have created a UI Action  which needs to update and refresh history set.    //Refresh the history set   if(typeof GlideHistorySet != 'undefined')      GlideHistorySet(current.set.id.getRefRecord()).refresh();   else      Packages.com.glide.audit.Hi...

Aditi6 by Tera Contributor
  • 577 Views
  • 2 replies
  • 0 helpfuls

How to set a field to mandatory in a UI page?

Hi everyone, so I have this UI page for an escalate button. It is 4 questions in there but about 3 are mandatory. I am not sure how to set them to mandatory. Please help I have written the code below for the UI page and the UI action. If I check the ...

Scroll bar in widget

Hi All, We had a requirement to add a text box on the portal to add the content, for that we are using the Rich text of content publishing, now we want to add a scroll bar or want make the widget flexible so that rich text box will be resized to the ...

Community Alums by Community Alums  
  • 1222 Views
  • 2 replies
  • 0 helpfuls