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

Forum Posts

Resolved! How to prevent special characters on a field

I have the following onChange client script to prevent spaces and maximum 15 characters on a string field. function onChange(control, oldValue, newValue, isLoading) { if (isLoading || newValue == '') { return; } var str = g_form.getValue('u_equipment...

Jen11 by Tera Expert
  • 3081 Views
  • 4 replies
  • 1 helpfuls

How to change the view of record on portal page ?

Hi All, Whenever I open the record in portal , it opens in the default view. I want it to open in a custom view which I have created. How can I change that? Where do I need to add that view so that I can see the portal form in that view ? 

How to set OR condition in Business rules?

Hi guys. Do you know how to set OR condition aside from using " || " in code? I tried to use " || " but it seems like the "||" is not working at all Condition : if location is "us" and service is "Functions" OR if location is "us" and service is "Tec...

Summer by Kilo Contributor
  • 1156 Views
  • 3 replies
  • 0 helpfuls

UI Policy for True/False variable is not working

Hi all,  i have a True/False variable in custom table, one ui policy is show and mandatory it when another field is selected as Yes. However, no matter how i click the checkbox, the asterisk next to it is always gray, i checked the XML data, it shows...

find_real_file.png
HuChin by Tera Contributor
  • 1829 Views
  • 2 replies
  • 2 helpfuls

Resolved! Reference qualifier dot-walk from a reference field

Hello Community, I have reference field with a reference qualifier of: Valid javascript: "contractLIKE" + current.contract.getDisplayValue();   I need help with adding an OR condition that dot-walks to another reference field [sys_user]--get users wi...

Desmo by Mega Guru
  • 1937 Views
  • 4 replies
  • 0 helpfuls

Resolved! How to delete a record on the service portal

Hi Team, I have a widget where i am populating user information from the custom table. Once user has added , we have another button called "Remove" as soon as user clicks on Remove button on the portal. Only that particular record should delete from ...

sinu2 by Tera Expert
  • 1934 Views
  • 11 replies
  • 0 helpfuls

Resolved! Attach Custom Workflow to Service Catalog Items

Hello Guys, I am attaching the custom workflow for the approval of service catalog items. I have attached the custom workflow and added it to the Catalog items, but while requesting an item it is running the default workflow at background instead of ...

Pass integer value in JSON

Hi, I want to pass the Zip Code in JSON format . For example: "ZipCode":87737. If the zip code starts with 0, answer should be passed as "ZipCode":08773.But when I use parseInt() or + unary operator "0" is getting truncated. My code looks like this :...

amala2 by Mega Guru
  • 3966 Views
  • 4 replies
  • 1 helpfuls

cannot read property "1" from null - Error handling

Hi Team, I have a regex to match something and if the regex doesn't find things, its returning and rest of the code is being ignored. cannot read property "1" from null How can I handle this exception instead of getting it errored?

Khanna Ji by Tera Guru
  • 1658 Views
  • 2 replies
  • 0 helpfuls

Resolved! How to use g_scratchpad within a Scopped App

Hi there, I am trying to use g_scratchpad within a Display Business Rule in a Scoped App. However, there is an error that can not set property of undefined. So clearly g_sratchpad doesn't seem to exist in Scoped App. Has anyone used g_scratchpad in a...

Rahman4 by Tera Guru
  • 1075 Views
  • 2 replies
  • 1 helpfuls

Resolved! How to load data on click of ShowMore button

Hello AllI need to load data on click on ShowMore button.There is another table ,was taking reference of ServiceCatalog widget. but not able to update the code according to my requirementany leads welcome Thanks Darshan

Darshan5 by Kilo Contributor
  • 1431 Views
  • 5 replies
  • 2 helpfuls