ConstReadonlyaction: "data-td-action"Required
Specifies the action to be performed when the element is interacted with. The script looks for this attribute to determine which elements should open the editor.
Allows only one value: "openDesigner"
ReadonlyadvancedOptions: "data-td-options"Advanced options for the action which have priority over the basic options.
This is a JSON serialized object of type EditorArguments to have more control over the editor opening.
ReadonlycustomProperties: "data-td-custom-properties"Sets print job custom properties.
This is a JSON serialized object of type Record<string, string> to add custom properties to the print job.
For example: {"customProperty1": "value1", "customProperty2": "value2"}.
ReadonlymodelCode: "data-td-model-code"Product model code. Specific variants will be chosen later.
ReadonlyorderCode: "data-td-order-code"Sets order code
ReadonlyorderItemCode: "data-td-order-item-code"Sets order item code
ReadonlyorderTitle: "data-td-order-title"Sets order title
ReadonlyownProduct: "data-td-own-product"Indicates that the product is an own product.
When set to "true", the editor will prompt the user to enter missing product data such as product name, model code, and variant details.
ReadonlypositionCode: "data-td-print-position-code"Code identifying the print position.
ReadonlypositionCodeOverride: "data-td-print-position-code-override"Override for the print position code.
ReadonlypositionCodeOverrides: "data-td-print-position-code-overrides"Overrides for print position codes.
A JSON formatted array of print position codes that can be used to specify multiple print positions. For example:
["position-code-1", "position-code-2"].
ReadonlypositionCodes: "data-td-print-position-codes"Codes of print positions.
A JSON formatted array of print position codes that can be used to specify multiple print positions. For example:
["position-code-1", "position-code-2"].
ReadonlypositionNameOverride: "data-td-print-position-name-override"Override for the print position name.
ReadonlypositionNameOverrides: "data-td-print-position-name-overrides"Overrides for print position names.
A JSON formatted array of print position names that can be used to specify multiple print positions with custom names. For example:
["Custom Position Name 1", "Custom Position Name 2"].
ReadonlyprintJob: "data-td-print-job-guid"GUID identifying the print job.
ReadonlyproductCode: "data-td-product-code"Code identifying the product.
Use the supplier specific product code.
ReadonlyproductCodeOverride: "data-td-product-code-override"Override for the product code.
ReadonlyproductCodeOverrides: "data-td-product-code-overrides"Overrides for product codes.
A JSON formatted array of product code overrides that can be used to specify multiple product variants with custom codes. For example:
["custom-code-1", "custom-code-2"].
ReadonlyproductCodes: "data-td-product-codes"Codes of product variants.
A JSON formatted array of product codes that can be used to specify multiple product variants. For example:
["product-code-1", "product-code-2"].
ReadonlyproductNameOverride: "data-td-product-name-override"Override for the product name.
ReadonlyproductNameOverrides: "data-td-product-name-overrides"Overrides for product names.
A JSON formatted array of product name overrides that can be used to specify multiple product variants with custom names. For example:
["Custom Product Name 1", "Custom Product Name 2"].
ReadonlyresultAction: "data-td-result-action"Specifies what to do after the user confirms the print job final verification.
Allows the following values:
ReadonlyresultRedirectUrl: "data-td-result-redirect-url"URL to redirect the user to after the print job is confirmed, if data-td-result-action is set to "ShowDialog" or "CloseEditor".
ReadonlysupplierCode: "data-td-supplier-code"Code identifying the supplier of the product.
Use either this or supplierGuid to identify the supplier.
ReadonlysupplierGuid: "data-td-supplier-guid"GUID identifying the supplier of the product.
Use either this or supplierCode to identify the supplier.
ReadonlytechnologyCode: "data-td-print-technology-code"Code identifying the print technology.
ReadonlytechnologyCodeOverride: "data-td-print-technology-code-override"Override for the print technology code.
ReadonlytechnologyCodeOverrides: "data-td-print-technology-code-overrides"Overrides for print technology codes.
A JSON formatted array of print technology codes that can be used to specify multiple print technologies. For example:
["technology-code-1", "technology-code-2"].
ReadonlytechnologyCodes: "data-td-print-technology-codes"Codes of print technologies.
A JSON formatted array of print technology codes that can be used to specify multiple print technologies. For example:
["technology-code-1", "technology-code-2"].
ReadonlytechnologyNameOverride: "data-td-print-technology-name-override"Override for the print technology name.
ReadonlytechnologyNameOverrides: "data-td-print-technology-name-overrides"Overrides for print technology names.
A JSON formatted array of print technology names that can be used to specify multiple print technologies with custom names. For example:
["Custom Technology Name 1", "Custom Technology Name 2"].
Data attributes for basic action elements.
These attributes are used to identify the elements which are opening the editor.