s3solutionrevision
s3solutionrevision |
Purpose
Generate an ID referring to a DMP solution revision folder for a given revision, for use with
s3init
Synopsis
function s3solutionrevision(revision:text):text
Argument
revision
|
The ID of a revision of the solution in which the component is running
|
Return value
A bucket configuration ID that can be passed to
s3init
Example
declarations mybucket: s3bucket end-declarations s3init(mybucket,s3solutionrevision('cl07nssyoo')) if s3status(mybucket)<>S3_OK then writeln("Error returned by S3: ",s3getlasterror(mybucket)) exit(1) end-if
Further information
1. Within DMP, this function can be used to generate an ID that refers to the assets folder of a specific committed revision of the current solution.
2. This function is not available in the Xpress Workbench version 3.3.3 component in DMP.
Related topics