xo::db::CrItem instproc set_live_revision (public)

 <instance of xo::db::CrItem[i]> set_live_revision \
    -revision_id revision_id  [ -publish_status publish_status ] \
    [ -is_latest on|off ]

Defined in /var/www/openacs.org/packages/xotcl-core/tcl/cr-procs.tcl

Switches:
-revision_id (required)
-publish_status (optional, defaults to "ready")
one of 'live', 'ready' or 'production'
-is_latest (optional, boolean, defaults to "false")

Testcases:
create_folder_with_page, create_workflow_with_instance
Source code:
::acs::dc call content_item set_live_revision  -revision_id $revision_id  -publish_status $publish_status  -is_latest $is_latest
::xo::xotcl_object_cache flush ${:item_id}
::xo::xotcl_object_cache flush $revision_id
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: