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
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (1,548)