...
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:
- Login to the form server as the superuser admin
- Click Manage Default _data
- Click Download on the Download Default _data properties
- Add your global data to the downloaded _data.properties file using a simple text editor such as Textpad
- Click
...
- Browse...
- Select your edited _data.properties file
Here is an example of the syntax for a _data.properties file:
Code Block |
---|
dbUrl=http://localhost:8080/database/listManagers
ManagerName=Joe |