Home > Contents > Index > 
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index 
asset:checkin
Checks in a revision tracked asset.
Syntax
<asset:checkinname="loaded asset"[annotation="asset id"][checkout="true|false"][flush="true|false"]>Parameters
name(required)- Input. Name of the loaded asset. (See
 asset:load.)
annotation (optional)- Input. Specifies an annotation that is associated with the checkin.
 
checkout (optional)- Input. Specifies whether to leave the asset checked out. The default is
 falseand does not leave the asset checked out.
flush (optional)- Input. Specifies that upon success, the object should be flushed from the object pool. A
 truevalue indicates that object should be flushed. The default is value iffalse.
Description
This tag checks in a previously checked out asset.
errno
The possible values of
errnoinclude:
 Value Description -10004 A required parameter is missing. -10005 The requested object is not in the object pool (is not loaded intomemory). -10012 Object is not checked out. -10016 Unable to check in specified object.Example
This checks in an asset.
<asset:load name="assetToEdit" type="Page" objectid='<%=ics.GetVar("assetid")%>' option="editable" /> ... <asset:save name="assetToEdit" /> <asset:checkin name="assetToEdit" annotation="Edits saved" />See Also
asset:checkout
asset:load
asset:track
asset:rollback
asset:undocheckout
Home > Contents > Index > ![]()
FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.