Using HASH Variable in the Database Update tool

Confluence User - 14 Jun, 2022

INSERT INTO Table (c_field) VALUES ("#form.Table1.field#");

I'm using this query to insert a value using data base update tool, but I couldn't get the expected result.

Help me to resolve this...

forms;databaseupdatetool

1


16 Jun, 2022
confluenceUser
confluenceUser

Any Joget JDBC database INSERT needs to include the "id" which is a primary key (Sample applies to SELECT). The example below used the "{uuid}" function to tell the DB to assign a random value:

INSERT app_fd_table_child
   (id,
    c_name,
    c_emailAddress,
    c_contactTel)
VALUES ({uuid},
    {name},
    {emailAddress},
    {contactTel})
RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print