DMXzone Server Connect Support Product Page
How do i delete a file now I'm using App Connect instead of Data Bindings?
Asked 30 May 2017 09:26:51
1
has this question
30 May 2017 09:26:51 Bruce Wilkie posted:
Hi thereThe video tutorial says to use Data Bindings. But I'm now using App Connect. What do I do at the end when deleting a file now that I can't use Data Boindings?
thanks
Bruce
Replies
Replied 30 May 2017 10:14:22
30 May 2017 10:14:22 Teodor Kuduschiev replied:
Hi Bruce,
Which tutorial are you referring to?
Which tutorial are you referring to?
Replied 30 May 2017 10:24:03
30 May 2017 10:24:03 Bruce Wilkie replied:
Hi Teodor
It's the "Delete Database Records" video in the Server Connect manual at www.dmxzone.com/go/32190/dmxzone-server-connect-manual/23306/delete-database-records
AT 2:10 it switches over to Database Bindings. I've followed the steps up to that point but when I switch over to App Connect and click on the link I want to use to delete the record, in the App Connect Properties area, there is a heading called 'Text Data Bindings'. How do I link that to the Server Action I've created to delete the record?
Also, the next step I'll be wanting to do is to delete a file as well as the record, but just need to get this step done first so any help you can give is greatly appreciated
Bruce
It's the "Delete Database Records" video in the Server Connect manual at www.dmxzone.com/go/32190/dmxzone-server-connect-manual/23306/delete-database-records
AT 2:10 it switches over to Database Bindings. I've followed the steps up to that point but when I switch over to App Connect and click on the link I want to use to delete the record, in the App Connect Properties area, there is a heading called 'Text Data Bindings'. How do I link that to the Server Action I've created to delete the record?
Also, the next step I'll be wanting to do is to delete a file as well as the record, but just need to get this step done first so any help you can give is greatly appreciated
Bruce
Replied 30 May 2017 13:49:38
30 May 2017 13:49:38 Bruce Wilkie replied:
Hi again Teodor.
Just wondered if you'd managed to figure this out yet? I've been trying clicking on all sorts but I'm totally stumped
regards
Bruce
Just wondered if you'd managed to figure this out yet? I've been trying clicking on all sorts but I'm totally stumped
regards
Bruce
Replied 31 May 2017 06:39:55
31 May 2017 06:39:55 Teodor Kuduschiev replied:
Hi Bruce,
Please check the last reply in this topic: www.dmxzone.com/support/32763/topic/61833
It explains how to do it now.
I am currently working on updating all of the old tutorials, but it takes a while since they quite many. Thanks for your patience.
Please check the last reply in this topic: www.dmxzone.com/support/32763/topic/61833
It explains how to do it now.
I am currently working on updating all of the old tutorials, but it takes a while since they quite many. Thanks for your patience.
Replied 31 May 2017 11:34:07
31 May 2017 11:34:07 Bruce Wilkie replied:
Thanks Teodor.
Looking at that thread it seems we can only delete records by creating a form with a hidden field and a submit button now that we are using App Connect.
Is that correct, or is there a way to do it with a link?
Bruce
Looking at that thread it seems we can only delete records by creating a form with a hidden field and a submit button now that we are using App Connect.
Is that correct, or is there a way to do it with a link?
Bruce
Replied 31 May 2017 11:58:10
31 May 2017 11:58:10 Bruce Wilkie replied:
Hi again Teodor
I've tried implementing this but I now have another problem. I can't bind the record ID to the hidden field. When I try the value becomes "[object Object]".
I can bind any other field within the database table and it shows the value fine. Only when I try to bind the record Id does it enter the value "[object Object]".
Also, I can display the record ID just above the form and it shows fine. Only when I bind it to the text field does it show the value "[object Object]".
code below (I've turned the hidden field into a text field so I can easily read the value):
##################
<div class="thumbnail_pics" id="repeat1" is="dmx-repeat" dmx-bind:repeat="serverconnect1.data.query1">
<div class="thumb_box">
<p><a href="../images/gallery_pics/" rel="lightbox[gallerypics]" title=""><img alt="" dmx-bind:src="../images/gallery_pics/thumb_{{pic_file}}"></a></p>
<p>#{{pic_order}}</p>
<p>id: {{pic_id}}</p>
<p><a href="gallery_pic_edit.php?pic_id=">Edit</a> | </p>
<form id="form1" name="form1" method="post">
<input name="pic_id" type="text" id="pic_id" size="10" dmx-bind:value="pic_id">
<input type="submit" name="Delete" id="Delete" value="Delete">
</form>
<p><a href="">Delete</a></p>
</div>
</div>
####################
I've also tried using
dmx-bind:value="{{pic_id}}">
but that doesn't work either.
If I use
dmx-bind:value="{{pic_order}}">
or
dmx-bind:value="pic_order">
then it shows the value of the record field 'pic_order' just fine.
What am I doing wrong? Please help. Today if at all possible would really help me.
thanks
Bruce
I've tried implementing this but I now have another problem. I can't bind the record ID to the hidden field. When I try the value becomes "[object Object]".
I can bind any other field within the database table and it shows the value fine. Only when I try to bind the record Id does it enter the value "[object Object]".
Also, I can display the record ID just above the form and it shows fine. Only when I bind it to the text field does it show the value "[object Object]".
code below (I've turned the hidden field into a text field so I can easily read the value):
##################
<div class="thumbnail_pics" id="repeat1" is="dmx-repeat" dmx-bind:repeat="serverconnect1.data.query1">
<div class="thumb_box">
<p><a href="../images/gallery_pics/" rel="lightbox[gallerypics]" title=""><img alt="" dmx-bind:src="../images/gallery_pics/thumb_{{pic_file}}"></a></p>
<p>#{{pic_order}}</p>
<p>id: {{pic_id}}</p>
<p><a href="gallery_pic_edit.php?pic_id=">Edit</a> | </p>
<form id="form1" name="form1" method="post">
<input name="pic_id" type="text" id="pic_id" size="10" dmx-bind:value="pic_id">
<input type="submit" name="Delete" id="Delete" value="Delete">
</form>
<p><a href="">Delete</a></p>
</div>
</div>
####################
I've also tried using
dmx-bind:value="{{pic_id}}">
but that doesn't work either.
If I use
dmx-bind:value="{{pic_order}}">
or
dmx-bind:value="pic_order">
then it shows the value of the record field 'pic_order' just fine.
What am I doing wrong? Please help. Today if at all possible would really help me.
thanks
Bruce
Replied 31 May 2017 12:00:12
31 May 2017 12:00:12 Bruce Wilkie replied:
It says this question has been answered at the top of the page so I don't know if that means you can't reply to it now.
Am going to post a new question about the above just in case that's the only way you'll see it.
Will also post a new question about using a link to delete instead of a button. Again just in case it's required.
Bruce
Am going to post a new question about the above just in case that's the only way you'll see it.
Will also post a new question about using a link to delete instead of a button. Again just in case it's required.
Bruce
Replied 31 May 2017 12:04:52
31 May 2017 12:04:52 Teodor Kuduschiev replied:
Hello Bruce,
Please do not post the same question twice.
I am not sure i understand the issue you are reporting. Please send us a screenshot of what exactly are you seeing and are you selecting ...
Please do not post the same question twice.
I am not sure i understand the issue you are reporting. Please send us a screenshot of what exactly are you seeing and are you selecting ...
Replied 31 May 2017 12:06:57
31 May 2017 12:06:57 Bruce Wilkie replied:
OK, will do.
How do I send a screenshot on this system? Can I upload a JPG file?
How do I send a screenshot on this system? Can I upload a JPG file?
Replied 31 May 2017 12:07:50
31 May 2017 12:07:50 Teodor Kuduschiev replied:
You can just use our support email:
Replied 31 May 2017 12:31:46
31 May 2017 12:31:46 Bruce Wilkie replied:
OK, I've just sent screenshots