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

Forum Posts

Content items are not visible in service portal

Hi, Content items are not visible in service portal. There are 2 catalog items and 1 content item under one category but the content item is not visible. Please let me know how to resolve this issue.

aamir1 by Mega Expert
  • 4239 Views
  • 9 replies
  • 1 helpfuls

How can I create an Excel file from a script in Servicenow?

I just need a really simple example of how I can create a .xlsx file not .csv. What is the syntax for this when writing with GlideSysAttachment().write?I've tried: var gsa = new GlideSysAttachment(); gsa.write(fixGr, 'test.xlsx', 'text/xlsx', data); ...

mpsteve137 by Tera Expert
  • 7268 Views
  • 13 replies
  • 2 helpfuls

Run fix script

Hi have code for business rule, How do i run fix script for that:My code is here i want this to be run on  fix script can someone please help me, (function executeRule(current, previous /*null when async*/ ) {var gr = new GlideRecord("sys_user_grmemb...

Mahesh07 by Tera Contributor
  • 855 Views
  • 1 replies
  • 0 helpfuls

Resolved! Identify used UI

Hello!I need to find the way how to show UI action on form only if operator using "UI16" and hide it if "Polaris UI" is used.Any suggestions? Br,Victor

Resolved! Attach user instructions PDF file with email notification

Hi all, I am writing a user creation notification in ServiceNow where a user is created in Azure AD via Service Catalog / REST using integrationHub Microsoft Azure AD Spoke. Now, after creating the user, I need to send an email to the user informing ...

Rahul Singh6 by Tera Contributor
  • 1445 Views
  • 2 replies
  • 1 helpfuls

Resolved! Cancel UI Action

Hello All,Once again our Cancel UI button did not cancel the running workflow.UI Action script:Here's what is happening after clicking cancel button:State = Closed IncompleteStage = Request Cancelledthen the state and stage will change according on t...

Aljhon_0-1664865829625.png Aljhon_1-1664866104487.png Aljhon_2-1664866169916.png
Al-JhonV by Kilo Sage
  • 1837 Views
  • 5 replies
  • 0 helpfuls

Resolved! Unhandled exception in GlideAjax

Hi I'm trying to call a script Include from a Catalog Client Script and I get the unhelpful message of "Unhandled exception in GlideAjax"The script is supposed to parse a list of cmdb_ci_bussiness_app sys_id and check to see if the install type is "e...

jyan3 by Kilo Guru
  • 1674 Views
  • 1 replies
  • 0 helpfuls