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/, 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:





Optional Parameters:


The macro will get the passed in inode for you

Example 1: A simple example using the required fields


On this page


We Dig Feedback

Selected excerpt: