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! Hide unpublished kb articles on the service portal for users

The business has asked if it is possible to hide unpublished knowledge articles on the Service Portal for users but not affect the back end client search. The requirement is so that users have the same experience as customers do when using the portal...

find_real_file.png
Phil4 by Mega Contributor
  • 2919 Views
  • 9 replies
  • 2 helpfuls

Resolved! Creating a Database View

I'm looking to create reports against our Survey table (ast_assessment_instance). When a Case gets closed, we send out a survey. We have a Related List for the Assessment/Survey table on the Case. I want to find out how many surveys we are sending/cr...

MStritt by Tera Guru
  • 1092 Views
  • 3 replies
  • 0 helpfuls

Resolved! Count distinct of a date field (sys_created_on)

Hi guys, I'm creating a script to make a distinct count of the field created, I tried the script below but it's not working because field created contains date, hour, minute and only need the date, for example: 30/03/2023 Someone could help me with t...

MR Carvalho by Tera Contributor
  • 755 Views
  • 1 replies
  • 1 helpfuls

Portal Widget Not displaying Catalog Item

I am having issues with the portal widget widget-sc-cat-item-v2. I have cloned the widget added it to a portal page yet I cannot get it to display anything. on the portal I get the following errors:the widget is a straight copy of widget-sc-cat-item-...

Portal errors.png Widget editing.png Widget Instance Config.png Widget.png
Brandon P1 by Mega Guru
  • 899 Views
  • 3 replies
  • 0 helpfuls

Resolved! UI policy script not working

Hi all,  I have a requirement to make Change Number field on problem record visible and mandatory when Root cause code= anything and root cause subcode is Result of change and result of change subcode is not None. Change Number field should be non ma...

Rutuja K by Giga Guru
  • 844 Views
  • 3 replies
  • 0 helpfuls

How to make an Attachment mandatory in a record producer?

Hello! I need to know how to make an Attachment mandatory in a record producer. I have to make it mandatory when one of the fields of the form has a certain value, that is, it has conditions. I know that in a catalog item it is easy because there is ...

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

Resolved! If statement

I have requirements where team A wants 250 maxlength for notes while all other teams notes will be 100.. I am creating a new variable in the client controller and I want to write a statement that meets the above condition. I assume it would be:c.maxL...

asher14 by Tera Contributor
  • 1426 Views
  • 4 replies
  • 2 helpfuls

UI Page changes in GlideModal

Hello Everyone, I have a UI Page that I created and tested using the "Try It" button, and everything seemed to be working as expected. However, when I call the UI Page from a UI Action and have it open it in a GlideModal, it behaves completely differ...

Andrew158 by Giga Guru
  • 840 Views
  • 2 replies
  • 0 helpfuls

Resolved! ServiceNow Delegation

Hi everyone, question regarding servicenow delegation. In case the delegated person will respond/otherwise manage a ticket delegated to them, this will be done under their name right?

oww15 by Tera Contributor
  • 922 Views
  • 1 replies
  • 2 helpfuls

Resolved! Re-evaluate UI action condition after action processes

Hi everyone, I've got a form that requires approval from specific users in certain states. If the issue is in state X and substate Y, and the user = approver1, they should see Approve/Reject/Cancel buttons.  Each time an approver approves or rejects ...

Josh Bowdish by Tera Contributor
  • 1427 Views
  • 6 replies
  • 1 helpfuls

Embedding StatusPage.io into Service Portal

Can anyone provide some insight on how to embed a StatusPage from StatusPage.io into a Service Portal widget? I saw that StatusPage.io (see links below) has an API embed feature, but my problem is I do not know how to embed via API into ServiceNow.  ...

JamesT-1 by Tera Contributor
  • 2090 Views
  • 2 replies
  • 0 helpfuls

Resolved! UI action to add user to the group

I tried creating a UI action to add the user to the group but the button won't do anything on click. I created the UI action on the sys_user table and added the below script but nothing is happening. Nothing in the logs either. Any suggestions?   var...

GB14 by Kilo Patron
  • 944 Views
  • 7 replies
  • 3 helpfuls