Creates a new instance of DriveWorksLiveClient.
The url of the Integration Theme host to utilize when sending requests via the DriveWorksLiveClient.
Optional
config: DriveWorksLiveClientConfigThe optional configuration settings that the DriveWorksLiveClient should use.
Throws
ArgumentException if the apiUrl
is null or empty.
Gets the url of the Integration Theme host.
Gets the DriveWorksLiveClientConfig for the DriveWorksLiveClient.
Gets the persistent connection to the Live server.
Gets the method in which downloads should be authenticated.
Gets the function to call when an error response is received from the server.
Sets the function to call when an error response is received from the server.
Return True to skip default response handling.
Gets the function to call when a successful response is received from the server.
Sets the function to call when a successful response is received from the server.
Gets the unique id associated with the current user session created through the DriveWorksLiveClient.
Adds a new child specification from the chosen project to a Child Specification List control.
The alias of the group that the specification belongs to.
The unique identifier of the specification that the control belongs to.
The name of the Child Specification List control.
The name of the project that the child specification will be created from.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
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.
The alias of the group that the specification belongs to.
The unique identifier of the specification that the control belongs to.
The name of the Item List control.
The name of the form that the added dialog will show.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if itemListControlName
is null or empty.
Throws
ArgumentException if formName
is null or empty.
Cancels a specification.
The alias of the group that the specification belongs to.
The unique identifier of the specification to cancel.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Copies an item from an Item List control with the specified form name.
The alias of the group that the specification belongs to.
The unique identifier of the specification that the control belongs to.
The name of the Item List control.
The name of the form which represents the type of item to copy.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if itemListControlName
is null or empty.
Throws
ArgumentException if formName
is null or empty.
Starts a new specification from the project and group and returns a new Specification.
The alias of the group that the project belongs to.
The name of the project to start a specification from.
Returns a new Specification based on the supplied specification id.
The alias of the group that the specification belongs to.
The unique identifier of the specification.
Deletes the currently selected item from an Item List control.
The alias of the group that the specification belongs to.
The unique identifier of the specification that the control belongs to.
The name of the Item List control.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if itemListControlName
is null or empty.
Edits an item from an Item List control with the specified form name.
The alias of the group that the specification belongs to.
The unique identifier of the specification that the control belongs to.
The name of the Item List control.
The name of the form which represents the type of item to edit.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if itemListControlName
is null or empty.
Throws
ArgumentException if formName
is null or empty.
Creates and returns an absolute url for an endpoint based on the apiUrl() of the DriveWorksLiveClient.
The url segment representing an endpoint.
Gets the tasks for the specification's active form or dialog.
The alias of the group that the specification belongs to.
The unique identifier of the specification to retrieve the form tasks from.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Gets all specifications from the group, with an optional OData query to filter the results.
The alias of the group containing the specifications to retrieve.
The optional OData query string, e.g. "$orderby=DateCreated desc".
Throws
ArgumentException if groupAlias
is null or empty.
Gets all specifications from the group that belong to the project.
The alias of the group containing the specifications to retrieve.
The name of the project that the specifications belong to.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if projectName
is null or empty.
Gets all specifications from the group that are in the provided state.
The alias of the group containing the specifications to retrieve.
The name of the state that the specifications should be in.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if stateName
is null or empty.
Gets all specifications from the group that were created between a start and end date.
The alias of the group containing the specifications to retrieve.
The start of the date range for when specifications were created. This should be in ISO format.
The end of the date range for when specifications were created. This should be in ISO format.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if startDate
is null or empty.
Throws
ArgumentException if endDate
is null or empty.
Gets all specifications from the group that were edited between a start and end date.
The alias of the group containing the specifications to retrieve.
The start of the date range for when the specifications were edited. This should be in ISO format.
The end of the date range for when the specifications were edited. This should be in ISO format.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if startDate
is null or empty.
Throws
ArgumentException if endDate
is null or empty.
Gets a DriveApp that the current user has permission to run with the provided unique identifier from the group.
The alias of the group that the DriveApp belongs to.
The alias name of the DriveApp to retrieve.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if driveAppAlias
is null or empty.
Gets all of the DriveApps that the current user can run.
The alias of the group for which you wish to retrieve DriveApps from.
The optional OData query string, e.g. "$orderby=Name desc".
Throws
ArgumentException if groupAlias
is null or empty.
Gets a group table with the provided name for a specified group.
The alias of the group for which you wish to retrieve group tables from.
The name of the group table to retrieve.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if tableName
is null or empty.
Gets all group tables for a specified group.
The alias of the group for which you wish to retrieve group tables from.
Throws
ArgumentException if groupAlias
is null or empty.
Gets a project from the specified unique id.
The alias of the group for which you wish to retrieve the project from.
The unique id of the project that you wish to retrieve.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if projectId
is null or empty.
Gets all of the projects for a specified group.
The alias of the group for which you wish to retrieve projects from.
The optional OData query string, e.g. "$orderby=Name desc".
Throws
ArgumentException if groupAlias
is null or empty.
Gets a specification with the provided unique identifier from the group, and returns a new Specification.
The alias of the group containing the specification to retrieve.
The unique id of the specification that you wish to retrieve.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Gets all of the operations and transitions for a specification.
The alias of the group containing the actions to retrieve.
The unique identifier of the specification to retrieve the actions from.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Gets a specification with the provided unique identifier from the group.
The alias of the group containing the specification to retrieve.
The unique identifier of the specification to retrieve.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Gets a specification with the provided name from the group.
The alias of the group containing the specification to retrieve.
The name of the specification to retrieve.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationName
is null or empty.
Gets a constant with the provided name that belongs to a specification.
The alias of the group containing the constant to retrieve.
The unique identifier of the specification to retrieve the constant from.
The name of the constant to retrieve.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if constantName
is null or empty.
Gets all constants for a specification.
The alias of the group containing the constants to retrieve.
The unique identifier of the specification to retrieve the constants from.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Gets the document with the provided identifier.
The alias of the group containing the document to retrieve.
The unique identifier of the specification to retrieve the document from.
The identifier of the document to retrieve.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if documentId
is null or empty.
Gets the download url of a specified document.
The alias of the group containing the document.
The unique identifier of the specification that the document belongs to.
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 groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if documentId
is null or empty.
Throws
ArgumentException if resourceName
is null or empty.
Gets all documents for a specification.
The alias of the group containing the documents to retrieve.
The unique identifier of the specification to retrieve the documents from.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Gets a specification's active form data.
The alias of the group that the specification belongs to.
The unique identifier of the specification to retrieve the form data for.
A complete SpecificationFormData.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Gets information about the chosen operation for a specification.
The alias of the group containing the operation to retrieve.
The unique identifier of the specification to retrieve the operation from.
The name of the operation to retrieve.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if operationName
is null or empty.
Gets the specification properties for a specification.
The alias of the group containing the specification properties.
The unique identifier of the specification to retrieve specification properties from.
An object containing 0 or more key value pairs, e.g. {"MyProperty": "MyValue"}.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Gets the specification report with the provided identifier.
The alias of the group containing the specification report.
The unique identifier of the specification to retrieve the report from.
The identifier of the report to retrieve.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if reportId
is null or empty.
Gets the chosen specification report in JSON format.
The alias of the group containing the specification report.
The unique identifier of the specification to retrieve the report from.
The identifier of the report to retrieve.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if reportId
is null or empty.
Gets the download url for the chosen specification report.
The alias of the group containing the specification report.
The unique identifier of the specification that the report belongs to.
The identifier of the report to retrieve the download url for.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if reportId
is null or empty.
Gets all specification reports for a specification.
The alias of the group containing the specification reports.
The unique identifier of the specification to retrieve specification reports from.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Gets information about the chosen transition for a specification.
The alias of the group containing the transition to retrieve.
The unique identifier of the specification to retrieve the transition from.
The name of the transition to retrieve.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if transitionName
is null or empty.
Gets a variable with the provided name from a specification.
The alias of the group that the variable belongs to.
The unique identifier of the specification to retrieve the variable from.
The name of the variable to retrieve.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if variableName
is null or empty.
Gets all variables for a specification.
The alias of the group that the variables belong to.
The unique identifier of the specification to retrieve the variables from.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Invokes an operation on the currently selected specification in a Child Specification List control.
The alias of the group that the specification belongs to.
The unique identifier of the specification that the control belongs to.
The name of the Child Specification List control.
The name of the operation to invoke on the selected child specification.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
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.
The alias of the group that the specification belongs to.
The unique identifier of the specification that the control belongs to.
The name of the Child Specification List control.
The name of the transition to invoke on the selected child specification.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if childSpecificationListControlName
is null or empty.
Throws
ArgumentException if transitionName
is null or empty.
Cancels the active dialog and closes it.
The alias of the group that the specification belongs to.
The unique identifier of the specification that the dialog belongs to.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Confirms the chosen items on a dialog and closes it.
The alias of the group that the specification belongs to.
The unique identifier of the specification that the dialog belongs to.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Invokes an operation on a specification.
The alias of the group that the specification belongs to.
The unique identifier of the specification to invoke the operation on.
The name of the operation to invoke.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if operationName
is null or empty.
Invokes a transition on a specification.
The alias of the group that the specification belongs to.
The unique identifier of the specification to invoke the transition on.
The name of the transition to invoke.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if transitionName
is null or empty.
Logs in to the group with the supplied credentials.
The alias of the group to log in to.
Optional
credentials: GroupCredentialsThe login credentials to use. If none are supplied, the credentials of the groupAlias will be used.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if the credentials
object does not implement the GroupCredentials interface.
Logs into the group using the OAuth2 authentication flow. This method is only supported in shared groups.
The alias of the group to log in to.
Optional
callback: ((sessionData) => void)An optional callback method that will be invoked when login has successfully completed.
Moves the child specification at the specified index in a Child Specification List control up or down.
The alias of the group that the specification belongs to.
The unique identifier of the specification that the control belongs to.
The name of the Child Specification List control.
The MoveListItemCommandData containing the movement direction and row index to perform the command.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
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 up or down.
The alias of the group that the specification belongs to.
The unique identifier of the specification that the control belongs to.
The name of the Item List control.
The MoveListItemCommandData containing the movement direction and row index to perform the command.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
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 to the hyperlink of a Hyperlink control.
The alias of the group that the specification belongs to.
The unique identifier of the specification that the control belongs to.
The name of the Hyperlink control.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if hyperlinkControlName
is null or empty.
Navigates a specification in the chosen direction.
The alias of the group that the specification belongs to.
The unique identifier of the specification to navigate.
The direction to navigate in - "backward" or "forward".
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if direction
is null or empty.
Throws
ArgumentException if direction
contains an invalid value.
Opens the dialog of a Dialog Button.
The alias of the group that the specification belongs to.
The unique identifier of the specification that the control belongs to.
The name of the Dialog Button control.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if dialogButtonControlName
is null or empty.
Removes the currently selected child specification from a Child Specification List.
The alias of the group that the specification belongs to.
The unique identifier of the specification that the control belongs to.
The name of the Child Specification List control.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if childSpecificationListControlName
is null or empty.
Requests a preview from a 3D Preview control.
The alias of the group that the specification belongs to.
The unique identifier of the specification that the control belongs to.
The name of the 3D Preview control.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if previewControlName
is null or empty.
Requests a screenshot from a 3D Preview control.
The alias of the group that the specification belongs to.
The unique identifier of the specification that the control belongs to.
The name of the 3D Preview control.
The RequestPreviewScreenshotCommandData containing data to specify the screenshot.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
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 specification control.
The alias of the group that the specification belongs to.
The unique identifier of the specification that the control belongs to.
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 groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
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 DriveApp with the provided alias and returns a new Specification.
The alias of the group that the DriveApp belongs to.
The alias name of the DriveApp to create.
Runs a macro for a specification.
The alias of the group that the specification belongs to.
The unique identifier of the specification that the macro belongs to.
The SpecificationMacroData to provide to the macro, including the name of the macro to run.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
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.
The alias of the group that the specification belongs to.
The unique identifier of the specification that the control belongs to.
The name of the 3D Preview control.
The TouchPointCommandData containing data to run the macro with.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if previewControlName
is null or empty.
Sets the selection of a Child Specification List control to the item at the provided index.
The alias of the group that the specification belongs to.
The unique identifier of the specification that the control belongs to.
The name of the Child Specification List control.
The index to set as the selected item of the list control.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if childSpecificationListControlName
is null or empty.
Throws
ArgumentException if index
is null or empty.
Sets the form container size of a specification.
The alias of the group that the specification belongs to.
The unique identifier of the specification to set the form container size of.
The height to set the form container to.
The width to set the form container to.
Whether the size change should be applied immediately, or after a delay. Defaults to True.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if height
is null or empty.
Throws
ArgumentException if width
is null or empty.
Sets the form container size of a hosted specification.
The alias of the group that the specification belongs to.
The unique identifier of the specification to set the form container size of.
The height to set the form container to.
The width to set the form container to.
Whether the size change should be applied immediately, or after a delay. Defaults to True.
The name of the specification host control containing the specification to update.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if height
is null or empty.
Throws
ArgumentException if width
is null or empty.
Throws
ArgumentException if specificationHostControlName
is null or empty.
Sets the selection of an Item List control to the item at the provided index.
The alias of the group that the specification belongs to.
The unique identifier of the specification that the control belongs to.
The index to set as the selected item of the list control.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if listControlName
is null or empty.
Throws
ArgumentException if rowIndex
is null or empty.
Starts a specification from the project and group.
The alias of the group that the project belongs to.
The name of the project to start a specification from.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if projectName
is null or empty.
Updates a constant with the provided value.
The alias of the group that the constant belongs to.
The unique identifier of the specification that the constant belongs to.
The name of the constant to update.
The value to be applied to the constant.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if specificationId
is null or empty.
Throws
ArgumentException if constantName
is null or empty.
Updates the current login credentials of the group with the supplied credentials.
The alias of the group that will have its credentials updated.
The credentials to apply to the group.
Throws
ArgumentException if groupAlias
is null or empty.
Throws
ArgumentException if credentials
is null or empty.
Throws
ArgumentException if the credentials
object does not implement the GroupCredentials interface.
The DriveWorks Live Client provides a client-side framework with a range of functions for interacting with the DriveWorks Live Integration Theme.