UIB - Standard Record Page - Record controller form.fields object
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
For configurable workspaces that use the "standard" record page --- e.g. "CSM default record page" for CSM/FSM Configurable Workspace; "SRP Record" for Service Operations Workspace --- the controller has the form.fields object which you access via api.data.record.form.fields. There does not appear to be any distinct event on the controller or the associated Form component that indicates when the form.fields object is available for use. My workaround was to handle the controller's "Record property changed" event checking for when form.fields was finally not undefined, then firing my own event so the page would know when it could be used. There HAS TO be another way to know that ServiceNow has fully loaded one of the more important client-side objects on the record page. Anyone have ideas?