exportData(dict: PP.Rds.Dictionary, schemaKey: String, callback: PP.Delegate);
dict. MDM dictionary.
schemaKey. Export schema key.
callback. Callback function.
The exportData method initiates data export according to the specified schema.
To execute this example, the page must contain the DictionaryBox component named dictionaryBox (see. Example of creating the DictionaryBox component ). MDM dictionary must contain export schema:
// Get MDM dictionary var source = dictionaryBox.getSource()[0]; // Get service used to work with dictionary var service = source.getPPService(); // Get all export schemas sch = source.getExportSchema(); // Get key of the first export schema key = sch[0].k; // Apply export schema service.exportData(source, key)
After executing the example export is initialized.
See also: