Ui polices not working on Form Widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2024 05:15 AM
I am using a cloned Form widget on the Portal and none of the UI policies which are present on the form are loading on the Form widget. I was looking in to the OOB server code present on the widget and I am not sure from where data.f.policy is populated. Need help to first understand how the ui policies are loaded on portal so that I am able to execute it. Thanks
var policies = data.f.policy || []
policies.forEach(function(policy, index){
if (policy['is_ui_data_policy']) {
policies[index].onload = true;
}
})
- Labels:
-
Service Portal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2024 06:02 AM
I don't understand. a cloned Form widget should run platform UI Policies too.
Did you clone the widget completely? i.e. including the Angular ng-templates, dependencies, etc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2024 06:09 AM
Yes, we did clone everything