close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Need some guidance on file uploads and project direction

Thread began 10/30/2020 11:20 am by sjones435326 | Last modified 11/03/2020 8:52 am by Ray Borduin | 276 views | 3 replies |

sjones435326

Need some guidance on file uploads and project direction

Hello, I need some guidance if anyone can point me in the right direction.
I am creating a CRM using DataBridge. I'm in the beginning stages planning out the schema. My biggest question is how to setup file uploads? I want to be able to have multiple files uploaded and associated with a contact. I have created an uploads table in the DB that would hold three columns
[id] [contact_id] [fileName]
When I upload a .pdf file for the contact, I want to store those three values in the uploads table using the contact_id as the key that connects the contacts table with the uploads table.
I would then like the details page to be able to return the query from the contacts table and also return the fileName from the uploads table that share the same contact id ( uploads:contact_id = contacts:id )
If anyone understands what I’m trying to achieve can you please point me in the right direction? Maybe include a link to a tutorial or give your input as to how you might handle this scenario.

I have included the DB file, it may shed some light on what I'm trying to do.

Attached Files
base_crm_2020.sql
Sign in to reply to this post

Ray BorduinWebAssist

I don't really see any questions I could answer in your post. I think I understand what you are trying to do, and your strategy seems sound. I'd jump in and start working on it and then post back here when you have specific questions.

Sign in to reply to this post
Did this help? Tips are appreciated...

sjones435326

Hey Ray, is there a specific tutorial that shows how to do file uploads that would take the contact_id from the current contact which is displayed using the "contacts" table and when I upload a file for that contact, I want to store the file on the server and update the "uploads" table with the contact_id and the file name. If there is no tutorial, I can get myself to that point and then I will follow up this post with a more specific question regarding updating the recordset. If you know of a tutorial please supply the link or hang with me and I will reach out when I get to that point.

Sign in to reply to this post

Ray BorduinWebAssist

I don't know of a tutorial, but it should be pretty straightforward to help you if you run into any problems.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...