Home > Contents > Index >
Template Tag TOC  |   Alpha TOC  |   Tag Family TOC  |   Purpose TOC  |   Annotated TOC  |   Index 

 

ASSET.CANEDIT

Checks whether a publish operation, which prevents the specified asset from being edited, is in progress.

Syntax

Parameters

NAME (required)
Name of previously loaded asset.

TYPE (required if name is not used)
Input. Asset type of the asset. Either type+objectid or name must be supplied to identify the asset.

OBJECTID (required if name is not used)
Input. Asset id of the asset. Either type+objectid or name must be supplied to identify the asset.

Description

The asset:canedit tag checks the PubSession table for any running (status='R") publish operations. If the specified asset is approved for publishing in the target for any of those running publish sessions, the asset cannot be edited.

Error Numbers

The possible values of errno include:

Value
Description
-10004
A required parameter is missing.
-10005
The requested object is not in the object pool (is not loaded into
memory).
-12034
Publish in progress.

Example

This example checks whether an asset can be edited and displays an error if the asset cannot be edited.

This example does the same without loading the asset.

See Also

ASSET.LOAD

  Home > Contents > Index >

Oracle XML Tag Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.