Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Connection failed because environment is not trusted

Avatar

Not applicable
Alright I created a form, created a connection to my SQL database, and dropped all of the database fields onto the form. At the bottom of my form I added a submit button with the following code:



topmostSubform.Page2.Submit::click - (JavaScript, client)

xfa.sourceSet.RunSQLDataConnection.addNew()



When I try to preview the form in either LiveCycle or on my website I get the following error:



Connection failed because environment is not trusted



Can any help?
0 Replies