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

Forum Posts

Create ACL blocking New button in related list

I have 2 create ACL's on our core_company table one that only allows users with our accounting role to create records where the parent field is empty.  The other ACL has two different roles and says parent is NOT empty.  I'm trying to limit new paren...

elikaps96 by Kilo Contributor
  • 3028 Views
  • 3 replies
  • 2 helpfuls

URL encoding and HTTPS File retrieval method in data source

Hello. I'm, trying to import a CSV report via https URL. When I try To download the file with the browser I don't need to provide any credentials because of the token that already in the URL and it expires after a while. I want to download and proces...

find_real_file.png
avid by Kilo Expert
  • 2071 Views
  • 3 replies
  • 0 helpfuls

Pre-import scripts

Hi, I'm developing a scoped application where I've import set table to populate data from excel sheet.  The data in excel sheet is organized in the following fashion(Refer attachment: template) Table structure is organized as in the attachment:table ...

G Balaji by Kilo Guru
  • 1693 Views
  • 4 replies
  • 0 helpfuls

Resolved! How to change Approval user in activity log

Hi, When an approval_admin user (A) approves a record on behalf of another user(B), the activity log shows: Approved by B, whereas it should ideally be A. How to change that? I can add a comment in approval comment that approved on behalf of B, but i...

mdash by Giga Guru
  • 2208 Views
  • 5 replies
  • 2 helpfuls

problem with HR table when try to read record

Hi everyone, I have a problem with field ' subject_person_hr_profile ' from table ' sn_hr_core_case ' I need to set default value for this field , by default value : javascript:gs.getUserID(); error message appear in the top of form >> " Read operati...

Resolved! Create a story from incident

Does anyone have code they have created (and can share) for a UI action on incident that creates a story from the inc?  I know the general concept (like look at the create problem action and get a sense from there what needs to be done), but I though...

add an attachment via catalog client script (on load). when i open the form it should add an attachment . i have written the below code but its ot working.

function onLoad() {     //Type appropriate comment here, and begin script below             var cat_id = gel('sysparm_item_guid').value.toString();             //Check if attachment is available       var gr = new GlideRecord('sys_attachment');    ...

saurabh1 by Giga Contributor
  • 2454 Views
  • 5 replies
  • 3 helpfuls

Resolved! Search Widget: Scoped Application

Hi All,   I am building Service Portal in the scoped application and cloned typeahead search widget along with all dependency scripts. However, I am facing the below issue. Server JavaScript error Cannot find function getSearchSources in object com.g...

Resolved! How to get a widget (button) to set mandatory fields on a catalog item to not mandatory and submit "Draft" state of the form in Service Portal?

Hi all, I've got a record producer I'm fixing to work in Service Portal.  The form has a number of mandatory fields.  I've built a widget to put a "Save as Draft" button on the form.  When the user clicks the button, they are prompted with an alert. ...