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

Forum Posts

Resolved! restrict choices for table name field type

Hi All,I have created a custom field My Class (field type - table name). Will I be able to restrict the drop-down selection for this field such that only those tables can be selected for which name starts with cmdb_ci?Any leads will be appreciated!!T...

kunal16 by Tera Expert
  • 4578 Views
  • 6 replies
  • 3 helpfuls

Resolved! showFieldMsg with error still allows to submit form

Hi all,   I have created an onChange catalog client script on a variable set on specific variable, and used: g_form.showFieldMsg('variable_name', 'Test comment showed', 'error'); The msg shows under the field, however, it still allows the form to be ...

Sam198 by Mega Guru
  • 4218 Views
  • 6 replies
  • 0 helpfuls

Uncaught error : Invalid or unexpected Token

this code in client script give me this error ' uncaught error : invalid or unexpected token '  this is the line of code :   document.getElementsByName(id)[0].innerHTML+='<button class="btn btn-default btn-sm" id='+element.files[i].name+' onclick="re...

AgrebiAlaa by Kilo Explorer
  • 1933 Views
  • 4 replies
  • 0 helpfuls

Resolved! Variables/Questions displaying empty in report

Reporting on Variables - Typically this should be a straightforward but for some reason, I am not getting the values of the variables entered by the users. The report is showing blank entries but if I double click on the columns I can see the values....

find_real_file.png

Resolved! Preloading user preferences into glide_user

Hi, I wonder if anyone has run into this issue?I'm trying to preload user preferences so they are available for client scripts without having to call: getPreference('pref_name'); If you run this function from browser dev tools (F12), you get the foll...

Get reference field value in workflow Approver user action

Hi All , I have a field called Telecom contact in the form . How to I get the value into workflow and assigned the approval task to that user. Currently I am using  answer = [];   answer.push(current.variables.TelecomContact);   But it is not worki...

find_real_file.png find_real_file.png find_real_file.png
ragz by Tera Expert
  • 2227 Views
  • 10 replies
  • 0 helpfuls

Redirect users to Service Portal - Instance with SSO

Hi all, I'm trying to redirect users to Service Portal with system property glide.login.home with SP, but users with SSO redirects to another page. Let me show you:   The system property The page showed after user SSO login Is a merge of fulfiller ...

find_real_file.png find_real_file.png find_real_file.png
dioni95 by Kilo Expert
  • 2923 Views
  • 5 replies
  • 2 helpfuls