Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 makes deployment from dev/test to production easier by enabling you to configure global data variables. For example, rather than hard-coding the Url to your database server you can write the Url using a template such as {dbUrl}/database/listManagers. Then define variable dbUrl one way in dev/test and another way in production.

To see all the places where templates can be used, refer to the chapter Templatized Strings.

To define your server-wide global data:

  1. Login to the form server as the superuser admin
  2. Click Manage Default _data
  3. Click Download on the Download Default _data properties
  4. Add your global data to the downloaded _data.properties file using a simple text editor such as Textpad
  5. Click

...

  1. Browse...
  2. Select your edited _data.properties file

Image Added

 Here is an example of the syntax for a _data.properties file:

Code Block
dbUrl=http://localhost:8080/database/listManagers
ManagerName=Joe