- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 05:35 AM
we have created approve ui action button for approval table and that button has to be displayed only for one catalog item
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 06:25 AM
Hi @Vani14 ,
Please check
current.sysapproval.cat_item == 'sys_id of cat item'
Please mark my answer correct and helpful if this works for you.
Thanks and Regards
Sarthak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 05:57 AM
@Taha El alami may i know this property name?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 06:12 AM - edited 05-20-2024 06:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 09:45 AM
Want to make a UI action appear only for a specific catalog item? Here's how you can achieve that:
Identify the unique field: Catalog items likely have a unique identifier field, like a catalog item number or name.
Create a condition: While configuring the UI action, look for the "Condition" section. This is where you'll define when the button should show up.
Use the identifier: In the condition field, write a script that references the unique identifier field of your catalog item.
Sample condition: Here's an example: current.cat_item_number == "ABC123" (Replace "ABC123" with your actual catalog item number). This script checks if the current catalog item's number matches "ABC123" and only shows the button if it does.
Remember to save! After configuring the condition, save your UI action. Now, the button should only appear for the catalog item you specified.