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.
Throws
ArgumentException if childSpecificationListControlName
is null or empty.
Throws
ArgumentException if projectName
is null or empty.
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.
Throws
ArgumentException if itemListControlName
is null or empty.
Throws
ArgumentException if formName
is null or empty.
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.
Throws
ArgumentException if itemListControlName
is null or empty.
Throws
ArgumentException if formName
is null or empty.
Deletes the currently selected item from an Item List control within this Specification.
The name of the Item List control.
Throws
ArgumentException if itemListControlName
is null or empty.
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.
Throws
ArgumentException if itemListControlName
is null or empty.
Throws
ArgumentException if formName
is null or empty.
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.
Throws
ArgumentException if constantName
is null or empty.
Gets all constants for this Specification.
Gets the document belonging to this Specification with the provided identifier.
The identifier of the document to retrieve.
Throws
ArgumentException if documentId
is null or empty.
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.
Throws
ArgumentException if documentId
is null or empty.
Throws
ArgumentException if resourceName
is null or empty.
Gets all documents for this Specification.
Gets the active form data for this Specification.
Gets information about the chosen operation for this Specification.
The name of the operation to retrieve.
Throws
ArgumentException if operationName
is null or empty.
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.
Throws
ArgumentException if reportId
is null or empty.
Gets the chosen specification report belonging to this Specification in JSON format.
The identifier of the report to retrieve.
Throws
ArgumentException if reportId
is null or empty.
Gets the download url for the chosen specification report belonging to this Specification.
The identifier of the report to retrieve the download url for.
Throws
ArgumentException if reportId
is null or empty.
Gets all specification reports for this Specification.
Gets information about the chosen transition for this Specification.
The name of the transition to retrieve.
Throws
ArgumentException if transitionName
is null or empty.
Gets a variable with the provided name from this Specification.
The name of the variable to retrieve.
Throws
ArgumentException if variableName
is null or empty.
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.
Throws
ArgumentException if childSpecificationListControlName
is null or empty.
Throws
ArgumentException if operationName
is null or empty.
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.
Throws
ArgumentException if childSpecificationListControlName
is null or empty.
Throws
ArgumentException if transitionName
is null or empty.
Cancels the active dialog within this Specification and closes it.
Confirms the chosen items on a dialog within this Specification and closes it.
Invokes an operation on this Specification.
The name of the operation to invoke.
Throws
ArgumentException if operationName
is null or empty.
Invokes a transition on this Specification.
The name of the transition to invoke.
Throws
ArgumentException if transitionName
is null or empty.
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.
Throws
ArgumentException if childSpecificationListControlName
is null or empty.
Throws
ArgumentException if commandData
is null or empty.
Throws
ArgumentException if the commandData
object does not implement the MoveListItemCommandData interface.
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.
Throws
ArgumentException if itemListControlName
is null or empty.
Throws
ArgumentException if commandData
is null or empty.
Throws
ArgumentException if the commandData
object does not implement the MoveListItemCommandData interface.
Navigates this Specification in the chosen direction.
The direction to navigate in - "backward" or "forward".
Throws
ArgumentException if direction
is null or empty.
Throws
ArgumentException if direction
contains an invalid value.
Navigates to the hyperlink of a Hyperlink control within this Specification.
The name of the Hyperlink control.
Throws
ArgumentException if hyperlinkControlName
is null or empty.
Opens the dialog of a Dialog Button within this Specification.
The name of the Dialog Button control.
Throws
ArgumentException if dialogButtonControlName
is null or empty.
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.
Throws
ArgumentException if the passed element
is null.
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.
Throws
ArgumentException if the passed element
is null.
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.
Throws
ArgumentException if the passed element
is null.
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.
Throws
ArgumentException if the passed element
is null.
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.
Throws
ArgumentException if childSpecificationListControlName
is null or empty.
Requests a preview from a 3D Preview control within this Specification.
The name of the 3D Preview control.
Throws
ArgumentException if previewControlName
is null or empty.
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.
Throws
ArgumentException if previewControlName
is null or empty.
Throws
ArgumentException if commandData
is null or empty.
Throws
ArgumentException if the commandData
object does not implement the RequestPreviewScreenshotCommandData interface.
Runs a macro for a control within this Specification.
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.
Throws
ArgumentException if controlName
is null or empty.
Throws
ArgumentException if macroData
is null or empty.
Throws
ArgumentException if the macroData
object does not implement the ControlMacroData interface.
Runs a macro within this Specification.
The SpecificationMacroData to provide to the macro, including the name of the macro to run.
Throws
ArgumentException if macroData
is null or empty.
Throws
ArgumentException if the macroData
object does not implement the SpecificationMacroData interface.
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.
Throws
ArgumentException if previewControlName
is null or empty.
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.
Throws
ArgumentException if childSpecificationListControlName
is null or empty.
Throws
ArgumentException if index
is null or empty.
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.
Throws
ArgumentException if listControlName
is null or empty.
Throws
ArgumentException if rowIndex
is null or empty.
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.
Throws
ArgumentException if constantName
is null or empty.
Encapsulates a DriveWorks Live Specification and enables the rendering and control of that specification via custom elements and callbacks.