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:
Check out new user group experience and if you are a leader please create your group
Did you miss the call?? Check out the Power Apps Community Call here!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.