cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Microsoft
Microsoft

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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (74,917)