Data Policy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2024 08:12 AM
Hello Experts,
I am exploring data policy can anyone please guide me with simple example?
What is the use of Use as UI Policy on client field on data policy form.
Thank You.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2024 08:16 AM
Hi Mark,
Data policies usually run server side, meaning they apply to data coming from all sources, be it UI16, portal, integrations, import sets. If you want to apply the same rules for validation on client side, you can check the "Use as UI policy on client" field.
Regards,
Apurv Deshpande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2024 08:30 AM
Hey @Mark Wood,
-Go to widget instance table.
-Open the instance and in CSS field try to apply below CSS.
h2{
font-size:5 px !important; // you can adjust the css as per font size you want.
}
Please mark the answer correct/helpful accordingly.
Thank You.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2024 08:40 AM
Hi @Mark Wood ,
Please go through the below ServiceNow doc, it might be helpful
Using Data Policy as UI Policy
Please mark my answer as correct and helpful based on Impact.
Mark this as Helpful / Accept the Solution if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2024 10:33 AM
Hi @Mark Wood
- Data policies are similar to UI Policies, but UI policies only apply to data entered on a form through the standard browser.
- Data policies can apply rules to all data entered into the system, including data brought in through import sets or web services and data entered through the mobile UI.
- Data Policies, unlike UI Policies, execute on the server.
- You cannot make a field visible or hidden using data policies, because there is no server-side equivalent of a contextually hidden field.
- There is also no Advanced view, no scripted conditions, and no UI or server-side scripting possible through a data policy (except to the extent that scripting is possible inside of any condition builder to make a determination about whether the data policy should run).
For example, suppose that you are configuring a web service that allows users from outside the platform to update problems on the ServiceNow instance. Since these problems are not updated through the instance UI, they are not subject to the UI policies on the problem form. To ensure that the Close notes field is completed before a problem is marked Closed/Resolved, you can create a data policy that applies to server-side imports. Data that does not comply with this data policy produces an error. You can also apply the policy on the browser by selecting the Use as UI Policy on client check box in the data policy record.
Regards
Sid