Tools
Sign in
Login
Forum
Saving input data into database
Forum
>
Ask Anything
>
Saving input data into database
n/A
posted
on November 11, 2013
at 12:47 PM
n/A
posted
on November 11, 2013
at 12:47 PM
Hi,
I am building one application using appway where user can save data in database after entering data in the input form. Please can you let me know how to insert form data in the database using appway scripting language. Thanks
n/A
replied
on November 11, 2013
at 2:06 PM
n/A
replied
on November 11, 2013
at 2:06 PM
Hi,
you can read the following documents to learn more about Data Management and persistence to a DB in Appway:
https://developer.appway.com/screen/ViewDocument/bookId/1272417269542
https://developer.appway.com/screen/ViewDocument/bookId/1272417267810
Please let me know if you have any question afterwards.
n/A
replied
on November 11, 2013
at 7:09 PM
n/A
replied
on November 11, 2013
at 7:09 PM
Hi Mauro,
Thanks for your quick reply. Actually we need to depend only on appway forum to get our concept cleared as there are no other help available anywhere.The documents really help me a lot in understanding the concept. The script function
SaveDataEntity
must be used for inserting a new record or updating an existing record.
Please can you let me know how to call the script function onclick of save button and how to map text field values with the data class properties. That will be really helpful.
n/A
replied
on November 13, 2013
at 2:36 PM
n/A
replied
on November 13, 2013
at 2:36 PM
Hi Saswata,
to call a script function when clicking on a button you can attach a Script Action to the onclick event in the Actions tab of the Button component.
A text field can be mapped to a variable property (DataClass defines the type, you can map the text field to a variable which is a specific instance of that type) by specifying the binding property of that text field to match the variable name and property path (e.g. $client.firstName).
Those topics are covered as a part of the fundamental and developer Appway training programs, you might want to check our training offering:
http://www.appway.com/academy
Please
sign in
to add a reply
About this site
|
Terms of use
|
Privacy statement
|
Contact us
© 2025 Appway AG. All Rights Reserved.
I am building one application using appway where user can save data in database after entering data in the input form. Please can you let me know how to insert form data in the database using appway scripting language. Thanks