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

Forum Posts

Resolved! Elevate to privileged role via script.

Is it possible to elevate to a privileged role via script? I have a scheduled job that I would like to take an action that is currently only available to a user with a privileged role (security_admin).   Even if I set the scheduled job to run as a us...

Jeff Pascoe by Tera Expert
  • 6303 Views
  • 2 replies
  • 14 helpfuls

Reference fields, lookup not working

Hi. Didn't change a thing, it was working as intended. The field on the form that references the sys_user table stopped working. I click on the magnifying glass and it doesnt open the user list. The only thing I did was to create a Wizard. I have no ...

SC4 by Tera Expert
  • 4150 Views
  • 11 replies
  • 2 helpfuls

Resolved! Integer validation

Hi, I want to add a simple validation to a custom integer field.  I can see how the validation scripts work, and that there is a script to do exactly what I need, however, I cannot see how I can link the validation script to the custom field. The fie...

Daniel Voutt by Tera Contributor
  • 4588 Views
  • 8 replies
  • 2 helpfuls

Resolved! Retrieve nodes with same name in a XML file

<?xml version="1.0" encoding="UTF-8" ?> <test>         <one>                   <two>A</two>                  <three>B</three>        </one>        <one>                  <two>C</two>                  <three>D</three>         </one> </test> Hi Communi...

Resolved! Unable to access variable from variable set

I've got a record Producer where one variable is named "myLoaction" (reference: cmn_location) and the value of this is to be used as a reference qualifier for another variable named "myAsset" (reference: alm_asset).This is quite easily accomplished b...

Rolf Nyhus by Tera Guru
  • 5244 Views
  • 7 replies
  • 2 helpfuls

Resolved! Impersonation Logs?

Hello Everyone, We have multiple admins working in our environment. Is there a way, where we can see which admin has impersonated which user account and when?  Any leads will be appreciated!  Regards, Shoheb Shaikh 

Ibaa_Shoheb by Tera Contributor
  • 4672 Views
  • 5 replies
  • 8 helpfuls

locating g_form.orderNow() function

Hi All, I quick question. There is this function in the catalog client script called "g_form.orderNow()". I've been looking for this  function for days now. Any ways on how can I search this function a lot faster? Also, I didn't know you could use g_...

Client script to return user session time left

Is there any javascript that I can put into a Client Script to get the logged in user's session time?I'm currently doing this in some UI Pages:var _oneHourTimer = 0;var tickerSeconds = 3600;startOneHourTimer();function oneHourTimerTicker(){       var...

xiaix by Tera Guru
  • 6615 Views
  • 5 replies
  • 2 helpfuls

Resolved! ACL to make fields read-only

Hello, I have a requirement where I have to make a set of fields in a custom form read-only for two roles, based on another field. Let me break this down - Let's assume we have a custom form with three fields - Status, Org1 and Org2 . The User isn't ...

Ram150 by Tera Expert
  • 18334 Views
  • 4 replies
  • 6 helpfuls

How can I refresh a user session via script

Generally, after a user gets a new role, it seems like the session needs to restart before the system recognizes it the new permissions.I'd like to know if I can force a user's session to refresh VIA script after they were awarded a role in the same ...

Resolved! Change background color of Catalog Item label

Most all of our Service Requests use 2 standard Variable Sets and each of those Variable Sets have a Label that we modify the background color, font, alignment, etc.  These are still working just fine.  This the code from one of those: function onLoa...

sgmartin by Kilo Guru
  • 2419 Views
  • 1 replies
  • 0 helpfuls