Readonly
LoadedIndicates whether the dynamic product is currently loaded. This property is read-only.
Readonly
NumGets the number of pages in the dynamic product. This property is read-only.
Retrieves a field by its ID.
The ID of the field to retrieve.
The field object corresponding to the specified ID.
Retrieves detailed information about a specified field by its name.
The name of the field to get details for.
An object containing detailed information about the specified field.
Impresses the dynamic product onto a specified file. This typically involves generating a file with the product's content.
The target file instance where the product will be impressed.
Returns true if the product was successfully impressed onto the file, false otherwise.
Impresses content from the dynamic product onto a specified PDF page.
The PDF page where the content will be impressed.
The index of the source page from the dynamic product.
Returns true if the content was successfully impressed onto the target page, false otherwise.
Loads a dynamic product from a JSON string. Useful for loading a product's state from a serialized format.
The JSON string representing the product to load.
Returns true if the product was successfully loaded from the JSON string, false otherwise.
Loads a dynamic product from a job by the job's ID. Typically used to load products associated with a specific order or job.
The ID of the dynamic order product to load.
Returns true if the product was successfully loaded from the job, false otherwise.
Prepares the appearance of the dynamic product, specifying width and height. Useful for ensuring the product renders correctly in different contexts.
The desired width for the appearance preparation.
The desired height for the appearance preparation.
Returns true if the appearance was successfully prepared, false otherwise.
Sets the file content for a specified field, usually for image fields.
The name of the field to set the file for.
The file object to associate with the field.
Returns true if the file was successfully set, false otherwise.
Represents a dynamic product interface with methods to interact with and manipulate various aspects of a dynamic product.