Information Classification: External Restricted.
See https://www.chili-publish.com/security

Webservice Functions - DocumentCreateFromChiliPackage

Creates a new document based on a zip file containing a CHILI package (usually generated by the InDesign Extension).

Declaration

public string DocumentCreateFromChiliPackage ( string apiKey, string documentName, string folderPath, string packagePathOrData, string newAssetLocation, string newFontLocation );

Arguments

Name

Type

Description

apiKey

apiKey

The API key previously generated by calling the GenerateApiKey function

documentName

itemName

The name for the new document

folderPath

folderPath

The path for the new document

packagePathOrData

fileOrData

The path (accessible from the server) to the zip file with the package, or (if the path is not found) the base64 encoded data of said zip file

newAssetLocation

folderPath

Optional new location for the assets in the package. When creating the package, the user can choose a location for the assets. If a newAssetLocation is provided, this location will be modified

newFontLocation

folderPath

Optional new location for the fonts in the package. When creating the package, the user can choose a location for the fonts. If a newFontLocation is provided, this location will be modified

Returns

resourceItemXML

Definition XML of the ResourceItem

Security rights needed

  • Add

Apply on resource

documents

All information on this page must be treated as External Restricted, or more strict. https://www.chili-publish.com/security