All pages rendered on the system use special tag commands to insert different elements on to the page.
For example, if you want to put the page title onto a template then you can insert the tag {PAGE_TITLE}. This will be replaced with the current page title whatever page is being displayed.
If you want to add a link to a another page on the system then you can add {LINK(1013, Contact)}. This will create a link to the page number 1013 and add the text "Contact" (Contact).

All of the tags need to be enclosed in { } when used on the page and the tag needs to be entered in upper case. They may also have parameters. These are enclosed in ( ). Most of the time it is easier to enter the parameters by position separated by commas. So in the LINK example above, the first parameter is the Object ID of the page you want to link to and the second parameter is the text you want to be displayed on the page. Sometimes there may be a larger number of parameter options and using lots of commas to get to the correct parameter can be awkward and confusing to read. In this case, you can use a JSON list of parameters. So for the example above, you can use {LINK(1013, {"text":"Contact","class":"btn btn-primary"})}. The JSON list of parameters can only be used as the last parameter. A list of all parameters is detailed in the tag help.

When adding an Object ID as a parameter, it is a good idea to precede it with "#:". This helps the system to identify the number as an Object ID. This is essential if you are writing an application to be shared by other organisations as the Object IDs will need to be changed by the system when they import your application. So the example above, should be written {LINK(#:1013, Contact)}.

See below for a full list of tag commands and their explanations.

Page 1 of 1 (1 to 24 of 24)
Tag Description Structure
EDITABLE Create an editable area on the page {EDITABLE(name)}
IMPORT_FORM Display an import form for importing items to the Database {IMPORT_FORM(list_id, header, class, style)}
INPUT Add an input field to an input form {INPUT(link_id, obj_part, xml_tag, seq, ext_val)}
INPUT_BUTTONS Input Form Save and Cancel Buttons {INPUT_BUTTONS(buttons, caption, seq, class)}
INPUT_CANCEL_BUT Input Form Cancel Button {INPUT_CANCEL_BUT(caption, seq, class, style)}
INPUT_DEL Delete Object Button {INPUT_DEL(obj_id)}
INPUT_DEL_LINK Delete Relationship Button {INPUT_DEL_LINK(parent_id, rel_type, child_id)}
INPUT_EDIT Edit Object Button {INPUT_EDIT(obj_id, disp_type)}
INPUT_FORM Start Create an Input Form {INPUT_FORM(obj_type, class, style)}
INPUT_FORM_ID Return the ID of the current Input Form {INPUT_FORM_ID}
INPUT_GRC Google_Recaptcha (https://www.google.com/recaptcha/admin) {INPUT_GRC(site_key, secret_key)}
INPUT_INCLUDE Instruct the Input form to include relationships it would not normally include {INPUT_INCLUDE(...)}
INPUT_MODE Return the Current Input Mode {INPUT_MODE}
INPUT_NEW New Object Button {INPUT_NEW(par_id, obj_type, disp_type)}
INPUT_PREFILL Prefill input form elements {INPUT_PREFILL()}
INPUT_SAVE_BUT Input Form Save Button {INPUT_SAVE_BUT(caption, seq, class, style)}
META_TAG Add an HTML meta tag to the page header {META_TAG(name, content)}
OBJ_ADD Create a New Object on the database {OBJ_ADD(par_id, obj_type, char_data1, char_data2, text_data, friendly_name)}
OBJ_UPDATE Update an object on the database {OBJ_UPDATE(obj_id, obj_part, xml_field, value)}
OBJ_UPDATE_COMMIT Commit the object update changes {OBJ_UPDATE_COMMIT}
REL_ADD Add a Relationship Link to the database {REL_ADD(parent_id, rel_type, rel_level, child_id)}
REL_DELETE Delete a relationship Link on the database {REL_DELETE(parent_id, rel_type, child_id)}
REL_MODIFY Modify a relationship Level {REL_MODIFY(parent_id, rel_type, rel_level, child_id)}
SET_XML Sets an XML value in a variable {SET_XML(variable name, xml tag, value)}
Page 1 of 4 (1 to 50 of 184)
Tag Description Structure
ACCORDION Add Bootstrap Accordion to the Page {ACCORDION(query, sub_temp_query)}
AGE Determine the age between two dates {AGE(format, date, date_format)}
API_CALL Make a call to a prepared API service {API_CALL(api_alias, result_alias, path, method, params)}
API_CLEAR_RESULT Clears an API result from memory {API_CLEAR_RESULT(result_alias)}
API_DATA Returns a data field from an API response {API_DATA(result_alias, data_field)}
API_DATA_TO_XML Converts one or more API resource fields to an XML string {API_DATA_TO_XML(result_alias, data_fields)}
API_FOR_EACH Itterates over items in an API result {API_FOR_EACH(result_alias, data_field, row_alias)}
API_HEADER_SET Adds an HTTP header to send with an API call {API_HEADER_SET(alias, name, value)}
API_HEADER_UNSET Unsets a previously set HTTP header, or all, for the API call. {API_HEADER_UNSET(alias, name)}
API_SETUP Prepares for use of an API service {API_SETUP(api_alias, url, params, method, response)}
APP Append a string to the end of a variable. {APP(name, value, separator)}
AT Find the position of a string within another string {AT(needle, haystack)}
BASIC_DISP Return the Basic Display format specified in the objects list setup. {BASIC_DISP}
BLINK Add a button to the page to Link to another page. {BLINK(obj_id, text, param)}
CALL Call a predefined Function {CALL(name)}
CHAR Return a series of characters specified by their ascii value {CHAR(...)}
CHAT_SEND Send a Chat Message to another User {CHAT_SEND(user_id, text, level)}
CHAT_USERS Displays a list of Users for use in the Chat System. {CHAT_USERS(user_qty)}
CHOICE Display a checkbox that allows you to choose if other text is displayed. {CHOICE(obj_id, tag, class, target)}
CHOICES Displays a drop-down box on the page to allow for the selection of text to be inserted. {CHOICES(rel_id)}
CODE_LOOKUP Provide an input box and search button to lookup an object based on its ID or Code {CODE_LOOKUP(list_id, part)}
COID Return the current Object ID {COID}
COMMENT This will create an area for users to enter comments. {COMMENT(obj_id, options, login-text)}
COMPONENT Add one or more components to the current page. Use a list of IDs {COMPONENT(...)}
CRLF Returns Carriage return & Line Feed characters {CRLF}
DEV_MODE Return TRUE or FALSE for the current Development Mode {DEV_MODE}
DNAM Return the Domain Name {DNAM}
DNUM Return the current Domain Number {DNUM}
DOID Return the Domain Object ID {DOID}
DOMAIN Returns the domain URL {DOMAIN}
EDITABLE Create an editable area on the page {EDITABLE(name)}
EMAIL_BUTTON Add an email button to the page {EMAIL_BUTTON(obj_id, sub_temp, recipient, text, class, title, from)}
EMAIL_FILENAME Specify the name of the file to use when attaching the page as a PDF to an email {EMAIL_FILENAME(name)}
EMAIL_LINK Add an email link to the page {EMAIL_LINK(recipient, subject)}
EMAIL_LIST Display a list of emails sent or received {EMAIL_LIST(type, obj_id)}
EMAIL_SEND Send an Email {EMAIL_SEND(obj_id, sub_temp, recipient, from, subject)}
EMAIL_STATS Display a stats page for emails sent by the specified user {EMAIL_STATS(user_id)}
EMBED Embed an object in the page {EMBED(obj_id, sub_temp, minutes, mode)}
EMPTY Check if a string value is Empty {EMPTY(value)}
EVAL Evaluates a mathematical or logical expression {EVAL(expression)}
FAVICON Specify the url of the favicon to be used on the site {FAVICON(url)}
FIRST_LINE Return the first line from some text such as an address {FIRST_LINE(string)}
FOR_EACH Loop through a list of database items {FOR_EACH(query)}
FORMAT_DATE Format a date using the php date() function {FORMAT_DATE(format, date, date_format)}
FORMAT_NUM Format a number {FORMAT_NUM(number, dec, point, sep)}
FUNCTION Declare a function {FUNCTION(name)}
GET Return the value of a variable defined using the SET command {GET(name, default)}
GET_XML Get the value of an XML element held in a variable {GET_XML(variable name, xml tag, default)}
GLINK Glossary Link {GLINK(obj_id, text, sub_temp)}
GLINK_OFF Turn Glossary Links Off {GLINK_OFF}