DMXzone App Connect Support Product Page

Answered

Update recordes with appconnect

Asked 20 Nov 2017 21:07:53
1
has this question
20 Nov 2017 21:07:53 manuel pinto posted:
Can i expect a tutorial to Update records with appconnect and without using bootstrap?

Replies

Replied 21 Nov 2017 07:47:15
21 Nov 2017 07:47:15 Teodor Kuduschiev replied:
Hello Manuel,
Our tutorial uses Bootstrap 3 as the generators are based on Bootstrap 3.
Actually Bootstrap 3 is what we recommend for building modern responsive websites, why do you deny using it?
You can create an update record form the following way:
1. Create a server action with the query which returns all the results.
2. Create another server action with the same query, but this time filtered by a get variable.
3. On your page add server connect component and create the list of records, using the query returning all the records.
4. On your page, in app connect create a variable.
5. On click of the records which you created in step 4, dynamic events > variable > set value > select the id here.
6. Add another server connect component, from the filtered query, and in the get variable field set the variable value.
7. Create your update form and bind the vlaues from the filtered query to it.
8. Now in server connect create the update action and add it on the page, on submit.
Replied 21 Nov 2017 12:35:55
21 Nov 2017 12:35:55 manuel pinto replied:
Hi,

i prefer not to use bootstrap because it changes my original page style.
Thanks for the instructions on how to update records without bootstrap
Replied 21 Nov 2017 12:41:35
21 Nov 2017 12:41:35 Teodor Kuduschiev replied:
You are welcome.
The idea of Bootstrap is to build your whole website using it, not to use it just on some pages.
Replied 27 Nov 2017 21:35:34
27 Nov 2017 21:35:34 manuel pinto replied:
Hi. Keep trying but can't get this working. Is it possible to build an update of this function? We have the delete, insert ... so, how about the update????
Replied 28 Nov 2017 09:20:06
28 Nov 2017 09:20:06 Teodor Kuduschiev replied:
Hi Manuel,
Please make sure to follow the steps listed above. Or just use the bootstrap 3 generator and copy the form without the bootstrap 3 classes ...
Replied 28 Nov 2017 12:17:19
28 Nov 2017 12:17:19 manuel pinto replied:
Not an easy task ... i copy the bootstrap form and then paste without classes and everything works
But, i really wish to have a video tutorial about this ...
Thanks for the support

Reply to this topic