Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • BackOffice

  • AdobeĀ® plugin or extensions

  • DocumentCreateFromChiliPackage API - POSTĀ /rest-api/v1.2/resources/documents/frompackage

When uploading a package, you can define the folder location for uploaded Assets or Fonts.

Expand
titleAPI Upload

In the API call, use the query properties:

  • newAssetLocation

  • newFontLocation

For example:

http://cp-xyz-123.chili-publish-sandbox.online/rest-api/v1/resources/documents/frompackage?documentName=example&folderPath=temp&newAssetLocation=importAssets&newFontLocation=importFonts

If you don't define a location, default locations will be used as defined in the fonts.xml and the assets.xml files.

  • Fonts: General\FromInDesign\{file name}

  • Assets: Imported\{document name}\{file name}

Info

Note: If the default path contains a file with the same name, the new file from the package will not be uploadedbe added. Instead, the document XML will be modified during import to utilize the file already in the BackOffice.

If the file name is unique, the new file from the package will be added with a new ID and the document XML will be modified during import to utilize the new ID.

Best Practices

Font Management

...