Hello to everyone!
Resolved by myself with workaround.
I have a new item form (screen "sickLeave_new", "newrequestSL" form) connected to sharepoint list with attachments.
I need to add an image (using Add picture control) from smartphone and add it to attachment field of the new item.
Add picture control "OnSelect":
Attachment field (MaxAttachments = 1):
Items = NewScan
How it should work - I choose picture and it appears in attachment field.
But when I start this app and choose a picture it doesn't appear in attachment's field (see pic1_1/1_2). Only if I close the new form window, open it again and then choose other image, it appears in attachment's field (pic2).
1) Close "New form" button OnSelect = Clear(NewScan);ResetForm(newrequestSL); Navigate(HomeScreen,ScreenTransition.None)
2) Home screen OnVisible = Clear(NewScan)
3) Button "Got to new item form window" OnSelect=Clear(NewScan); ResetForm(newrequestSL); NewForm(newrequestSL); Navigate(sickLeave_new,ScreenTransition.None)
Will be very gratefull for any idea or advice how to fix this strange behavior.
Hi SmartMeter, thanks for your reply. I've checked one of links and found this info: "The photo features should be out by June"...
But I need to launch my app earlier, so still wait for someone's help...
After some manipulations I can get the picture as attachment without re-openinig new item form. The solution is to set reset field value to true for attachment's field value. BUT the first choosen picture still doesn't appear in attachment field - only second, third and etc.
Does anyone can help me to fix this?
Had exactly the same issue. Using IPhone 5s and client requires native camera. Although I get attachments from an ImageCollection appearing when I submit they just don't get saved as attachments on list item. This is the link I used:
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!