- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2022 06:47 AM
Hello,
I am wondering if there is a way to add a work notes field to the a catalog item via script? For instance if the name of the request is a certain value is there a way to add a work notes field with an onLoad script. I am familiar with manipulating UI policies using client scripts, but cannot find any information about form configuration using scripts. Does anyone have any input or resources I can use to solve this problem?
Thank you!
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2022 07:00 AM
Hi,
You can create a multi-line text variable for your catalog item that would allow the end-user to supply text that could ultimately be placed in the work notes field.
You can then use a UI Policy and condition to show or hide this field as you need.
You mentioned the name of the request, do you mean the name of the catalog item? And you used that as an example, but is that your actual use case? Can you give your actual condition upon which you'd want this field to show.
Once the catalog item has been submitted, you'd have to use the flow/workflow to write the contents of that field to the record work notes since end-users, out of box, aren't allowing to view or write to the work notes field.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2022 07:00 AM
Hi,
You can create a multi-line text variable for your catalog item that would allow the end-user to supply text that could ultimately be placed in the work notes field.
You can then use a UI Policy and condition to show or hide this field as you need.
You mentioned the name of the request, do you mean the name of the catalog item? And you used that as an example, but is that your actual use case? Can you give your actual condition upon which you'd want this field to show.
Once the catalog item has been submitted, you'd have to use the flow/workflow to write the contents of that field to the record work notes since end-users, out of box, aren't allowing to view or write to the work notes field.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
