oAuthentication = request.dmsec.oAuthentication; stUser = oAuthentication.getUserAuthenticationData(); oAuthorisation = request.dmSec.oAuthorisation; iDeveloperPermission = oAuthorisation.checkPermission(reference="policyGroup",permissionName="developer");
#stobj.title#
oVersioning = createObject("component", "#application.packagepath#.farcry.versioning"); qHasDraft = oVersioning.checkIsDraft(objectid=stobj.objectid,type=stobj.typename);
Overview - Draft Object What would you like to do now?
Object Title: #stobjDraft.title# undefined
Created by: #stobjDraft.createdby#
Date Created: #dateformat(stobjDraft.datetimecreated)#
Locking: Locked (#dateFormat(stobjDraft.dateTimeLastUpdated,"dd-mmm-yy")# #timeformat(stobjDraft.dateTimeLastUpdated, "hh:mm")#) [UnLock] Locked (#dateFormat(stobjDraft.dateTimeLastUpdated,"dd-mmm-yy")# #timeformat(stobjDraft.dateTimeLastUpdated, "hh:mm")#) by #stobjDraft.lockedby# [UnLock] Unlocked
Last Updated: #dateformat(stobjDraft.datetimelastupdated)#
Last Updated By: #stobjDraft.lastupdatedby#
Current Status: #stobjDraft.status#
Template: #stobjDraft.displaymethod#
Teaser: #stobjDraft.teaser#
Thumbnail:
ObjectID #stobjDraft.objectid#
Edit/Change Status
iEdit = oAuthorisation.checkInheritedPermission(objectid="#parentid#",permissionName="edit"); iRequest = oAuthorisation.checkInheritedPermission(objectid="#parentid#",permissionName="RequestApproval"); iApprove = oAuthorisation.checkInheritedPermission(objectid="#parentid#",permissionName="Approve"); iApproveOwn = request.dmSec.oAuthorisation.checkInheritedPermission(objectid="#parentid#",permissionName="CanApproveOwnContent"); if(iApproveOwn EQ 1 AND NOT stObjDraft.lastUpdatedBy IS stUser.userLogin) iApproveOwn = 0; » Edit this object
» Restore live object over this draft
» Request Approval
» Send object Live
» Send object Live
» Send object back to draft

General
» Preview
» Add Comments
» View Comments
iObjectDumpTab = oAuthorisation.checkPermission(reference="PolicyGroup",permissionName="ObjectDumpTab"); iDelete = oAuthorisation.checkInheritedPermission(objectid="#parentid#",permissionName="delete"); » Dump
» Delete this draft version
Overview What would you like to do now?
Object Title: #stobj.title# undefined
Created by: #stobj.createdby#
Date Created: #dateformat(stobj.datetimecreated)#
Locking: Locked (#dateFormat(stObj.dateTimeLastUpdated,"dd-mmm-yy")# #timeformat(stObj.dateTimeLastUpdated, "hh:mm")#) [UnLock] Locked (#dateFormat(stObj.dateTimeLastUpdated,"dd-mmm-yy")# #timeformat(stObj.dateTimeLastUpdated, "hh:mm")#) by #stobj.lockedby# iDeveloperPermission = oAuthorisation.checkPermission(reference="PolicyGroup",permissionName="Developer"); [UnLock] Unlocked
Last Updated: #dateformat(stobj.datetimelastupdated)#
Last Updated By: #stobj.lastupdatedby#
Current Status: #stobj.status#
Object Type: #stobj.typename#
Template: #stobj.displaymethod#
Teaser: #stobj.teaser#
Thumbnail:
ObjectID #stObj.objectid#
Nav Alias #stObj.LNAVIDALIAS# None Specified
overviewHTML = renderOverview(stObj.objectid); #overviewHTML# You need to create a renderOverview method for this #stObj.typename#

Legend

Draft
Draft

Pending
Pending Approval

Approved
Approved/Live