Fields are made invisible using UI policy on form. But when try to open the popup from list view using reference icon these fields are still visible. Is it a bug?

shivanagouda
Kilo Contributor

Fields are made invisible using UI policy on form. But when try to open the popup from list view using reference icon these fields are still visible. Is it a bug?

Attached screen shot. After mouse hover the popup opens and the field outage planned duration is visible.

But on form level   it visible only on selection of outage required using UI Policy. So on attached screen shot(popup) the field outage planned duration   should be invisible as per condition(outage required is not checked). Please advise how to fix it.  

1 ACCEPTED SOLUTION

Andras Kisgyorg
Kilo Guru

Hi Shiva,



I don't think you can achieve this with UI policies as they I don't think they run when you hover your mouse over the ( i ) and see the popup, even if the UI policy is set to view = sys_popup.



You could try achieving this by using a read ACL on the field, where you set the conditions properly:


when the ACL allows read to the field, it will show up on the form and the popup, when the ACL evaluates to false, it should be hidden both from the form and the popup.



On top, you vcan keep your UI policy to add a dynamic behaviour to show/hide the field on your form based on user interactions,


while the ACL should show/hide the field based on record data saved in the database.



Make sure to check if ACLs are running on the same field or on parent tables so that they do not interfere, and set "Admin override" accordingly so you as an admin see the impact of your ACL.



Hope this helps, let me know.



Best regards,


Andras


View solution in original post

9 REPLIES 9

purbalipc
Tera Expert

UI policy is suppose to work only on Form. If you do not want to show few fields on popup view, got Views-> open sys_ref_list-> go to list tab and find out the record for that table. There you can personalise which all fields you want to show   in popup view


Thank you for the reply. Actually I wanted to display all the fields on popup but based on condition like on form.


For example:   I have select field and   text field.   I am displaying this text field on selection of this select field using UI policy on form and it is working fine.   The text field is displaying on selection of select field on form.



But it is not working like this on list view popup, text field is visible if the select field is selected or not. Could you please advise how to fix this?


shivanagouda
Kilo Contributor

Thank you for the reply. Actually I wanted to display all the fields on popup but based on condition like on form.


For example:   I have select field and   text field.   I am displaying this text field on selection of this select field using UI policy on form and it is working fine.   The text field is displaying on selection of select field on form.



But it is not working like this on list view popup, text field is visible if the select field is selected or not. Could you please advise how to fix this?


Too confused with your question, please paste the screenshots that makes easy to understand your requriement