This is an auto-generated topic for
getResourceField 1.0.0-beta1 by paulmerchant.
Brief Description:
This snippet will get a field or a TV value from the specified resource. TV values can be processed or unprocessed. For additional functionality, simply combine getResourceField with other snippets like UltimateParent.
This is the first public version of this snippet. If you see any bugs or have feature request, please provide feedback in the forum’s getResourcesField support thread.
Overview:
OPTIONS
id - The resource ID
field - (Opt) The field or template variable name, defaults to pagetitle
isTV - (Opt) Set as true to return a raw template variable
processTV - (Opt) Set as true to return a rendered template variable
default - (Opt) The value returned if no field is found
Exmaple1: [[getResourceField? &id=`123`]]
Example2: [[getResourceField? &id=`[[UltimateParent?]]` &field=`myTV` &isTV=`1`]]
Example3: [[getResourceField? &id=`[[*parent]]` &field=`myTV` &processTV=`1`]]