I’m confused, stuck

How to connect a database object to a todo list and upload multiple files to a specific object?

Hi there!

I'm building a job card app for a client.

I have a collection for Jobs and for JobTasks.

I'm trying to add a ToDo list (JobTasks) within a 'Jobs' object from the database. Every Job uploaded to the database has its own todo list. I've created a pointer from the Jobs Collection to the JobTasks Collection. How do I create a list unique to each Job Object?

Also, once the job is completed the user must upload photos (multiple) with a description of each photo. How do I link the specific files to the Job object? I know to use the Cordova Upload or the Camera Service but how do I point those files into the correct job object?

I hope what I'm asking makes sense.
1 person has
this question
+1
Reply