Skip to main content

UPLOAD

Upload content to EDAPI by providing a blob or specifying parameters (filename, type). Returns created object metadata.

At a glance

  • Category EDAPI
  • Version: 1.0.4
  • Applications: all
  • Scope: all

Config Options

NameDescriptionDefaultRequiredResolvedConstraintsConditional Rules
optionsObtions data for the UPLOADNonefalsefalseNoneNone
filenameFilename to use for the uploaded objectNonefalsefalseNoneNone
basetypeBaseType - Used to identify upload location when using basefolder configuration.NonefalsefalseNoneNone
typeObject type to create (e.g. File, Image)NonefalsefalseNoneNone
createModeCreation mode (e.g. AUTO_RENAME)NonefalsefalseNoneNone

Inputs

TypeDescriptionDefaultRequiredResolved
blobBinary blob to upload (preferred)Nonefalsefalse

Outputs

TypeDescriptionOptional
objectThe created object metadatafalse

Examples

Upload with custom options

  - step: SET
targetName: "{{ client.getDocumentName() }}.podcast.mp3"
- step: UPLOAD
options:
name: "{{ flowContext.targetName | safe }}"
workFolder: "{{ client.getDocumentWorkfolder() }}"
folderPath: "/Production/Product/Audio"
type: "Audio"
attributes: ""
systemAttributes: "<props></props>"
application: 'Swing ProActions'
options:
showPath: true
showSystemAttributes: true
showAttributes: true
createMode: 'AUTO_RENAME'

See Also

General Resources: