{DTK If}
DTK If is a Macro used for conditional displaying of Content. It is a Macro that warps DTK If Body and DTK Else Body to make it work.
If DTK If (1) Settings Condition returns rows, it will display Doctoolkit If Body (2) "Yes". If it doesn't, it will display Doctoolkit Else Body (3) "No".
On DTK If Settings Dialog, you need to first select which Table (A) you will use.
You also have option to return only Active, Inactive or All (Both Active and Inactive) using Show (B) Dropdown.
If you check Include Archived (C), Table marked as Archived (Hidden and Inactive Table) will be include on the Table Selectbox.
You can also Filter return rows by using Filters Table(D). To add an entry, just click Add Filter (E) button.
On Filters Table, you can specific which Field (D.1) you are going to use , Comparison operator (D.2), Value (D.3) and if it is comparison is Case-Sensitive (D.4) or not.
If you Add two or more Filter Entries, you can now set the proper Logical (D.5) Operation between those entries. If you want to delete a Filter Entry, just click Delete (D.6) Button
You can use Filter Expression (F) to modify Logical Operators and Ordinance between Filter Entries.
You should click Save (G) if you want to save the Settings of your Macro or Close (H) if you don't.
The output of the Macro base from pictures above:
Add Comment