Skip to content

Template Elements

"name": "Contacts",

"formColor": "#f1f1f1",

"hideCommandBar": true,

"summaryDescriptionRule": "",

"summaryNameRule": "Connection: {{{connectionReference}}} - {{{contactRel.0.name}}}",

"commandBarCSS": { "background": "#4285F4" },

"excludeGeneralSearch": true

"altTemplateIds" : []

"components": [
     {
"systemHeader": {
    "templateId": "74746c80-8378-11e6-99b1-71ee944cf59f",
    "systemType": "template",
    "summaryName": "Menu",
    "createdWith": "74746c80-8378-11e6-99b1-71ee944cf59f",
    "excludeGeneralSearch": false,
    "keyIds": [],
    "createdDate": "2018-12-03T03:28:06.188Z",
    "createdBy": "54241510a414318a5e7a909e",
    "versionId": "72df56c0-f6ab-11e8-901a-77b694427d3d",
    "currentVersion": true,
    "serverUpdatedDate": "2018-12-03T03:28:06.269Z",
    "serverCreatedDate": "2018-12-03T03:28:06.269Z",
    "previousVersionId": "69a4ab00-f6ab-11e8-901a-77b694427d3d"
},

"attachKeys" :

"documentId": "74746c80-8378-11e6-99b1-44ee944cf59f",

"systemTypeOverride": "template"

"systemTypeOverride": "account" /

"systemTypeOverride": "configuration"

"onLoadClientRuleRel": [
    {
        "documentId": "3954f480-ee0b-11e8-ae4c-71eca2027773",
        "name": "CRM - Menu - OnLoad"
    }
],
"onFieldChangeClientRuleRel": [
    {
        "documentId": "d34e7f50-f11e-11e8-8e7c-6f35abeb9c95",
        "name": "CRM - Menu - OnFieldChange"
    }
],
"preSaveClientRuleRel": [
    {
        "documentId": "a1a2ed90-f12a-11e8-be1b-6d5aae826e51",
        "name": "CRM - Menu - PreSave"
    }
],


"menu": [
    {
        "icon": "",
        "isFieldtecApp": true,
        "load": "",
        "name": "Menu",
        "subMenu": [],
        "address": "/form/bc8b7260-ec59-11e8-b0a0-7786a4732180",
        "description": ""
    },

"disableVersioning": true,

"formNavBar": {
    "hideCameraButton": true,
    "hideCreateButton": true,
    "hidePrintButton": true,
    "hideDeleteButton": true
}

Form Navigation Bar Configuration

The formNavBar object allows you to control the visibility of various buttons in the form navigation bar. All properties are optional and default to false (buttons are visible).

Available Properties:

  • hideCameraButton (boolean): When set to true, hides the camera/upload button that allows users to add photos to documents. Only available for existing documents (not new documents).

  • hideCreateButton (boolean): When set to true, hides the "Create New" button that allows users to create new documents. This button is only shown if the user has create permissions.

  • hidePrintButton (boolean): When set to true, hides the print button that allows users to print the current document.

  • hideDeleteButton (boolean): When set to true, hides the delete button that allows users to delete the current document. This button is only shown if the document is deletable and the user has delete permissions.

Example Usage:

{
  "formNavBar": {
    "hideCameraButton": true,
    "hideCreateButton": false,
    "hidePrintButton": true,
    "hideDeleteButton": true
  }
}

This configuration would hide the camera, print, and delete buttons while keeping the create button visible.

Notes:

  • Button visibility is also controlled by user permissions and document state
  • The delete button only appears for existing documents that are deletable
  • The camera button only appears for existing documents (not new documents)
  • The create button only appears if the user has create permissions for the template

Command Bar Visibility

The hideCommandBar property controls the overall visibility of the command bar in the form interface.

Property:

  • hideCommandBar (boolean): When set to true, completely hides the command bar that contains all action buttons (save, print, create, delete, camera, etc.) and the summary name display.

Example Usage:

{
  "hideCommandBar": true
}

This would completely hide the command bar, providing a cleaner interface focused solely on the form content.

Notes:

  • When hideCommandBar is true, all individual formNavBar button controls are ignored since the entire command bar is hidden
  • The command bar includes the save button, undo/redo functionality, template name, summary name, and all action buttons
  • This is useful for creating read-only or simplified interfaces where user actions should be limited
  • The default value is false (command bar is visible)

Comparison with formNavBar:

  • hideCommandBar: Hides the entire command bar
  • formNavBar: Hides specific buttons within the command bar while keeping the bar itself visible

Use hideCommandBar when you want to completely remove the command interface, and use formNavBar when you want to selectively hide specific buttons while keeping others available.