Showing results for 
Search instead for 
Did you mean: 
Impactful Individual
Impactful Individual

Choices function with OptionSet not usable offline anymore?

Please be so kind as to read my full post before responding.
Thank you for your consideration.

I recently came across the issue, that one of my PowerApps which I remember to have been usable offline, did not work offline anymore.
I might be wrong with my memory.
Some testing revealed to me that the semantics of the "Choices" function (for a Dynamics/CDS (MultiSelect) OptionSet field) inside the "Items" property of the ComboBoxes inside my PowerApps seem to have changed.
It appears as if Choices used to be evaluated at the time of saving/publishing (thus making ComboBoxes with Choices as Items usable offline), but is now evaluated at the time of the function call (requiring Connection.Connected when the ComboBox is set up at runtime).

As a workaround to restore offline capabilites I now have to use something like:

    ClearCollect(MultiSelectOptions, Choices(Source.Column));
    SaveData(MultiSelectOptions, "MultiSelectOptions"),
    LoadData(MultiSelectOptions, "MultiSelectOptions")



My questions:

  1. Can you confirm or deny that there has been indeed such a change to the Choices function for (Multiselect) OptionSet?
    I will point out again that maybe my memory doesn't serve me well and that those PowerApps of mine didn't work offline before because of the same reason as now.
    I also seem to recall that using Choices with a LookUp field instead of an (Multiselect) OptionSet as Items of a Combox never worked offline (without the described workaround).
  2. If there has been no such change: why don't my PowerApps work offline anymore?
  3. If there indeed has been such a change: It appears that this is change "server-side (?)" and also affects older PowerApps, i.e. PowerApps from older PowerApps versions will not work offline without modifications.
    Is this true?
  4. Also, if there has been such a change: Has there been a similar change in evaluation time to any other function?
Community Support
Community Support

HI @SaWu ,

Could you please share a bit more about your issue?

Do you create an Offline app on your side?


Actually, the OptionSet Combo box values (Items property) in your Edit form would be populated only when you new or edit the Edit form rather than when you load your app.

If your app is in Offline status before you create a new form or edit a form, the OptionSet ComboBox would not be populated with values from your data source (Dynamics 365 or CDS Entity) when you navigate to the edit screen.


I agree with the workaround that you mentioned. Actually, the workaround you mentioned is the key point/essence in creating an Offline app. 

More details about creating an offline app in PowerApps, please check the following blog:


Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Not applicable

Thanks for creating this thread @SaWu - can you review the above reply and update the thread if it was helpful?



Impactful Individual
Impactful Individual

I have seen the reply.
It has not been helpful.
The reply has not answered any of my questions.

Yes, I had an PowerApp, following the blog article mentioned, that worked and was tested offline before.
It does not work anymore.
Trying to recreate is also does not work for my custom entities.
As I have explained in my original post, the issue seems to be with option sets, and a change of Choices for static OptionSets.
Option sets are nowhere mentioned in the blog post.
Thus, I don't see how the key point of my problem can be contained in said blog post.
I also don't see how said reply could have been helpful.

Is it possible to get (or pay) an actual developer, who can technically understand my question, to write some answers?
It also okay for me to have someone, who really knows, to tell me that I must be miss-remembering that my PowerApp was working offline before because there never was such a capability using Choices for OptionSets.
Thank you for you consideration.

Frequent Visitor

@SaWu , Did you ever got the chance to resolve this?


I am experiencing the same thing with optionsets and two options during offline mode.



Impactful Individual
Impactful Individual

Hi @fkatada 

I never got a real resolution for this.
For my offline Apps I now use the workarounds of

  1.  Collect Option sets, and use those instead of Choices directly in properties
  2.  Save needed option set values
  3.  Save everything as data and load if not online

Of course this only works if the PowerApp is initially loaded while online.
Later uses are able to be offline as well.


For example App.OnStart could be something like


// SaveData does not work in browser so in a browser this will cause an ignored warning/error
Set(isBrowser, !(CountRows(SaveData(["1", "2"],"myTestList").Value)=2));
    // Connection.Connected
    Connection.Connected, Concurrent(
        ClearCollect(LocalOptionSet1, Choices(AnEntity.AnOptionSetField));
        If(!isBrowser, SaveData(LocalOptionSet1, "LocalOptionSet1")),
        ClearCollect(LocalOptionSet2, Choices('AnotherOptionSetField (AnotherEntity)'));
        If(!isBrowser, SaveData(LocalOptionSet2, "LocalOptionSet2")),
        ClearCollect(LocalOptionSet3, Choices('GlobalOptionSet'));
        If(!isBrowser, SaveData(LocalOptionSet3, "LocalOptionSet3")),
            Set(optionSet1Value, 'AnOptionSetField (AnEntity)'.aValue),
            Set(optionSet2Value, 'AnotherOptionSetField (AnotherEntity)'.anotherValue),
            Set(optionSet3Value, 'GlobalOptionSet'.yetAnotherValue)
        ClearCollect(LocalOptionSetValues, {
            optionSet1Value: optionSet1Value,
            optionSet2Value: optionSet2Value,
            optionSet3Value: optionSet3Value
        If(!isBrowser, SaveData(LocalOptionSetValues, "LocalOptionSetValues"))
    // !Connection.Connected && !isBrowser
    !isBrowser, Concurrent(
        LoadData(LocalOptionSet1, "LocalOptionSet1"),
        LoadData(LocalOptionSet2, "LocalOptionSet2"),
        LoadData(LocalOptionSet3, "LocalOptionSet3"),
        LoadData(LocalOptionSetValues, "LocalOptionSetValues");
            Set(optionSet1Value, First(LocalOptionSetValues).optionSet1Value),
            Set(optionSet2Value, First(LocalOptionSetValues).optionSet2Value),
            Set(optionSet3Value, First(LocalOptionSetValues).optionSet3Value)


In the rest of the App you'd then use the local collections LocalOptionSet1, LocalOptionSet2, LocalOptionSet3, and global variables optionSet1Value, optionSet2Value, optionSet3Value, and so forth.

Best of luck with this,

Frequent Visitor

Hi @SaWu ,


Thanks for the response. I was able to resolved mine with the same approach.

Helpful resources

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Solution Authors
Top Kudoed Authors
Users online (1,612)