GetBaseTagData
Used within a custom tag.
Finds calling (ancestor) tag by name and accesses its data.
Method Signature
Arguments
Argument
Type
Required
Description
Default
tagName
string
true
ancestorLevels
integer
true
1
Examples
Retrieve parent tag thisTag scope
Use getBaseTagData() to retrieve the execution mode of the parent CF_MAPPER custom tag.
Retrieve parent tag attributes
Use getBaseTagData() to retrieve the attributes of the parent cf_iframe tag
Related
Last updated
Was this helpful?