Home > Contents > Index > 
SITEPLAN.GETPAGENAME
Retrieves the page asset name of the specified node. (Note that this is an asset name, not a page name from the SiteCatalog table.)
Syntax
<SITEPLAN.GETPAGENAME NAME="nodeName" OUTPUT="variableName"/>Parameters
NAME (required)- Input. The name assigned to the site plan node whose page name 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.)
OUTPUT (required)- Input. The name to assign to the output variable that stores the name of the page.
Description
This tag returns the page name of the specified node; that is, the value entered into the Name field on the Sites New/Edit Page form for the page asset that corresponds to this node.
A possible use for this tag is to obtain the page name of the node so that you can display that name in a navigation bar.
Error Numbers
The possible values of
errnoinclude:
Example
This code loads the site plan and then retrieves the page asset name of a specific site plan node:
<SITEPLAN.LOAD NAME="BusinessNewsNode" ID="Variables.nodeid"/> <SITEPLAN.GETPAGENAME NAME="BusinessNewsNode" OUTPUT="PageAssetName"/>See Also
Home > Contents > Index > 
Oracle XML Tag Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.