Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

To define your server-wide global data:

  1. There is no default _data.properties file. You must create one using a simple text editor such as Textpad.
  2. Add your global data to the _data.properties file. See below for an example of the syntax. Save the file.
  3. Login to the form server as the superuser admin
  4. Click Manage Default _data
  5. Click Image RemovedDownload on the Download Default _data propertiesAdd your global data to the downloaded Browse...
  6. Locate your newly created _data.properties file using a simple text editor such as Textpad.
  7. Click Browse...Select your edited Upload.
  8. For subsequent edits of the _data.properties file, simply download the _data.properties file previously uploaded by clicking on the Image Added Download icon. Edit the file and upload the modified file as described above.

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

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

You will see the following message If you click on the Image Added Download icon and an _data.properties file has not been uploaded to :

Image Added

Info

Parameters defined in the _data.properties file can be retrieved using _data.getParameter in rules. Here is an example showing how you can set the value of control labels, help and hints dynamically in a rule.