Need help uploading graphic to collection
Greetings,
I have spent an inordinate amount of time searching through tutorials and this forum for a solution. The posts available are either out of date or do not provide a working solution.
The issue at hand is probably a requirement for a large number of users and one would expect a definitive solution to be readily available.
I want to allow a user to take a photo, (or hopefully) select a jpeg file, and upload the file to one of my collections where it can be used in a master/detail set.
Apparently all uploads must go to the Files collection and there appears to be no easy solution for transferring the file name to a specific record in a user collection.
Thus far I have tried using the upload success event to map the graphic file name and the image url to a storage variable. I then tried to create a new record in a collection and map the graphic file name or url from storage.
Unfortunately, all these attempts cause the create service to fail. I can upload a photo from the camera service to the Files collection and store the url and file name to storage variables, however I cannot update or create a collection record with a valid graphic file.
Please note I have done all the relevant photo and upload tutorials. I have searched extensively with no success. I have mapped and remapped dozens of times.
I would appreciate assistance with this issue.
Thanks,
Vince