Designing and Implementing Business Process Models : Implementing Content Service Platform for BPM : Content Service Platform Services : pub.csp.file:updateFile
pub.csp.file:updateFile
Updates the content and metadata of an existing CSP file associated with the supplied contentID.
Input Parameters
fileID
String Represents the index into the file list that comes back in the retrieveFiles service. The value used here depends on what position in the contentID it is located. The value of the fileID is not constant, so you must check the values returned in the fileList from the retrieveFiles service.
contentID
String The contentID of the object in the CSP with which files are associated. Represents a globally unique ID, or GUID.
fileInputStream
String (Base64 encoded) Either of two options: the full path to the file to be updated, or a Base64 encoded byte stream of the file to be updated.
fileName
String The name of the file to update
friendlyName
String The identifier associated with the CSP server on which the file is being updated
metadataMap
HashMap <String,String> or String Optional. Contains a collection of key-value pairs that represent data about the created node. This can be either a String in the form of comma-separated key=value pairs or a HashMap with key-value pairs entered at each map index/position. This allows you to associate any desired metadata key-value pairs with the created contentID.
Output Parameters
fileID
String The supplied ID of the file
status
String Indicates success or failure
Copyright © 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback