convert documenttypes to psml
/groups/{group}/documenttypes/converttopsml [POST]
API Support | Available since | Last updated | Output |
---|---|---|---|
Description
Convert document types to PSML.
Converts PS Standard config files for each document type to the following PSML config files:
psml/[type]/document-config.xml
psml/[type]/document-template.psml
psml/[type]/editor-config.json
Parameters
No parameters required.
Permission
This service requires administrator.
Response
The XML returned is:
<config-conversion> <document-configs> <document type="[type]" /> <document type="[type2]" /> ... </document-configs> <document-templates> <document type="[type]" /> <document type="[type2]" /> ... </document-templates> <editor-configs> <document type="[type]" /> <document type="[type2]" /> ... </editor-configs> <!-- Files and subfolders --> </config-conversion>
Error Handling
Code | Cause / Description |
---|---|
0x6203 | Unable to generate PSML config file |