How to set a variable with default value based on the another variable in the catalog form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2018 07:18 AM
I am trying to auto populate 3 single line text variables(RAM,CPU,Storage) with default values based on another variable "Server type"(type-choice) on the catalog form.Client script is not working for it.Don't know how to implement through macros.
Please let me know if you have any further questions.
Thank you for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2018 07:36 AM
You can do this with catalog On change catalog client script. it should work, where are you observing this. on service portal ? if it is portal make sure you chose UI type as 'Both' in your client script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2018 09:22 AM
Not only service portal this is not working in normal instance also.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2018 09:25 AM
can you share your script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2018 09:26 AM
Make sure 'Applies on catalog item view" is set to true in client script. if it is, then we have to look into script. can you post screenshot.