publish::write_content (public)

 publish::write_content revision_id [ args... ]

Defined in packages/acs-content-repository/tcl/publish-procs.tcl

Parameters:
revision_id (required)
The id of the revision to write
Options:
-item_id
{default The item_id of the revision} Specifies the item to which this revision belongs (merely for optimization purposes)
-text
If specified, indicates that the content of the revision is readable text (clob), not a binary file
-root_path
{default All paths in the PublishPaths parameter} Write the content to this path only.
Returns:
The relative URL of the file that was written, or an empty string on failure
See Also:

Testcases:
No testcase defined.
[ show source ]
Show another procedure: