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

Forum Posts

How to add "if" condition in addQuery

I have two tables chromebook and computer table having a field location which is referring to Location table.I have to update the location value from chromebook table to computer table. The scenario is as follows - 1. If location given in Chromebook ...

surbhi_123 by Tera Expert
  • 1387 Views
  • 7 replies
  • 3 helpfuls

REST API very slow due too long "session wait" times

Hi, Calling to REST API end points is very slow in my dev instance. According to the Session Debug Log view it is caused by too long "session wait " times. In the example below it's +11 seconds.  This happens very often and regardless the specific RE...

pbeltranl_0-1675527871830.png

How to unzip file from sys_attachment table and store it back?

Hi everybody,   I looking for way to unzip specific file, from zipped file in sys_attachment table and add new txt file to sys_attachment table back?    Zip file contains directories and txt files. We need to get specific file from it.  How we can do...

Andre5 by Kilo Explorer
  • 3523 Views
  • 4 replies
  • 0 helpfuls

Add file downloadable link in UI page from sys_attachment

How to add file downloadable links in UI pages from sys_attachment table.I have tried a few options and putting anchor  value in the href like belowhttps://instance-name.com/ui_page.do?sys_id=12c0286a1b7161106c1aa86fe54bcb54I am getting errors like R...

singhajeet by Tera Contributor
  • 1042 Views
  • 10 replies
  • 0 helpfuls

Run User Criteria on the basis of Session URL

Hi Community, I am having a scenario in which I want to run User Criteria for a record producer only for Agent Workspace.In short I want to restrict the user criteria for Portal. For that the below user criteria script is written but this is not work...

Harsh Ahuja by Tera Contributor
  • 1023 Views
  • 6 replies
  • 0 helpfuls

cross-scope access policy issue on HR case form

Hi Team, While transferring a HR case I am getting this error - "Error Message --"Access to api 'put(sn_hr_er_case.number)' from scope 'sn_hr_core' has been refused due to the api's cross-scope access policy" Also assigned to Person not able to see t...

Harsha1 by Tera Contributor
  • 521 Views
  • 2 replies
  • 0 helpfuls

Resolved! Date field should not take past date.

Hi all,I have Date type field called "Reservation Time" and the requirement is, it should not take past date. I have created a onChange Client Script on Reservation Time field. Requirement :- Date field should not take past date but should take Today...

Sid_Takali by Kilo Patron
  • 3645 Views
  • 7 replies
  • 8 helpfuls

Resolved! gs.getUser().isMemberOf() question

Hello All, I am perplexed. I am not able to return a list of groups where the current logged in user is member of the 'parent' field of the sys_user_group table.  Task:Find all groups where the 'parent' is field is not null.Find all groups the curren...

Bill Wulff by Tera Guru
  • 7106 Views
  • 1 replies
  • 0 helpfuls

Resolved! Add Attachment button on record producer

Hello Everyone,I was wondering if I can move or display the attachment button in another place of my record producer.At the moment, it is located on the upper right, but I want to display it in a different location within the form.  There is a variab...

Miguel33_0-1682360384246.png
AngelP83 by Giga Guru
  • 870 Views
  • 1 replies
  • 1 helpfuls

Resolved! Submit 2 tickets from 1 form

Hello everyone,Is this possible and is it easier than I am thinking? We have a form to submit INC tickets, but sometimes our technicians need to submit 2 tickets one for their calls INC and the other one for Lost or Stolen items that goes to the SIR ...

AngelP83 by Giga Guru
  • 870 Views
  • 3 replies
  • 0 helpfuls