You are here:
Foswiki
>
Applications Web
>
TopicType
>
TopicFunction
>
RenderDataFormList
E
dit
A
ttach
Tags:
create new tag
,
view all tags
%TOC{depth="2"}% ---++ Documentation %STARTSECTION{"documentation"}% ---+++++ Parameters * ATTR: DataFormAttribute to search for, defaults to BASETOPIC * THEWEB: web to examin, defaults to BASEWEB %ENDSECTION{"documentation"}% ---++ Implementation <verbatim class="tml"> %STARTINCLUDE%<noautolink> %DBQUERY{ "TopicType=~'\bDataForm\b' AND text=~'\n\| *.*\b%IF{"defined ATTR" then="%ATTR%" else="%BASETOPIC%"}%\b.* *\|' " web="%IF{"defined THEWEB" then="%THEWEB%" else="%BASEWEB%"}%" hidenull="on" header="<h2>%MAKETEXT{"<nop>DataForms that use the '[_1]' attribute" args="%IF{"defined ATTR" then="%ATTR%" else="%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% </verbatim> ---++ Test %DBCALL{"Applications.RenderDataFormList" ATTR="Summary"}% %DBCALL{"Applications.RenderDataFormList" ATTR="BaseRef"}% %DBCALL{"Applications.RenderFunctionCallers"}%
ApplicationTopic
edit
TopicType
DocuTopic
,
TopicFunction
TopicTitle
Summary
Renders a list of
DataForms
that make use of the given
DataFormAttribute
WikiApplication
WikiWorkbench
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r1 - 11 Apr 2013, micha
Applications
Log In
or
Register
Tools
TopicTypes
DataForms
DataFormAttributes
TopicTemplates
TopicViews
TopicFunctions
Webs
Applications
ClassificationApp
Extensions
Main
System
Das Urheberrecht © liegt bei den mitwirkenden Autoren. Alle Inhalte dieser Kollaborations-Plattform sind Eigentum der Autoren.