How to run a script in a UI Action Condition Field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2017 07:02 AM
Hi,
Is it possible to run a script in the Condition Field in a UI Action?
I need to show a Form Button depending on the status of a record from another table. And that'd be easy to implement if I could write a script in the condition field.
Is there any way to run a script in the Condition field?
Thanks in advance for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2017 07:22 AM
Hi Catarina,
For your requirement you need to create a script include and need to define a function inside it which will return true/false based on the required filed status that located in other form. and then you need to call that script include and that function which will control the display of the UI Action Button.
Here is the reference how you need to call script Include & its functions in Condition field: How to call ''script include'' in UI Action condition
Here is the reference how you define script Include & its functions for UI Action:ui action visible script
Thanks,
Arindam