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

Forum Posts

Resolved! Cancel UI Action for Change Request - mandatory fields

I have been racking my brains out, how to create a UI Action, and have it set the work notes to mandatory A UI Policy will set it, but the state will have been updated by then. Not much use. I have been trying to use the article listed here, such as ...

ui action.jpg
Baggies by Kilo Guru
  • 3800 Views
  • 7 replies
  • 0 helpfuls

Resolved! How are Product Models created on import?

We had our CMDB in an SQL DB and wanted to import it in SN. In the "Model Categories" table, we set "Enforced Verification" to true for all classes that we will be importing, so no assets are created. We want to do this manually. Seeing we don't have...

Resolved! getMessage in Jelluy script

Hi all,I have this jelly script in a UI page (HTML part)<?xml version="1.0" encoding="utf-8" ?><j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null"><button id="add_attachment" type="button" onclick="saveCatAttach...

Retain Old value of a field using Onchange client script

Hi,There are 2 fields on the form :test : choice field (yes/no)test1 : reference fieldCase 1 : If no is selected from test, test1 should clear the value if it has any.Case 2 : If yes is selected in test, then test1 should be mandatory.Case 3 : In tes...

Onchange Issue.PNG
Community Alums by Community Alums  
  • 7061 Views
  • 9 replies
  • 1 helpfuls

Resolved! Reference Decorations and New Fuji Icons

Hi Folks,We're scheduled to move our instance to Fuji in November, and in our current development to identify bugs and issues with the upgrade, I've come across an issue with Reference Decorations and UI Macros.In Dublin (Current) - we were using cod...

Resolved! How to set a default value based on condition

Hello, Is there a way to set a default value ONLY if certain conditions on the record are true?As an example, I want to set a default value on an Asset Tag ONLY if the CI type is not a network adapter or storage.Thanks!

Katie A by Mega Guru
  • 5716 Views
  • 6 replies
  • 3 helpfuls

Resolved! regarding ACL and client side restriction

Hi All,I have a doubt,I have created a ACL that allows only admin users to write access Assigned to field for which i have created a simple ACL.But nowI want that if the state of the incident in incident form is only resolved or any state as i want ,...

Resolved! configuration changes that are not tracked by update sets

Hi,Can anyone tell me the list of configuration changes or important changes that are not tracked by an update set?I understand that, update sets capture configuration changes and leaves out task or process data. But I have heard that update sets lea...

harsha328 by Tera Contributor
  • 10144 Views
  • 7 replies
  • 10 helpfuls

Resolved! background scripts returning "undefined" value

Friends,I am running below background script. As shown in output, count is 1 but number returned is "undefined". Please help me in getting the correct number?var abc = new GlideRecord('change_task');abc.addQuery('number', 'CTASK0023280');abc.query();...

ramandeep by Kilo Contributor
  • 5187 Views
  • 4 replies
  • 4 helpfuls

Resolved! Populating Date field with GMT Timestamp

Greetings!I have a field in the incident table, opened_at. I would like this field to be populated with the current GMT date and time instead of the user's local time preferences.I created a dictionary over-ride using this javascript snippet:===> jav...

Screen Shot 2016-06-21 at 2.24.15 PM.png
mauricio23 by Mega Expert
  • 2585 Views
  • 2 replies
  • 1 helpfuls

Resolved! Only show annotation on new record forms?

We would like to provide some instructions, but only on a new record form. There is a use case to allow some users access to the regular form but in specific cases we want to make sure that appropriate record producers are used. We added an Annotatio...

perkinsarm by Mega Guru
  • 2082 Views
  • 10 replies
  • 2 helpfuls