cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AccuFloDev
Advocate II
Advocate II

Option Set Columns not working in Canvas Apps?

As part of an ongoing migration from the CDS 1.0 to the new CDS for Apps, I have run into an issue with a form that has 2 Option Set columns.  

When adding the columns to the form, I noticed there are two columns per option set:  a 'label' column showing the display name of the option in a drop down, and a 'value' column which takes the numeric representation of that column.

 

My issue arises when trying to submit a form - the form will error out if either of these columns are empty (required items).   However, selecting an option from the 'label' column does not automatically update the 'value' column with the appropriate number.   This results in a form that will never submit.

Either I'm missing something or this functionality is broken...could someone enlighten me on how to use CDS for Apps Option Set columns within a Canvas App form in PowerApps?

Image attached to message with example.

1 ACCEPTED SOLUTION

Accepted Solutions
PauwelsSven
Responsive Resident
Responsive Resident

Hey,

 

You can check the option set values in your CDM.

In the canvas app you can put you're value in the value box by an if structure.

If yes then "number" (see image in attachment).

When you submit your form this suppose to be working.

View solution in original post

2 REPLIES 2
PauwelsSven
Responsive Resident
Responsive Resident

Hey,

 

You can check the option set values in your CDM.

In the canvas app you can put you're value in the value box by an if structure.

If yes then "number" (see image in attachment).

When you submit your form this suppose to be working.

Hey @PauwelsSven,

Your solution essentially describes what I did as a workaround.
This did work to solve the issue, though I imagine it will cause grief for other less savvy users.

 

I'm going to mark your answer as the solution.

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (1,529)