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

 

asset:removesite

Removes a site affiliation from a loaded asset.

Syntax

Parameters

name (required)
Name of the asset instance object.

pubid (required)
Input. Specifies the ID of the publication to remove.

Description

This tag removes a site affiliation from an asset instance. The updated 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 removes all site affiliations and adds one from the Session Variable, pubid:

See Also

asset:load
asset:gather
asset:removesite
asset:save
asset:share
asset:sites

   Home > Contents > Index >

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