- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2015 04:04 AM
My requirement is,
If state = "Closed", I have to show the UI Action "Re-open" button. Once the user clicks the "Re-open" button i need hide that. Because only once i need to show reopen button visible to user. The second time it should hidden.
Only once i need that Reopen button avialable the second it should be hidden
Thanks in Advance,
Thanks and Regards,
Dinesh Chinnadurai
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2015 04:23 AM
In that case you should use a flag. Flag will nothing but just a field on your table that will not be on your form. Make it true by default and make it false once the reopen is clicked.
And the condition on reopen becomes
current.state== 'state value when it should be visible' && current.flag=='true'

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2015 04:14 AM
Hi Dinesh,
You can add the condition in the UI Action button to hide it. You can disable the action on the form with the condition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2015 04:17 AM
Hi Pradeep Sharma,
Thanks for quick response.
How i can hide that and what condition i have to use to hide?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2015 04:20 AM
Hi Dinesh,
So once the user clicks open I think you are changing the status right so you can show the UI action only in few status as per your requirement.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2015 04:16 AM
You can give condition on "re open" button"
current.state == 'resolved' // If the ticket is resolved you can re open