Home > Contents > Index >
Template Tag TOC  |   Alpha TOC  |   Tag Family TOC  |   Purpose TOC  |   Annotated TOC  |   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

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 CS-Direct 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.

errno

The possible values of errno include:

Value
Description
-108
Tree selector error.
-10001
The implementing class is invalid.
-10002
There is a missing method for the implementing class.
-10003
The method could not be invoked successfully.
-10004
A required parameter is missing.
-10005
The requested object is not in the object pool (is not loaded into memory).
-10006
The object ID is not valid.
-10007
The version of the object is not valid.
-10008
The node ID of the object is not valid.
-10009
More than one object met the specified criteria.

Example

This code loads the site plan and then retrieves the page asset name of a specific site plan node:

See Also

SITEPLAN.GET

  Home > Contents > Index >

FatWire XML Tag Reference
Copyright 2005 by FatWire Software
All rights reserved.