Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-------------------- NOTE: The created elements for both the Autocomplete and Multiselect fields have been moved within the code. These fields were moved to fix issues when trying to set when to show/hide. If you previously targeted these fields you may need to update other code to reflect the change in positioning. Changed back to using "drawerCreated" to kick off script, instead of the previous "sessionStorageReady" Fixed some issues which may have caused the DataMerge property not to work correctly on a @autocomplete The ARO page is now monitord to ensure hidden fields that have been replaced are set to not required if hidden and required if set to required and visible Added new events which can be subscribed to Events available to be subscribed to: ------------------------------------- A number of events have been added, so that you can use these in other scripts to ensure your scripts do not start too early/late To subscripbe to these events in your scripts use "app.events.subscribe('EventName',FunctionToCall) The following events are available: ROToolBoxStart : activates as the toobox starts it's processing ROToolBoxSHCStart : activates just before it starts to process the Show/Hide Criteria options ROToolBoxSHCDone : activates just after it finishes processing the Show/Hide Criteria options ROToolBoxACMSStart : activates just before starting to process any @autocomplete and @MultiSelect options ROToolBoxACMSDone : activates just after finishing all #AutoComplete and @MultiSelect processing ROToolBoxDone : activates once all toolbox actions have completed and the page has been completely rendered Additional @ elements @PreventSelectSelf ------------------ When added before a query picker (directly before the query picker, not before the @AutoComplete/@MultiSelect) this will remove any returned entries that match with session.user.Id. thus preventing the current user from selecting themselves from the list, useful for selecting approvers etc to they canot select themselves to approve. @addAttr -------- When added before any standard field, it will add the attribute to the field setting it to the value provided. EG. @addAttr {"Name": "UCD", "Value": "JobTitle"} This can be useful to set up attributes for other scripts to use/determine exactly which field to select/modify etc.
- Loading branch information