Parameter Tags Reference

The following is a list of Tags used in the Publisher Template examples.

 

Tag

Description

##DataShare.tablename.RecordSetStart##

Start tag for defining Data

##DataShare.tablename.RecordSetEnd##

End tag for defining Data

##Field.DCAPPTYP##

Field name to display

##HTMLFieldLink.fieldname.templatename.fieldname##

Link field to another template

fieldname:SRCH

Provides an EQUALS filter

fieldname:LIKE

Provides an ILIKE filter

fieldname:FROM:DATE

Value will be treated as a Date range search

fieldname:TO:DATE

Value will be treated as a Date range search

q:LIKE

Value will be treated as a Lucene search

PAGERECS=nn

Maximum number of results to return for each page

LIMITRECS =nn

Maximum number of results to return overall

USESEARCH=True

When set to 'True' will use the Lucene Search which includes word matching otherwise normal SQL Query 'Like' will be used

##OrderBy.fieldname.DESCENDING##

Allows you to specify a field to use for ordering and you can use ASCENDING or DESCENDING

##ErrorMessageStart##        

##ErrorMessage##

##ErrorMessageEnd##        

 

It is possible to apply custom formatting to error messages.

This can be done by using code similar to the following:

##ErrorMessageStart##
<b>
##ErrorMessage##
</b>
##ErrorMessageEnd##

 

Any type of markup can be put between the Start and End tags. ##ErrorMessage## will be replaced with any error message that is generated.

##NoRowsMessageStart##

##NoRowsMessageEnd##

Anything between these start and end tags will be shown in the event of no rows being returned