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

Forum Posts

Resolved! Search Widget: Scoped Application

Hi All,   I am building Service Portal in the scoped application and cloned typeahead search widget along with all dependency scripts. However, I am facing the below issue. Server JavaScript error Cannot find function getSearchSources in object com.g...

Nikita28 by Mega Guru
  • 2615 Views
  • 12 replies
  • 3 helpfuls

Using UI action to update multiple child records

Hello everyone, Thank you in advance for your interest and assistance! I am trying to create a UI action that will live on the project record that if clicked will update a custom field on it's associated cost plans. I am combing through existing UI a...

chrisn_ by Mega Guru
  • 1973 Views
  • 14 replies
  • 8 helpfuls

Resolved! How to get a widget (button) to set mandatory fields on a catalog item to not mandatory and submit "Draft" state of the form in Service Portal?

Hi all, I've got a record producer I'm fixing to work in Service Portal.  The form has a number of mandatory fields.  I've built a widget to put a "Save as Draft" button on the form.  When the user clicks the button, they are prompted with an alert. ...

Resolved! Calling Script Includes variables from other function

How can Script Includes variables be called by other functions? I have a Script Includes with several functions. Many of the data sources share a similar data source. Many of the functions generate some of the same variables. To avoid duplicating the...

MGanon by Tera Guru
  • 6459 Views
  • 12 replies
  • 3 helpfuls

Data certification on group members

Hi All, I would like to implement data certifications on sys_user_grmember table for the group manager to certify if the group member is still active or should be removed from the group.  At the moment when I select the check box next to the user, th...

find_real_file.png find_real_file.png find_real_file.png
LK11 by Mega Expert
  • 2721 Views
  • 6 replies
  • 2 helpfuls

Resolved! Field attributes on UI Page

I created a UI Page that asks two CIs. In a regular record I would give them the attributesref_auto_completer=AJAXReferenceChoicetree_picker=trueNow, I want to do the same on a UI Page. I have looked a bit for this, and cannot get any further than tw...

Resolved! How to set Company in sys_user with background script

Hi,   i try this script : var gr = new GlideRecord('sys_user'); var count = 0; gr.addQuery('company', '=', ''); gr.query(); while(gr.next()) { gr.setWorkflow(false); gr.company= 'CD68 - Département du Haut-Rhin'; gr.update(); ...

ckjbeos by Mega Expert
  • 1565 Views
  • 6 replies
  • 1 helpfuls

Resolved! If a ticket is on hold for some reason and user responds on e-mail, ticket status changes from “On hold” to “In Progress”. How to restrict this?

Hi Developers, If a ticket is on hold for some reason and user responds on e-mail, ticket status changes from “On hold” to “In Progress”. Where this functioanlities has been mentioned in Service Request or incident? And i want to restrict this and wa...

Resolved! How to Multiply currency field with integer value?

Hi, I have three fields Location (u_location)Ex-showroom Price(u_price_over_location)Added GST(u_added_gst) I have written onChange Client script, location is the field I have selected as onChange Field. Based on the location, "added GST" field shoul...

Resolved! Lookup Select Box not obeying ORDERBY in Reference Qual

Hi, I have a Catalog Item with a couple of Variables on it, which the second needs to be related to the first. This is working but I cannot get the Order clause to work on the second. Both variables are referencing the same table. Table: Custom table...