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
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (1,767)