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

 

ASSET.GETTEMPLATEPAGENAME

Returns a SiteCatalog pagename for the asset in the designated variable.

Syntax

Parameters

NAME (required)
Name of the asset object.

TARGET (required)
ID of the Publish target.

SITE (optional)
Name of the site.

OUTPUT (required)
Name of the output variable to create.

Description

This tag checks if there is any data in the AssetDefaultTemplate table (configured by using the Admin/Publishing/[publish destination]/SetDefaultTemplate function) for the asset type/subtype combination. If there is no data, the tag gets the template from the asset. It loads the asset and gets a corresponding SiteCatalog entry for the template. If there is only one, it returns that. If there is more than one and the optional SITE argument was passed, it finds the first one which begins with that site name. If no SITE argument was passed then it will return the first SiteCatalog entry it finds. This tag returns the pagename that is used when approving the asset for export.

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).

Example

See Also

ASSET.GETTEMPLATEFORTARGET
ASSET.GETTEMPLATEROOTELEMENT
ASSET.GET
  Home > Contents > Index >

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