Posts

Showing posts with the label powerapps

powerapp: add in-app camera picture to attachment

powerapp: add in-app camera picture to attachment Powerapps: Is it possible to add a picture taken by the in-app camera to an attachment control? If I take the picture and add it to the same collection as used in the attachment control (using collect) the collection gets overridden and is only filled with the newly taken picture. Collect(MyPictures;({Name:"pic1.jpg";Url:Camera1.Photo}) Thanks! By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

PowerApps collection not cleared after closing app

PowerApps collection not cleared after closing app I have a collection in my PowerApp called Collection1 . I also have a gallery called Gallery1 . I use the collection to keep track if all checkboxes are checked in the gallery, so then I can enable a button. Collection1 Gallery1 AgreeCheckbox in Gallery1 has the following actions: AgreeCheckbox Gallery1 OnCheck: Collect(Collection1,ThisItem) OnCheck: Collect(Collection1,ThisItem) OnUncheck: Remove(Collection1,ThisItem) OnUncheck: Remove(Collection1,ThisItem) And then the button has the following displaymode: If(CountRows(Collection1) = CountRows(Gallery1.AllItems), DisplayMode.Edit, DisplayMode.Disabled) I'm currently running the App in preview mode, but sometimes items get stuck in Collection1 and next time the button is enabled even if only half of the checkboxes are checked (I have 6 currently, and intermittently 2 or 3 items get stuck in the Collection1 . Collection1 Collection1 I've added OnStart: Clear(Collection1) to...