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

 

SITEPLAN.GET

Retrieves and lists the value of a single field from a loaded site plan node.

Syntax

Parameters

NAME (required)
Input. Name of the site plan node whose field value you want to retrieve. This node must be loaded and assigned a name before you can pass its name to this tag. (See SITEPLAN.LOAD .)

FIELD (required)
Input. Name of the field whose value you want to retrieve.

OUTPUT (optional)
Input. Name to assign to the output variable that stores the value of the field. If you do not supply a name, Sites creates a variable with the same name as that of the field.

Description

This tag obtains the value (or contents) from the specified field of a loaded node, and stores it in the specified output variable.

Use this tag to extract the parent node ID in order to trace the parentage of a page, which enables you to then display a link to the parent of the page that is currently displayed.

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

This code extracts the value of the "oid" field for the site plan node identified as "pageNode" and stores it in an output variable named "objectid."

See Also

SITEPLAN.LOAD

   Home > Contents > Index >

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