Hi
have a simple app with camera control that saves images via a collection to a sharepoint list.
I want to be able to allow users to also manually attach an image - so users go to attach file , navigate to image and select.
When doing this i can see the image (unsaved) in the attachment list along with the camera images, but when i submit form the image (unsaved) doesn't actually save . Is there anyway both camera images and manually attached images can be saved together in same collection list/ saved to sharepoint?
thanks
HI @cheezy ,
I have a blog on this process that may assist you.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi Allen
essentially followed guidance from this video
https://www.youtube.com/watch?v=iW9dpDntKrY&t=383s
1. collection formula as follows:
Set (
varName,
GUID()
);
Collect(
colImages,
{
DisplayName:varName & ".jpg",
Id:varName & ".jpg",
Value:Camera.Photo
}
);
2. save as attachment
3 and 4 in regards to these questions, the camera image attachments display in the attachments card with default data set to collection colImages - from the image below i have one camera imaged saved and thought i could use the "Attach file" function within the attachment card to add an image from a file (platium icon.png) and add it to the same attachment group as the camera images.
thanks
Hi @cheezy ,
I need to collect some information from you:
1. What's the formula to create a collection?
2. Do you save the images into the Attachment column or a multiple-line Text column?
3. Are you using a Add Picture control to add images manually? Or the Attachment control? What's the formula to save it into collection?
4. What's your formula to save the images into the SP list? Using the Patch function?
Please give me more information(better with screenshots) so that I can understand your better.
Besides, I would suggest you use below control to have a test, since the "Add picture" control can both take upload pictures.
Best regards,
Allen
WarrenBelz
146,660
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,004
Most Valuable Professional