one filed on RITM Should be visible only while clicking on ui action button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2023 10:10 AM
Hi All,
I need to show one field called u_html_message on RITM only when an ui cation called "View HTML" on RITM is clicked how can this be achieved so rest all the time u_html_message should be hidden
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2023 12:53 PM
Hi Sandeep
Let me try also i need to make this ui action "View HTML"visible only when the html field check box checked on the u_email_client table how this can be done?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2023 12:06 AM
@jobin1 Hello jobin, just add a condition on the UI Action condition field current.u_html_checkbox==true. This will make the UI Action visible only when the checkbox is checked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2023 01:11 AM
actually, ui action is on one table and this html check box is on another table so its not working
like We have a ui action called "View HTML on u_email_client table " and this button should be visible only when the u_company_config_intg table entry for u_company" demo" inside that filed u_html_email_content is true how this validation can be done?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2023 02:39 AM
@jobin1 You can create a script include method which should return true/false depending up on the u_company_config_intg table entry for u_company" demo" inside that filed u_html_email_content is true/false.
This script include method can be called inside the condition field of the UI Action as follows
javascript: new <script include name><method name>();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2023 06:32 AM
Hi Sandeep
tried the below script include and called in ui action but not working not even getting logs in script include.
//script include
//ui action
condition ->newBPO_CSS_Di_Intergation_Company_validation().validatecompany;