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

 

ASSET.ADDSITE

Adds a site affiliation to a loaded asset.

Syntax

Parameters

NAME (required)
Name of the asset instance object.

PUBID (required)
Input. Specifies the ID of the publication to add.

Description

This tag adds a site affiliation to an asset instance. The site information will be written upon ASSET.SAVE. The asset instance must have been loaded using the editable parameter of ASSET.LOAD set to true.

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).
-12070
Asset was not fully loaded. Tag requires ASSET.LOAD with editable flag to fully load asset.

Example

This code loads an article and adds to its existing sites a site specified in the variable pubid :

See Also

ASSET.LOAD
ASSET.GATHER
ASSET.REMOVESITE
ASSET.SAVE
ASSET.SHARE
ASSET.SITES

   Home > Contents > Index >

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