Picture of Lutz 2512
Registered 9 years 159 days
Lutz 2512 Thursday, 9 September 2021, 11:00 AM
JS SDK and Database Version 13r2
hi
maybe i'm too blind but the docs aren't viable (at least for me) to get enough info to achieve saving and reading values from and to database.


i need a way to save the actual user and save and read one or more values for this user


greetings lm


Picture of Lutz 2512
Registered 9 years 159 days
Lutz 2512 Saturday, 11 September 2021, 12:01 AM
Re: JS SDK and Database Version 13r2
I found the infos myself. I have been to blind.
Thanks
Picture of Anton
Registered 5 years 109 days
Anton Tuesday, 30 November 2021, 04:42 PM
Re: JS SDK and Database Version 13r2
Hi Lutz,
I'm currently trieng to access the database.

How did you manage to do it?
Can you refer me to the right page on the docs or show any example =)

Thanks and regards
Anton
Andreas Fink
Moderator Registered 13 years 45 days
Andreas Fink (innovaphone) Monday, 6 December 2021, 05:21 PM
Re: JS SDK and Database Version 13r2
Hello Anton,

just for documentation purposes, the answer depends on, if access to the database is done from from app service or the app client.

Library for database access from the JavaScript app service is documented here:
https://sdk.innovaphone.com/13r2/doc/reference.htm#JS_library_service => Database


It is also possible to use prepared statements from the App Client:
https://sdk.innovaphone.com/13r2/doc/appgeneric.htm#client

The prepared statements must be defined first in the JavaScript Runtime conig.json https://sdk.innovaphone.com/13r2/doc/appgeneric.htm#config-database

In this case no JS source code is required on the app service side.

Best Regards
Andreas Fink
← You can define your color theme preference here