- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2022 09:35 AM
Can someone explain why Ui policy doesn't work on list view? I am new to SNOW and just learning basics.
I searched and all the answer is just saying that It doesn't work on list view and use Data policy for such task.
But I want to know why, what is the reason Ui policy doesn't work on list view.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2022 09:43 AM
Hi,
UI Policies have 2 types - onload and onchange. Hence it will not working in list view.
Client script have 4 types - onload, onchange, oncell edit, onsubmit. you can write on cell edit client script for your business requirements.
Thanks,
Sagar Pagar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2022 09:41 AM
Hello,
By current design, UI Policies just don't work on list view. So it's a feature limitation.
If you need to adjust things on list view, then you'd use an onCellEdit Client Script.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2022 06:23 AM
Hi Vicky,
I'm glad you found a correct answer. I felt I covered that appropriately, above, but perhaps not.
Anyways, take care! 🙂
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2022 09:42 AM
Hi Vicky,
UI policies only work on form view or it only apply to data entered on a form via a standard browser. For more information, please see SNOW doc for Data policy.
May I know what are you trying to accomplish for your list view?
Please Mark ✅ Correct or Helpful, if applicable. Thank you!
Regards,
Diane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2022 09:43 AM
Hi,
UI Policies have 2 types - onload and onchange. Hence it will not working in list view.
Client script have 4 types - onload, onchange, oncell edit, onsubmit. you can write on cell edit client script for your business requirements.
Thanks,
Sagar Pagar