- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2024 10:50 AM
I have a UI Action and an onLoad Catalog Client Script that auto-populates a variable from a record to the Catalog Item form.
This works perfect.
However, if I manually open the Catalog Item on the Portal, the variable is auto- populated with the previous variable from using the UI Action.
How can I prevent this?
When manually ordering the Catalog Item, the variable should be blank when opening the Catalog Item form.
Here is my code.
UI Action:
Catalog Client Script:
Help is Greatly appreciated!!
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2024 10:19 AM
In that case, the simplest solution may be to use your original UI Action and Catalog Client Script, but change the UI Type on the CCS to 'Desktop' so that it doesn't run in Service Portal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2024 08:49 AM
You mentioned that you open the Catalog Item in Portal - do you also ever open it directly in the native UI? When you use the UI Action, is this ever or always in Portal or the native UI or both?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2024 09:56 AM
Hi Brad,
We always open the Catalog Item in the Service Portal- when we manually need to order Catalog Items.
We don't utilize the native UI for Catalog Items.
When we use this UI Action, it is always from the record in the native UI (never from the SP).
I appreciate your help!!!
Thank you,
Susan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2024 10:19 AM
In that case, the simplest solution may be to use your original UI Action and Catalog Client Script, but change the UI Type on the CCS to 'Desktop' so that it doesn't run in Service Portal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2024 10:28 AM - edited 10-22-2024 10:29 AM
That worked!!! Thank you so much!!!!!!!!!!!!! 😀
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2024 10:33 AM