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
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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (20,017)