web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerApps/Dynamics 9 M...
Power Apps
Unanswered

PowerApps/Dynamics 9 MultiSelect Option Set: empty selection allowed in Dynamics but not PowerApps

(1) ShareShare
ReportReport
Posted on by 635

I am using MultiSelect Option Set attributes introduced in Dynamics versions 9.
In Dynamics itself and Dynamics forms there are no issues with selecting none of the Multiselect options or changing them to none selected.
However, in PowerApps, using a standard "Form screen" and "Fields" with automatically generated data cards for the Multiselect Option Set attributes and "SubmitForm", selecting none of the options yields

"Edm Object passed should have the options selected"


Question:

  1. Does Multiselect Option Set (in Dynamics) officially support "none selected"?
  2. If yes, is my observed behaviour a bug/missing feature in PowerApps?

Currently I have to use workarounds similar to:

UpdateContext({
 MultiselectEmpty: (CountRows(ComboBoxInput.SelectedItems) > 0), 
 OldId: SelectedItem.id
});
Patch(
 DataSource,
 If(NewItem || MultiselectEmpty, Blank(), OldId),
 { key: value, … },
 If(!MultiselectEmpty, {_multiselect_attribute_label: ComboBoxInput.SelectedItems}, {})
);
If(!NewItem && MultiselectEmpty, Remove(DataSource, {id: OldId}))
Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    on at

    Hi @SaWu,

     

    Could you please share a screenshot of your app's configuration?

     

     

    Please check if you have set the Field Requiredment property of the Multiselect Option Set type column within your to Required. If yes, please set it to Optional, then check if the issue is solved.

     

    If you could provide more details about your scenario, we could provide a proper workaround for you.

     

    Best regards,

    Kris

  • SaWu Profile Picture
    635 on at

    The property is set as "optional":
    My issue isn't per se with this "optional setting".
    My issue is that an empty selection, selecting none seems to be only possible when using Dynamics directly instead of PowerApps

    Here are the field attributes
    2018-08-10 11_24_25-Feld_ Nachbearbeitung von Messe-Erfassung.png
    There are the Form, field, Combo Box properties
    2018-08-10 11_48_36-TestComboBox - Saved (Unpublished) - PowerApps.png2018-08-10 11_49_22-Posteingang - wu@kriegerkollegen.de - Outlook.png2018-08-10 11_49_40-TestComboBox - Saved (Unpublished) - PowerApps.png
    This shows the error, the tick icon has SubmitForm as OnSelect action.
    2018-08-10 11_51_21-TestComboBox - Saved (Unpublished) - PowerApps.png2018-08-10 11_52_18-TestComboBox - Saved (Unpublished) - PowerApps.png
     

  • Verified answer
    SaWu Profile Picture
    635 on at

    Seems like with PowerApps 3.19013.14 and the new Preview Feature (default on) "Relational data, Option Set" etc, and standard form control, the issue is gone, and empty selections are allowed.

  • Community Power Platform Member Profile Picture
    on at

    I am facing similar issue when trying to create record through WebApi if my multiselect fields donot have any value.

     

    Please help me to find a work around this.

     

     

  • irenemweu Profile Picture
    2 on at

    You can set it to null and it should work.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard