UI Action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2023 12:54 PM
Hello, how can I fix my UI Action , Im unsure of whats wrong with it. When I go to Test it out , the UI button is not showing . I only want to show the button when the Vehicle Status is Returned for Inspection, and the Ticket Status is Open. When users click this button, Set the Vehicle Status to returned to warehouse.
My Condition -
current.vehicle_status == 'Returned for Inspection' && current.tracker_status == 'Open'
My Script -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2023 01:20 PM
Hello @KierraBrianna
In UI action Action Name field is empty,
You need to mention the display name of button in the action name field.
Plz mark my solution as accept if you find it helpful.
Regards SAMAKSH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2023 01:53 PM
Hello Samaksh, I am still unable to get it to pop up. Thank you though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2023 10:27 PM
Hello @KierraBrianna
In that case check the backend values of 'Returned for Inspection' and 'Open';
Also remove the whole condition once and check whether the button is coming or not, so we will get to know the root cause.
Plz Mark my Solution as Accept and Give me thumbs up, if you find it helpful.
Regards,
Samaksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2023 02:49 PM
Hi,
It seems that 'vehicle_status' is a choice field, you need to use the value and not the label.