Used within a custom tag. Finds calling (ancestor) tag by
name and accesses its data.
Lucee Function Reference
getbasetagdata()
Example
getbasetagdata(string tagname,[number instancenumber]):struct
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Default Value | Description |
---|---|---|---|---|
tagname | string | Yes | Ancestor tag name for which to return data | |
instancenumber | number | No | 1 | Number of ancestor levels to jump before returning data. The default value is 1 (closest ancestor). |