DTP file function allows to export data from Briefing Preview in .xml
file or as comma-separated text. It is accessible from Briefing View/Preview and Page Preview windows.
It possible to export DTP file both to the local folder on your computer or to the external server, by configuring the ftp export functionality.
Export to External server
To enable DTP export to the external FTP server, perform the following steps:
Go to Site Configuration > Briefing Configuration module > Export > Settings for Export
In the "Export to External Server" section, fill in the FTP URL, login, password and local path. When specifying local path, note that path should be relative to the worker's /home folder. For example: /dtp specified as path will export the xml file to the /home/worker/dtp directory
The "Path to Pictures for DTP Export File" and "Path to Logos for DTP Export File" store path that the values of the corresponding and tags will be prefixed with.
Save the settings
Note: “Picture Path Field” and “Logo Path Field” options allow to select field for inserting it’s value (i.e. intermediate path) into exported file.
Configured export settings will be available in the DTP export window, and the "Export File to External Server" will be selected by default.
Default path settings can be overwitten in the DTP export window.
Please, note the following regarding the "Export File to External Server" functionality:
If folder(s) sepecified in Local Path do not existed - they will be created automatically by the system
The "Path to Pictures for DTP Export File" and "Path to Logos for DTP Export File" settings does not create any folders or export any files. Values in those fields are used solely for inserting the path to file in the and tags in the exported XML.
When exporting to an external FTP server the specified local server path will be handled as a relative path to store the file.
The relative path specifies a location in relation to the current location. The current location can be either the place where the worker was started or home directory — place the user logged in from. The latter depends on the server setup. For example, if the current directory on the server is set up as a home directory, and local server path is Files/exported
(or /Files/exported
), the file will be exported to /home/{user}/Files/exported/dtp.xml
.
Note!
Starting from version 9.97.0 DTP export operations are managed via rabbitMQ. Queue name is: "Queue briefingDtpExport"
It is possible to define the number of consumers to speed-up the DTP export for the cases of concurrent usage, however server's capacity should always be taken into consideration before increasing the concurrency.
encode:
webapp:
queue-listeners:
briefing-dtp-export: 1
DTP Export and Preview tab filtering
Configuration of the preview tabs in Briefing configuration allows to set up filtering for each preview tab by specifying field and values. As a result, only products with field values specified in Preview tab will be displayed and exported from a preview tab in question.
An example of such filtering can be filtering of products according to their priority. According to the configuration displayed below, only products with Priority field and values "1" and "2" will be displayed on the tab and present in DTP file, when DTP export was initiated from the preview tab in question.
Note!
Filtering is applicable to the main products only. Subproducts with priority not matching filter settings will exported if main product matches the filter.