White paper: Templates in web-to-print.  Free download

IActionModeParsed Interface

A structure defining how to import SVG, PDF, and PSD graphics. For details, see The Asset Manager topic.

example
"assetSources": {
  "My Shapes": {
      "type": "PrivateSource",
      "allowedExtensions": [ "pdf", "svg", "ai" ],
      "actionMode": {
          "pdf": "Shape",
          "svg": "Shape"
      }
  },
  "Public Group Elements": {
        "type": "PublicSource",
        "allowedExtensions": [ "psd" ],
        "actionMode": {
            "psd": "Group"
        }
  },
  "Public Cliparts": {
      "type": "PublicSource",
      "allowedExtensions": [ "svg" ],
      "actionMode": {
          "svg": "Clipart"
      }
  }
}

Properties

Optional pdf

The upload mode for PDF and AI files. By default, the Vector mode is enabled.

Optional psd

The upload mode for PSD files. By default, the Design mode is enabled.

Optional svg

The upload mode for SVG files. By default, the Vector mode is enabled.