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

Forum Posts

Resolved! XML File Import - Data Source Issue in defining the XPath

Hello Experts, Could you please check this. I had difficulties defining the Xpath in the data source to import the xml file. I need 3 fields to be created in the source table (asset_tag, dv_model_category, lastLogonAD)   This is the Sample XML file- ...

avinashrvn by Tera Contributor
  • 4718 Views
  • 6 replies
  • 2 helpfuls

Resolved! Only 1 checkbox can be checked

I have this client script that should only allow 1 checkbox to be selected, but when I test it still lets me select I agree or I disagree.  Can someone help me out?

find_real_file.png
John Vo1 by Tera Guru
  • 4102 Views
  • 17 replies
  • 1 helpfuls

get list of approvals from RITM

Hi everyone, I want to get the list of approvals related to RITM.Please help me with script. var appr=[];var gr=new GlideRecord("sysapproval_approver");gr.addQuery('sysapproval',current.sysapproval.sys_id);//gr.addEncodedQuery('sysapproval=9403d117db...

Nani5 by Tera Expert
  • 2670 Views
  • 5 replies
  • 0 helpfuls

Replace GlideRecord query?

Does anyone know if there is a way to replace the current query for a GlideRecord?   There is a condition being added and I do not have access to the code that is adding the condition so what I was hoping to do is just do a search and replace on the ...

DrewW by Mega Sage
  • 5304 Views
  • 4 replies
  • 3 helpfuls

Resolved! scripting line break in comments field

I have an import, I want to add some scripts to and I start asking, how I can put various fields into the comment field.So the idea is:putting. into one target field with a script because the source data have 3 different comment fields (I hate it) a...

Krischan by Giga Guru
  • 19172 Views
  • 6 replies
  • 5 helpfuls

GlideModal and g_form.submit() doesn't work on new record

I have an onSubmit client script on the Incident table that invokes a GlideModal:   This works great.   Now, in the UI Page that this GlideModal is invoking has this bit of code:   If the Incident is NOT a new record (it has already been saved), th...

find_real_file.png find_real_file.png find_real_file.png
xiaix by Tera Guru
  • 3120 Views
  • 4 replies
  • 1 helpfuls

Resolved! Can the SLA conditions be updated using a script?

There are 200 odd SLAs on a table which currently extends Incident table and it has one of the condition as Incident State = Open. Now in our new instance the same table will extend task table and will use condition as State = Open.  Can we update al...

SN Rookie by Giga Expert
  • 2753 Views
  • 3 replies
  • 2 helpfuls

illegal access to getter method getmessage

This script is on a workflow approval activity, the workflow properties is on the task [task] table, the new fields are on the sysapproval_approver table. when I run the workflow the approval is not created and the error "illegal access to getter met...

How do others do their Folder Access catalog items?

We currently have a catalog item on the portal for users to request access to files/folders on our network, at the moment the form has a text box variable called "Folder path:" where the user has to manually input the folder path for what they wish t...

Ryax by Tera Expert
  • 2012 Views
  • 1 replies
  • 1 helpfuls

Resolved! Why GlideModal is not able to open a UI Page?? I have created an UI Action and want to render a Glide- modal window, The same UI page is Opening in Glide Dialog Window but not in Modal?

this below code is for that, the below given ui page is working fine with Glide Dialog Window   function show(){var gm = new GlideModal("demo_page_action"); gm.setSize(600,800); gm.setTitle('Show title'); gm.render(); }

Resolved! How to skip double approvals

Hello, I have a doubt reagrding bypassin the approvals. Consider there are 4 groups naming with L1, L2, L3, L4 In all the 4 groups, im listed for approving the change requests. Once the Change request is set for approvals, the first level of approval...

Bala13 by Kilo Guru
  • 2571 Views
  • 2 replies
  • 1 helpfuls