
Announcements
Dear all,
I was a silent reader for months now and it helped me lot in developing my PA skills. Thanks to all the unknown heroes 😄
I am creating an offline app for several types of inspections and I fail in implementing pictures to my collection.
My approach is:
1) Loading the inspection questionnaire into a collection
2) Using a gallery to display the collection and utilizing the update function to change the records.
-> This works fine
My problem is the implementation of an image- functionality. I use the camera control and save the images in a collection:
Set(varStream;GUID());;
Collect(colStream;{
DisplayName:GUID()&".jpg";
Id:GUID()&".jpg";
Value:Camera1.Stream
})
How can I update the Attachment-Coloumn of the Data-Collection with the information from the Image- Collection? Theoretically, I need to send the Attachment-table, but I can't make it happen. I tried:
ForAll(colStream;
Update(colAuditfragen;Gallery7.Selected.Anlagen;
{DisplayName:DisplayName;
Id:Id;
Value:Value}
}))
Thank you in advance! Felix