Retrieve Selected Inode

Last Updated: Jul 27, 2021
documentation for the dotCMS Content Management System

Gets the inode selected by the user. Typically this will be used in 'detail' style pages (e.g. /news/details.dot), and therefore the inode will actually correspond to a selected contentlet. Note that the name of the request parameter used for extracting the selected inode, is determined by the properties key "INODE_PARAMETER_NAME". In case this key is missing, the parameter name defaults to "inode"

Macro Overview:

Syntax:

#selectedInode()

Arguments:

N/A


Optional Parameters:


Usage:

The macro will get the passed in inode for you
Examples:

Example 1: A simple example using the required fields

#selectedInode()


On this page

×

We Dig Feedback

Selected excerpt:

×