Class: LocalPartRetriever

PartRetrievers. LocalPartRetriever

Represents a local part retriever.

new LocalPartRetriever(file, decrypt, decryptOptions)

Constructs a new LocalPartRetriever. LocalPartRetriever retrieves CoreControls.Document parts asynchronously from locally hosted .xod file. Requires a fully-functional file API.

Note: As of version 6.0, directly constructing a part retriever is deprecated and the capability will be removed in a future version. Please use the PartRetrievers.getPartRetriever function instead.
Name Type Description
file File The local file reference to read data from.
decrypt function Function to be called to decrypt a part of the file
decryptOptions Object An object with options for the decryption e.g. {password: "pass", type: "aes"}