ExportContext reference
This article provides reference material about ExportContext
record.
ExportContext
record provides extension developers with information needed during export process. It is available as a parameter in OnStart
, OnSuccess
, OnFail
and OnFinalize
methods of product export extensions.
Sana automatically fills in ExportContext
parameter of OnStart
, OnSuccess
, OnFail
and OnFinalize
methods.
Properties
DefaultCurrency
Gets the default website currency.
DefaultWebsiteLanguage
Gets the default website language.
WebsiteLanguages
Gets the list of website languages.
DefaultWebsiteDomain
Gets the default of website domain.
WebsiteDomains
Gets the list of website domain.
More information about this property you can find in website domain article.
LogError
Gets the log errors method. This method gives ability to write error messages to text log file.
Log
Gets the log errors method. This method gives ability to write information messages to text log file.
ProductCategories
Gets the collection of all available product categories.
More information about this property you can find in product category collection article.
ProductDefaultImages
The product default images.
More information about this property you can find in product default images article.
Fields
Collection of all product entity fields. Gives the ability to get an entity field info by its name.
More information about this property you can find in entity field info map article.