Key questions about this property
The answers below summarize the purpose, scope, default effect, and review scenarios for this property.
| What does it do? |
Chooses the calculation method used to set white or black text for On-Call calendar backgrounds when no preset contrast color is available. |
| What area does it affect? |
On-Call calendar colors |
| What does the default mean? |
The default value is "ContrastYIQ". |
| When should you review it? |
Review when calendar text contrast or readability needs adjustment. |
Property record
No out of the box record exists. ServiceNow scripts read this property and use the default value shown until you create it.
| Property name |
com.snc.on_call_rotation.contrast |
| Type |
Not stated |
| Application |
Not stated |
| Default value |
ContrastYIQ |
| Description |
Not stated |
Sources
Official references and nearby text excerpts where this property appears.
Context preview
Snippet 1
... trademarks of the respective companies with which they are associated. 3034 Property Description Location: System Property [sys_properties] ta com.snc.on_call_rotation.pto.approval.required Configuration to determine whether PTO requ Location: System Property [sys_properties] ta com.snc.on_call_rotation.contrast Sets text color to either white or black depend background color on the calendar. The follow • ContrastYIQ • ContrastPercent • ContrastLuminance Note: ContrastYIQ is used if the propert Location: ...
Used in
Out of the box artefacts that read this property. Append the path to your instance URL to open the record and see how the value is used.
Script include: ChangeRotaColors
When no preset contrast color is available, this property selects how the contrasting color is calculated, affecting the colors users see. Admins can choose a calculation method; if no value is set, the default is ContrastYIQ.
/sys_script_include.do?sys_id=a5b82a32c331120048f4d5dc64d3ae42
More in com.snc
Other properties in the same namespace.
All 650 properties in com.snc →