Skip to main content
Version: 10.

Template Settings

Every FormDefinition folder can have an index.json file. It is used to mimic server settings during development.

Note

Changes to the file are only applied after restart of the formDev.

example index.json
{
"title": "Example",
"culture": "en-US",
"attachments": [],
"flags": {
"Form.New": true,
"Form.Delete": true,
"Form.Copy": true,
"Form.ReturnToGroup": true,
"Form.CopySubmitted": false,
"Form.View": true,
"Feature.Picture": true,
"Feature.Sketch": true,
"Feature.CustomSketchTemplate": true,
"Feature.Audio": true,
"Feature.Map": true,
"Feature.Document": true,
"Form.LazyLoading": false,
"Feature.showDetail": true,
"PDF": true,
"PDF.Picture": true,
"PDF.Sketch": true,
"PDF.Audio": true,
"PDF.Map": true,
"PDF.Document": true,
"PDF.PageCounter": true,
"Picture.ReadOnly": false,
"Sketch.ReadOnly": false,
"Audio.ReadOnly": false,
"Map.ReadOnly": false,
"Document.ReadOnly": false,
"Listpage.SortGroupFilter": false,
"Form.ListPageFavorites": true,
"Form.ScanSearch": false
},
"catalogs": {
"useProxy": true,
"useOdataProxy": true,
"host": "example.hybridforms.net"
}
}
PropertyHow to useDescription
title"title": "Example"The displayed Form Title in the App.
culture"culture": "en-US"Set the Form's language culture.
attachments"attachments": ['testfile.html']Specify all used files for the FormDefinition. If property is not set or the array is empty, all files are used.
flags"flags": { "FormDev.PDFDebug": true }Set Form flags for PDF debugging. Read more
catalogs"catalogs": { "host": "example.hybridforms.net" }Configure catalogs proxy. Read more

Flags​

PropertyDescription
FormDev.PDFDebugStart a headful chromium instance after Form PDF is rendered to debug CSS stylings.
Form.NewAllow users to create new Forms.
Form.DeleteAllow users to delete Forms.
Form.CopyAllow Form copying. A new Form is created and populated with the data. If several stages are defined, the new Form is created in Stage 1.
Form.ReturnToGroupEnable "Back to group" function for Forms.
Form.CopySubmittedAllow copies of approved Forms. A new Form is created and populated with the data. If several stages are defined, the new Form is created in Stage 1.
Form.ViewEnabling Form preview. The preview shows how the Form will look like in the PDF version. Note: This is a developer feature and should be disabled in the production environment.
Feature.PictureEnable the Picture feature.
Feature.SketchEnable the Sketch feature.
Feature.CustomSketchTemplateEnable the option to use images from the Picture and Maps feature as sketch templates.
Feature.AudioEnable the Audio feature.
Feature.MapEnable the Maps feature.
Feature.DocumentEnable the Document feature.
Feature.showDetailAfter creating or uploading an image/sketch/audio/map/file element, the detail information page opens. If not active, e.g. several photos can be taken one after the other without a detail dialog.
PDFEnable PDF creation.
PDF.PictureImages with the detailed information are attached to the Form pages in the PDF by default.
PDF.SketchSketches with the detailed information are attached to the Form pages in the PDF by default.
PDF.AudioAudio detail information is appended to the Form pages in the PDF by default.
PDF.MapMaps with the detailed information are attached to the Form pages in the PDF by default.
PDF.DocumentDocument detail information is appended to the Form pages in the PDF by default.
PDF.PageCounterActivate page numbering in the PDF file.
Picture.ReadOnlyDisable the camera/upload and editing features in the Picture feature.
Sketch.ReadOnlyDisabling the ability to draw and edit in the Sketch feature.
Audio.ReadOnlyDisabling the recording and uploading option in the Audio Feature.
Map.ReadOnlyDisabling the ability to create and edit in the Maps feature.
Document.ReadOnlyDisabling the upload option in the Document feature.
Listpage.SortGroupFilterEnabling Form sorting feature, grouping feature, filtering feature and action submenu on Form listing page.
Form.LazyLoadingShow Form as soon as first page is available.
Form.ListPageFavoritesCreation of favorites for the presentation of the objects on the Form listing page.
Form.ScanSearchEnable use of barcode scans for search function on Form listing page.

Catalogs​

PropertyHow to useDescription
host"host": "example.hybridforms.net"Set the host server for the reverse proxy server from which catalogs are fetched. More details
useProxy"useProxy": trueEnable/disable catalogs from proxy for ComboBox and DropDownList with url property set. Default value is false.
useOdataProxy"useOdataProxy": falseEnable/disable catalogs from proxy for ComboBox and DropDownList with OData source. Default value is true.