Creates a new Specification and registers all required delegates for rendering a fully interactive specification form.
The DriveWorksLiveClient that will be used to send and receive data to and from the Integration Theme.
The alias of the group the specification belongs to.
The unique identifier of this specification.
Gets the unique identifier of the represented specification.
Gets the HTML element for the specification form.
Adds a new child specification from the chosen project to a Child Specification List control in this Specification.
The name of the Child Specification List control.
The name of the project that the child specification will be created from.
The optional unique identifier of a specification form version used to calculate a differenced FormData result.
The provided versionId will be used to calculate a differenced FormData result between the supplied and latest version. If no versionId is provided, a complete FormData result will be returned. A version identifier can be retrieved from any FormData object.
Adds an item with the specified form name to an Item List control within this Specification.
The name of the Item List control.
The name of the form that the added dialog will show.
The optional unique identifier of a specification form version used to calculate a differenced FormData result.
The provided versionId will be used to calculate a differenced FormData result between the supplied and latest version. If no versionId is provided, a complete FormData result will be returned. A version identifier can be retrieved from any FormData object.
Cancels the current specification and clears the the inner HTML of the provided HTMLElement that the specification was rendered to.
Copies an item from an Item List control within this Specification with the specified form name.
The name of the Item List control.
The name of the form which represents the type of item to copy.
The optional unique identifier of a specification form version used to calculate a differenced FormData result.
The provided versionId will be used to calculate a differenced FormData result between the supplied and latest version. If no versionId is provided, a complete FormData result will be returned. A version identifier can be retrieved from any FormData object.
Deletes the currently selected item from an Item List control within this Specification.
The name of the Item List control.
The optional unique identifier of a specification form version used to calculate a differenced FormData result.
The provided versionId will be used to calculate a differenced FormData result between the supplied and latest version. If no versionId is provided, a complete FormData result will be returned. A version identifier can be retrieved from any FormData object.
Edits an item from an Item List control within this Specification with the specified form name.
The name of the Item List control.
The name of the form which represents the type of item to edit.
The optional unique identifier of a specification form version used to calculate a differenced FormData result.
The provided versionId will be used to calculate a differenced FormData result between the supplied and latest version. If no versionId is provided, a complete FormData result will be returned. A version identifier can be retrieved from any FormData object.
Gets all of the operations and transitions for this Specification.
Gets the tasks for the active form or dialog of this Specification.
Gets a constant with the provided name that belongs to this Specification.
The name of the constant to retrieve.
Gets all constants for this Specification.
Gets the document belonging to this Specification with the provided identifier.
The identifier of the document to retrieve.
Gets the download url of a specified document belonging to this Specification.
The identifier of the document that you wish to retrieve the download url for.
The name of the document, or the name of a resource within a HTML file, with the provided documentId.
Gets all documents for this Specification.
Gets a form control of a supplied name.
The name of the control you wish to access.
Gets the active form data for this Specification.
The optional unique identifier of a specification form version used to calculate a differenced FormData result.
The provided versionId will be used to calculate a differenced FormData result between the supplied and latest version. If no versionId is provided, a complete FormData result will be returned. A version identifier can be retrieved from any FormData object.
Gets information about the chosen operation for this Specification.
The name of the operation to retrieve.
Gets the specification properties for this Specification.
An object containing 0 or more key value pairs, e.g. {"MyProperty": "MyValue"}.
Gets the specification report with the provided identifier for this Specification.
The identifier of the report to retrieve.
Gets the chosen specification report belonging to this Specification in JSON format.
The identifier of the report to retrieve.
Gets the download url for the chosen specification report belonging to this Specification.
The identifier of the report to retrieve the download url for.
Gets all specification reports for this Specification.
Gets information about the chosen transition for this Specification.
The name of the transition to retrieve.
Gets a variable with the provided name from this Specification.
The name of the variable to retrieve.
Gets all variables for this Specification.
Invokes an operation on the currently selected specification in a Child Specification List control within this Specification.
The name of the Child Specification List control.
The name of the operation to invoke on the selected child specification.
The optional unique identifier of a specification form version used to calculate a differenced FormData result.
The provided versionId will be used to calculate a differenced FormData result between the supplied and latest version. If no versionId is provided, a complete FormData result will be returned. A version identifier can be retrieved from any FormData object.
Invokes a transition on the currently selected specification in a Child Specification List control within this Specification.
The name of the Child Specification List control.
The name of the transition to invoke on the selected child specification.
The optional unique identifier of a specification form version used to calculate a differenced FormData result.
The provided versionId will be used to calculate a differenced FormData result between the supplied and latest version. If no versionId is provided, a complete FormData result will be returned. A version identifier can be retrieved from any FormData object.
Cancels the active dialog within this Specification and closes it. The latest FormData will be returned.
The optional unique identifier of a specification form version used to calculate a differenced FormData result.
The provided versionId will be used to calculate a differenced FormData result between the supplied and latest version. If no versionId is provided, a complete FormData result will be returned. A version identifier can be retrieved from any FormData object.
Confirms the chosen items on a dialog within this Specification and closes it. The latest FormData will be returned.
The optional unique identifier of a specification form version used to calculate a differenced FormData result.
The provided versionId will be used to calculate a differenced FormData result between the supplied and latest version. If no versionId is provided, a complete FormData result will be returned. A version identifier can be retrieved from any FormData object.
Invokes an operation on this Specification.
The name of the operation to invoke.
Invokes a transition on this Specification.
The name of the transition to invoke.
Moves the child specification at the specified index in a Child Specification List control within this Specification up or down.
The name of the Child Specification List control.
The MoveListItemCommandData containing the movement direction and row index to perform the command.
The optional unique identifier of a specification form version used to calculate a differenced FormData result.
The provided versionId will be used to calculate a differenced FormData result between the supplied and latest version. If no versionId is provided, a complete FormData result will be returned. A version identifier can be retrieved from any FormData object.
Moves the item at the specified index in an Item List Control within this Specification up or down.
The name of the Item List control.
The MoveListItemCommandData containing the movement direction and row index to perform the command.
The optional unique identifier of a specification form version used to calculate a differenced FormData result.
The provided versionId will be used to calculate a differenced FormData result between the supplied and latest version. If no versionId is provided, a complete FormData result will be returned. A version identifier can be retrieved from any FormData object.
Navigates this Specification in the chosen direction.
The direction to navigate in - "backward" or "forward".
Navigates to the hyperlink of a Hyperlink control within this Specification.
The name of the Hyperlink control.
The optional unique identifier of a specification form version used to calculate a differenced FormData result.
The provided versionId will be used to calculate a differenced FormData result between the supplied and latest version. If no versionId is provided, a complete FormData result will be returned. A version identifier can be retrieved from any FormData object.
Opens the dialog of a Dialog Button within this Specification.
The name of the Dialog Button control.
The optional unique identifier of a specification form version used to calculate a differenced FormData result.
The provided versionId will be used to calculate a differenced FormData result between the supplied and latest version. If no versionId is provided, a complete FormData result will be returned. A version identifier can be retrieved from any FormData object.
Sends a signal to the server to restart the session, specification and group timeout timers.
Registers a chosen HTML element that when clicked will cancel the active dialog.
The element that will be registered as the cancel button.
The value to set the display property to when making the cancel button visible. By default the current value of the display property will be used.
Registers a function to execute when a project constant's value is changed.
The function to be executed when a project constant's value is changed.
Registers a chosen HTML element that when clicked will navigate the specification to the next form.
The element that will be registered as the next button.
The value to set the display property to when making the next button visible. By default the current value of the display property will be used.
Registers a chosen HTML element that when clicked will confirm and close the active dialog.
The element that will be registered as the confirmation button.
The value to set the display property to when making the ok button visible. By default the current value of the display property will be used.
Registers a chosen HTML element that when clicked will navigate the specification to the previous form.
The element that will be registered as the previous button.
The value to set the display property to when making the previous button visible. By default the current value of the display property will be used.
Registers a function to execute when the specification is cancelled.
The function to be executed when the specification is cancelled.
Registers a function to execute when the specification is closed.
The function to be executed when the specification is closed.
Registers a function to execute when a project variable's value is changed.
The function to be executed when a project variable's value is changed.
Removes the currently selected child specification from a Child Specification List within this Specification.
The name of the Child Specification List control.
The optional unique identifier of a specification form version used to calculate a differenced FormData result.
The provided versionId will be used to calculate a differenced FormData result between the supplied and latest version. If no versionId is provided, a complete FormData result will be returned. A version identifier can be retrieved from any FormData object.
Renders the specification's active form to the supplied HTML element.
The element that you wish to render the specification form to.
Requests a preview from a 3D Preview control within this Specification.
The name of the 3D Preview control.
The optional unique identifier of a specification form version used to calculate a differenced FormData result.
The provided versionId will be used to calculate a differenced FormData result between the supplied and latest version. If no versionId is provided, a complete FormData result will be returned. A version identifier can be retrieved from any FormData object.
Requests a screenshot from a 3D Preview control within this Specification.
The name of the 3D Preview control.
The RequestPreviewScreenshotCommandData containing data to specify the screenshot.
The optional unique identifier of a specification form version used to calculate a differenced FormData result.
The provided versionId will be used to calculate a differenced FormData result between the supplied and latest version. If no versionId is provided, a complete FormData result will be returned. A version identifier can be retrieved from any FormData object.
Runs a macro for a control within this Specification and returns the latest FormData.
The name of the control to run the macro on.
The ControlMacroData to provide to the macro, including the name of the macro to run.
The optional unique identifier of a specification form version used to calculate a differenced FormData result.
The provided versionId will be used to calculate a differenced FormData result between the supplied and latest version. If no versionId is provided, a complete FormData result will be returned. A version identifier can be retrieved from any FormData object.
Runs a macro within this Specification and returns the latest FormData.
The SpecificationMacroData to provide to the macro, including the name of the macro to run.
The optional unique identifier of a specification form version used to calculate a differenced FormData result.
A Promise that will complete when the macro has been ran.
Runs a touch point macro within a 3D Preview control in this Specification.
The name of the 3D Preview control.
The TouchPointCommandData containing data to run the macro with.
The optional unique identifier of a specification form version used to calculate a differenced FormData result.
The provided versionId will be used to calculate a differenced FormData result between the supplied and latest version. If no versionId is provided, a complete FormData result will be returned. A version identifier can be retrieved from any FormData object.
Sets the selection of a Child Specification List control in this Specification to the item at the provided index.
The name of the Child Specification List control.
The index to set as the selected item of the list control.
The optional unique identifier of a specification form version used to calculate a differenced FormData result.
The provided versionId will be used to calculate a differenced FormData result between the supplied and latest version. If no versionId is provided, a complete FormData result will be returned. A version identifier can be retrieved from any FormData object.
Sets the selection of an Item List control in this Specification to the item at the provided index.
The index to set as the selected item of the list control.
The optional unique identifier of a specification form version used to calculate a differenced FormData result.
The provided versionId will be used to calculate a differenced FormData result between the supplied and latest version. If no versionId is provided, a complete FormData result will be returned. A version identifier can be retrieved from any FormData object.
Updates a constant within this Specification with the provided value.
The name of the constant to update.
The value to be applied to the constant.
Encapsulates a DriveWorks Live Specification and enables the rendering and control of that specification via custom elements and callbacks.