cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Romsteck
Advocate III
Advocate III

MultiSelect OptionSet - Offline

Hi there ✌️

Hope you are doing well 😄

I was in contact with Microsoft Premier for this case, but they didn't find a solution.

 

I am creating an app that contains a lot of multiselect optionsets. These option sets must be available Offline.

I tried these links first, without success.

https://powerusers.microsoft.com/t5/Building-Power-Apps/Choices-function-with-OptionSet-not-usable-o...

https://powerusers.microsoft.com/t5/Power-Apps-Pro-Dev-ISV/Multiselect-Optionset-control/m-p/313618

https://powerusers.microsoft.com/t5/Building-Power-Apps/Dynamics-Boolean-not-compatible-with-PowerAp...

 

I dont use the Form Control anymore, because there are too many fields in this App, and I ran into performance issues.

The other reason is I can't Sumit multiple forms at the same time.

 

I tried to :

1. Collect([DataFromD365CRM]) --- Simple Collect - I works great

 

1.1. I Can Collect() data, but the Selectable multiselect's values are not available offline, even by collecting them in a separate collection 🤤

 

2. Patch([LocalCollection]) --- I have 17 screens with multiselects, IT JUST WORKS ON 1 SCREEN 🤣😢 

->Cache ?  -> I really don't understand ? -> Recreate the App ? 😶

 

3. ForAll([LocalCollection])Patch([ToD365CRM]) --- It seems to work

 

I can't Hardcode the MultiselectOption Set, the values can change later.

And I already did a Hardcoding for the TwoOptionSets...

 

Could you give me a solution please ? I take everything that can work.

 

Thank you very much !!! 😉😁

 

Best regards

2 REPLIES 2
kojisaiki
Community Support
Community Support

If you have to use the app on offline, you can collect your data with LoadData/SaveData formula instead of directly connecting to connector.

Please check this page.

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/offline-apps

Anonymous
Not applicable

Hi @kojisaiki
This has absolutely not answered my question.
Of course I must use SavedData, but I want to patch local collection, save options sets offline etc...
SavedData is just the last formula I use, but I need to work on collection before.
✌️

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,762)