sourceId Readonly

sourceId: string

The Id of the element - if any - from which the script originated. A schedule script may originate from one of the following sources:

  • A RenderTimeline element stored in the iModel; or
  • The scheduleScript JSON property of a DisplayStyle element stored in the iModel; or
  • Any other source outside of the iModel, such as code that generates the script on the frontend, a script obtained from some server, etc.

The RenderSchedule.ScriptReference.sourceId property identifies the Id of the element from which the script originated; an empty or invalid Id64String indicates the script did not originate from any persistent element. If the Id is valid, the contents of RenderSchedule.ScriptReference.script are assumed to match those stored on the source element.

Defined in

Last Updated: 14 November, 2024