Child pages
  • Working with database fields in ConfiForms

Versions Compared

Key

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

If you are new to ConfiForms please take a look at less complicated tutorials first to get yourself familiar with ConfiForms

Creating a simple form

Multiple ways to show your form data

Basic concepts

 

Since version 1.20 of ConfiForms you are now able to source the data for your fields in ConfiForms directly from your databases. This requires your database to be accessible from your Confluence server and you need to provide the connection configuration, before you can use those fields. More on this below.

...

ConfiDoc Excerpt Macro
rootdiv id="db_drivers"
values8159330
serviceId54196d34-4e26-4e0b-801b-b565e28fc70f

 

You configuration for connecting to PostgreSQL will look something like this:

Image Added

 

When it is saved, you will be able to use it in one of the DB fields:

Image Added

That's it - you field is ready!

Of course you can re-use your database connections, have multiple DB fields on the same form, etc. Fields behave and act as normal ConfiForms fields.

In exports to Excel and CSV their labels will be used, for exports as JSON/XML we will export their internal ID's