DMXzone Data Importer Support Product Page

Answered

Do we still use data bindings and executors now that we have app connect?

Asked 16 Mar 2018 12:21:47
1
has this question
16 Mar 2018 12:21:47 Bruce Wilkie posted:
Hi there.

I'm going through csv import tutorial at www.dmxzone.com/go/32578/dmxzone-data-importer-and-exporter-manual/32573/importing-data-into-a-database-from-csv-or-xml and at 4:40 it tells me to create a server executor in the Data Bindings panel.

Do we still use data bindings and executors now that we have app connect?

Replies

Replied 16 Mar 2018 12:28:47
16 Mar 2018 12:28:47 Teodor Kuduschiev replied:
Hi Bruce,
no ... you just use app connect to run the server actions instead of the executors.
Replied 16 Mar 2018 13:41:44
16 Mar 2018 13:41:44 Bruce Wilkie replied:
Thanks Teodor

How do Ido that? Is there an up-to-date video tutorial I can follow?
Replied 16 Mar 2018 13:51:06
16 Mar 2018 13:51:06 Teodor Kuduschiev replied:
Well, it is really really easy, the same way you do this as any other action in app connect, which you require to run on click ...
- In app connect add a server connect component and select your server action importing your data. Select no auto run chekbox.
- Select your button, add dynamic event > mouse > onclick > run your server action.
Replied 16 Mar 2018 15:43:11
16 Mar 2018 15:43:11 Bruce Wilkie replied:
Thanks Teodor

Should I change the button next to the file field I'm using to upload the csv file from type="submit" to type="button" before applying the onclick?

And do I need to somehow specify that the tile I'm going to import is the one selected using the file field?
Replied 16 Mar 2018 15:43:50
16 Mar 2018 15:43:50 Teodor Kuduschiev replied:
You do not need a submit button, it should be some simple button.
Replied 19 Mar 2018 10:58:58
19 Mar 2018 10:58:58 Bruce Wilkie replied:
Thanks Teodor

I've changed it to a button now.
I've added in a server connect using App Connect.
I've clicked on the button on the page.
What do I click on next?
Replied 19 Mar 2018 11:01:54
19 Mar 2018 11:01:54 Teodor Kuduschiev replied:
Oh sorry, the whole time i was referring to the exporter.

For importer, just change the button to submit. Select your form on the page, and in app connect panel set its handler to server connect, then just select your server action there and you are done.
Replied 19 Mar 2018 11:31:49
19 Mar 2018 11:31:49 Bruce Wilkie replied:
Hi Teodor

I've tried that now but unfortunately it's not working.

Also, I've put in some test data into the database to display in a table on the page but that's not showing either. it's showing the rows, just not the content.

I just followed the video you guys have on repeat regions at www.dmxzone.com/go/32764/dmxzone-app-connect-manual/32765/working-with-repeat-regions

I'm wanting to attach the code for the page but I can't see how. Tried pasting into this form but that just caused an error.

Any idea what I'm doing wrong?

regards
Bruce
Replied 19 Mar 2018 11:40:32
19 Mar 2018 11:40:32 Bruce Wilkie replied:
Hi again Teodor

I've figured out the repeater problem. For some reason it was inserting extra code:

eg. {{repeat1[0].driver_name}} instead of just {{driver_name}}

I've manually edited all the fields now so the repeater works.

But still not able to import the file. Can I send you the page somehow?

Bruce
Replied 19 Mar 2018 11:49:56
19 Mar 2018 11:49:56 Teodor Kuduschiev replied:
Please send me a link to your page, as well as the file you are trying to import to:
Replied 19 Mar 2018 12:07:02
19 Mar 2018 12:07:02 Bruce Wilkie replied:
Hi Teodor
Files just sent

Reply to this topic