Multiple attachment files (bin)
Multiple attachment files (bin)
Hi.
We are using TDMobile to insert files (mostly pictures) to DB. Currently we have only one data field of type "file" in the page.
I would like to insert multiple files in one action.
I tried to use table control, but can't attach binary bindings to data field in a table.
Is it possible to have multiple file/binary fields in a table or is there anothe way to implement this.
Naturally, it is possible to add fixed number of fields to page, but that does not sound nice.
We are using TDMobile to insert files (mostly pictures) to DB. Currently we have only one data field of type "file" in the page.
I would like to insert multiple files in one action.
I tried to use table control, but can't attach binary bindings to data field in a table.
Is it possible to have multiple file/binary fields in a table or is there anothe way to implement this.
Naturally, it is possible to add fixed number of fields to page, but that does not sound nice.
Multiple attachment files (bin)
You can use a list view?
Multiple attachment files (bin)
BTW, how do you select multiple pictures?
Multiple attachment files (bin)
Idea was to use table, so you could add rows to add more files. So there would be new row with file type data field for each file.
Then you could select file by clicking the select file button, that is in data field.
In list view it is not so easy to add new rows by user.
Then you could select file by clicking the select file button, that is in data field.
In list view it is not so easy to add new rows by user.
Multiple attachment files (bin)
And it seems that you can't add a Data Field to a List View.
Multiple attachment files (bin)
I don't get it. How would you add a picture to a data field? It would compulsorily have to be an image field. You make an array of strings which would be the image paths and declare it as the binds for the list view.
You do not have the required permissions to view the files attached to this post.
Multiple attachment files (bin)
With current TDMobile version, I do not think so whether you can add multiple attachments in single action. Hope we may get it this in the future.
I am not sure whether the below suggestion is expected to have it in your design as your requirement is not mentioned in the thread.
1. As mentioned in this thread. Keep the list view in anywhere of your single page application.
2. Use file upload and button to keep uploading to this list view. you can keep this list view as child listview if you have the main list view to show one to many rows. The page will not get refreshed as this is working through AJAX.
Or, you can always go with 3rd party control and or your own script like the below one and then associate with TDMobile Bindings.
but again, I am not sure whether I fully understood your expectation
I am not sure whether the below suggestion is expected to have it in your design as your requirement is not mentioned in the thread.
1. As mentioned in this thread. Keep the list view in anywhere of your single page application.
2. Use file upload and button to keep uploading to this list view. you can keep this list view as child listview if you have the main list view to show one to many rows. The page will not get refreshed as this is working through AJAX.
Or, you can always go with 3rd party control and or your own script like the below one and then associate with TDMobile Bindings.
but again, I am not sure whether I fully understood your expectation

Multiple attachment files (bin)
User is saving files from TDMobile. So the Data Field is of type File, where you can select file from device.
No pictures are shown in data field, but the filename, which user is entering.
No pictures are shown in data field, but the filename, which user is entering.
Multiple attachment files (bin)
Idea is to have multiple Data Field like this in table.
In list view there can't be any Data Fields. Current version is TDMobile 2.1
In list view there can't be any Data Fields. Current version is TDMobile 2.1
You do not have the required permissions to view the files attached to this post.
Multiple attachment files (bin)
But you cannot have an image in a data field. Only the path to the image....
Multiple attachment files (bin)
as i said, with workaround, you keep list view in the first half of the page. in the second half the page, you keep all the fields including image field. I feel this is typical design even in TD apps.
No need to go with table window as this will not support now.
No need to go with table window as this will not support now.
Who is online
Users browsing this forum: [Ccbot] and 0 guests