We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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

Forum Posts

make filed Readonly in business rule

in client side we can achieve this byusing : g_form.setReadonly('impact'',true) or else UI policy action but inserver-side script   business rule   i have tried as belowcurrent.setReadonly('impact',true);but not workingcan any one have a idea?

Image Resize via HTML Editor

how can i resize the image size according to screen size by using HTML Editor?For this, i have written html code as <div class="container" style="width: auto;"><p style="width: auto;"><img style="width: 1100px; height: 130px;" title="" src="/logo_ser...

find_real_file.png find_real_file.png
aptk by Tera Contributor
  • 3878 Views
  • 5 replies
  • 0 helpfuls

Adding multiple filters to a single report

Hi AllI was wondering if anyone could help me with the following reportI would like to create an incident status report (pivot) that uses multiple filters.In addition to the normal status columns I would also like to include a "Resolved last 30 days"...

find_real_file.png

Resolved! Event param - Can I send a list of users?

For our SLA warning/breach emails, they want us to send the notification to a sub-set of people within the assignment group and the assignee. I have identified the people who should receive the SLA emails by adding a flag to the sys_user_grmember tab...

Resolved! check box adding price

In the Service catalog you can add a "Price if checked" attribute and when the check box is displayed it will show the price like so:Extra harddrive [ will add $100.00 ] and when checked changes to: Extra harddrive [  has added $100.00 ]This function...

dak by Tera Expert
  • 2382 Views
  • 5 replies
  • 0 helpfuls

Best practice to check for booleans?

I picked up the habit of checking for <variable> == 'true', when checking for variables. Though this got me into trouble once, because someone entered the value 'True', resulting in a false negative. Should I check for <variable> == true instead? Or ...

Resolved! Scripted REST APIs

Hi,I have created a scripted REST API where I am fetching the HTTP headers by using the below functionrequest.getHeader('header name').But I want to fetch all the headers that we receive in the request. I tried to use request.headers as suggested in ...

Resolved! Using a UI action to fire a Notification.

There was another article i read "how to trigger an event from a UI Action button " thats pretty similar but im a bit confused with how you set this up. what code do i need to connect the event to the business rule? What code do i need to connect the...

austiin by Giga Contributor
  • 8762 Views
  • 6 replies
  • 11 helpfuls

Resolved! Storing the number after a GlideRecord Insert

Hello,So I am writing a Before Insert Business Rule on the Request_Item TableSo if a user updates the Customer Visible notes on the Request Item it creates a new Chat Queue Entry:Script:if(ourUser.hasRole('role_name')) {   var gr = new GlideRecord('c...

Ashley by Mega Sage
  • 3584 Views
  • 2 replies
  • 1 helpfuls

Alternative to DOM

Hi All,Currently I have a functionality where the number of attachments are suffixed next to the Paper Clip icon in any task record. This is done using a DOM manipulation in a onLoad client script as shown below.var iconElement = document.getElementB...

Screen Shot 2017-02-02 at 5.20.48 PM.png

Auto refresh of Visual task board

Hi All,VTB auto refresh doesn't seems to be working as expected If you are in the visual task board created on "Assigned to " The first lane is "None (Assigned to is empty)" does not populate when a new ticket is assigned unless you select refresh.We...

sunny13 by Giga Expert
  • 3964 Views
  • 4 replies
  • 0 helpfuls