Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

{DTK If}

DTK If is a Macro used for conditional displaying of Content. It is a Macro that warps Doctoolkit If Body and Doctoolkit 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". 

PICTURE

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.

PICTURE

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 (E) to modify Logical Operators and Ordinance between Filter Entries.

You should click Save (F) if you want to save the Settings of your Macro or Close (G) if you don't. 

The output of the Macro base from pictures above: 

PICTURE


  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.