Documentation
Parameters
- ATTR: DataFormAttribute to search for, defaults to BASETOPIC
- THEWEB: web to examin, defaults to BASEWEB
Implementation
%STARTINCLUDE%<noautolink>
%DBQUERY{
"TopicType=~'\bDataForm\b'
AND text=~'\n\| *.*\b%ATTR{default="%BASETOPIC%"}%\b.* *\|'
"
web="%THEWEB{default="%BASEWEB%"}%"
hidenull="on"
header="<h2>%TRANSLATE{"<nop>DataForms that use the '[_1]' attribute" args="%ATTR{default="%BASETOPIC%"}%"}%</h2>
| *#* | *Name* | *Summary* | *Application* |$n"
format="| $index | [[$web.$topic][$topic]] | $formfield(Summary) | $percntIF{
\"'$formfield(WikiApplication)'='WikiWorkbench'\"
then=\"[[Applications.WebHome][WikiWorkbench]]\"
else=\"[[Applications.$formfield(WikiApplication).WebHome]]\"
}$percnt |"
}%
</noautolink>%STOPINCLUDE%
Test