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

 

asset:sites

Creates a list object of sites (formerly known as publications) to which the asset is shared. The list contains the columns of the Publication table.

Syntax

Parameters

name (required unless type and objectid supplied)
Name of previously loaded asset.

type (required if name is not used)
Input. Asset type of the asset whose sites you want to list. 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 whose sites you want to list. Either type+objectid or name must be supplied to identify the asset.

list (required)
Name of list that is created.

pubid (optional)
Publication ID. Use when you want to know if an asset is in a particular site. Errno is set to -101 if the asset is not in that site.

Error Numbers

The possible values of errno include:

Value
Description
-101
The asset is not in the site.
-10004
A required parameter is missing.
-10005
The requested object is not in the object pool (is not loaded into memory).

Example

This example shows all the sites with which this asset is shared.

This example shows all the sites with which this asset is shared without loading the asset.

This example determines whether an asset is in a particular site.

See Also

asset:addsite
asset:load
asset:share
asset:removesite

   Home > Contents > Index >

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