cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Elitezone
Post Prodigy
Post Prodigy

Choice sharepoint field - change to radio

Hello,

 

In my PowerApp I use choice field from Sharepoint List. This list however always drop-down menu. I would like to change it to radio list, but it seem impossible for me. When I change properties of this field in sharepoint it changes nothing in PowerApp.

I tried to add this field again, but no change is made. It is always the same.

Are there any ways to make it possible?

2 ACCEPTED SOLUTIONS

Accepted Solutions

Hi @Elitezone ,

Do you want to change single choice to multiple choice?
If so, I suggest you use combo box instead of drop down or radio.

Drop down or radio only allows single choice.

Please follow the steps:
1)in sharepoint , change this field's setting from single choice to multiple choice.

9163.PNG

 

2)in powerapps, refresh the connection.

(since you change the field's setting)

9164.PNG

3)delete your original form

insert a new form, set its data source to your sharepoint list

(since you change the list's setting, so you need to create form)

Then the single choice column in the form will display as multiple choice automatically.

Just like this:
9165.PNG

 

 

Best regards,

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

View solution in original post

Hi @Elitezone ,

You need to combine these two formulas together, but to just connect them with ";;".

Try to set the data table's Items like this:

Sort(
     Search(
            AddColumns(IdeaBox_1;"Kategoria";Concat(category;Value&";"));
            SearchBox.Text;"Nazwa";"Opis"
           );
     Utworzony;If(SortDescending2;Descending;Ascending)
)

 

 

Best regards,

 

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

View solution in original post

10 REPLIES 10
WarrenBelz
Most Valuable Professional
Most Valuable Professional

@Elitezone ,

Do the following

  • Unlock the card (in Advanced tab at right)
  • Take a note of the name and Items property of the drop-down
  • Delete the drop-down
  • Add a radio control and give it the same name.
  • Make the Items of the radio control the same as the drop-down and it all should work.

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

v-yutliu-msft
Community Support
Community Support

Hi @Elitezone ,

Do you want to change to use radio instead of drop down for choice field in form?

I agree with the steps that @WarrenBelz  provided.

However, you not only need to set the radio's Default, but also need to set the radio's Default and the datacard's Update.

Could you tell me whether your choice field allows multiple choice? I assume that no.

I made a similar test that you could refer to:
1)Unlock that datacard, delete the original drop down, insert radio into that datacard

2)set the radio's Items:

Choices(listname.fieldname)

//please replace with your listname and your choice fieldname

9151.PNG

 

3)set the radio's Default:

ThisItem.fieldname.Value

 //please replace with your choice fieldname

9152.PNG

 

4)set this datacard's Update:

{Value:Radioname.Selected.Value}

//please replace with the radio's name

9153.PNG

 

 

Best regards,

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

@v-yutliu-msft @WarrenBelz 

You guys are great, but this is a bit too much for me.

I don't know how to pick a radio in my Power Apps, when I add data form it is by default a drop down...

 

Also after investigating my company needs I came to conclusion that both radio and drop-down won't work. I need a multi-select list.

 

What would be the easiest task to do to make my list multi not a single choice?

As far as I understand I have to change property of the field in Sharepoint admin panel of list, but what next? How to make this field visible in a multi-choice?

 

Thank you, and sorry for my ignorance.

 

Edit.

I change my list setting - SelectMultiple - to true. Now the list can select more than one option, but:

1) When I save it with Sharepoint List field set on drop-down list - only one choice is saved

2) When i change property of Sharepoint list field field of choice (allow more than one choice) the form is not saved with error in runtime enviroment - requested operation is invalid. Item could not be created check if input is valid.

@Elitezone ,

The easiest way is to change your Choice field in SharePoint to allow multiple values, delete the control and re-add it. It will come in as a Combo box and should do what you need.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Hi @Elitezone ,

Do you want to change single choice to multiple choice?
If so, I suggest you use combo box instead of drop down or radio.

Drop down or radio only allows single choice.

Please follow the steps:
1)in sharepoint , change this field's setting from single choice to multiple choice.

9163.PNG

 

2)in powerapps, refresh the connection.

(since you change the field's setting)

9164.PNG

3)delete your original form

insert a new form, set its data source to your sharepoint list

(since you change the list's setting, so you need to create form)

Then the single choice column in the form will display as multiple choice automatically.

Just like this:
9165.PNG

 

 

Best regards,

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

@WarrenBelz @v-yutliu-msft 

Ok - on my sharepoint panel admin it looks a bit different.

I do not have a setting allow multiple selections like you. Instead I have 3 choices in type:

 

Elitezone_0-1600242987757.png

Translate:

dropdown

radio

field of choices (allows for mutliple selections)

 

So I used third setting.

My form look pretty OK now. I have only problem with DataTable.

When I changed this field it now destroyed data table section:

 

Elitezone_1-1600243265238.png

 

Error: Expected value text, but this rule is generating Table values - Category.Text

 

Hi @Elitezone ,

Do you want to display multiple choice column in data table?

The reason why you met this problem is that:
multiple choice column is actually a nested table.

If you want it to display correctly, I suggest you add a column with text value by using Concat function for this multiple choice column.

Try to set the data table's Items:

AddColumns(list,"choicevalue",Concat(choicecolumnname,Value&","))

Then select choicevalue column to display in this data table.

 

 

Best regards,

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

@v-yutliu-msft 

My data table already has a function in Items:

Sort(Search(IdeaBox_1;SearchBox.Text;"Nazwa";"Opis");Utworzony;If(SortDescending2;Descending;Ascending))

When I add your function after this with ;; and different delimeter I receive a tons of error:

AddColumns(IdeaBox_1;"Kategoria";Concat(DataCardValue3.Selected.Value;Value&";"))

 

Whole function looks like that:

Sort(Search(IdeaBox_1;SearchBox.Text;"Nazwa";"Opis");Utworzony;If(SortDescending2;Descending;Ascending));; AddColumns(IdeaBox_1;"Kategoria";Concat(DataCardValue3.Selected.Value;Value&";"))

 

Something is wrong.

DataCardValue3 is my multi category field that I use...

Hi @Elitezone ,

You need to combine these two formulas together, but to just connect them with ";;".

Try to set the data table's Items like this:

Sort(
     Search(
            AddColumns(IdeaBox_1;"Kategoria";Concat(category;Value&";"));
            SearchBox.Text;"Nazwa";"Opis"
           );
     Utworzony;If(SortDescending2;Descending;Ascending)
)

 

 

Best regards,

 

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

Helpful resources

Announcements

Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Summer of Solutions | Week 4 Results | Winners will be posted on July 24th

We are excited to announce the Summer of Solutions Challenge!   This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions in the Forums to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersNumber of SolutionsSuper UsersNumber of Solutions @anandm08  23 @WarrenBelz  31 @DBO_DV  10 @Amik  19 AmínAA 6 @mmbr1606  12 @rzuber  4 @happyume  7 @Giraldoj  3@ANB 6 (tie)   @SpongYe  6 (tie)     Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersSolutionsSuper UsersSolutions @anandm08  10@WarrenBelz 25 @DBO_DV  6@mmbr1606 14 @AmínAA 4 @Amik  12 @royg  3 @ANB  10 @AllanDeCastro  2 @SunilPashikanti  5 @Michaelfp  2 @FLMike  5 @eduardo_izzo  2   Meekou 2   @rzuber  2   @Velegandla  2     @PowerPlatform-P  2   @Micaiah  2     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Week 3:Community MembersSolutionsSuper UsersSolutionsPower Apps anandm0861WarrenBelz86DBO_DV25Amik66Michaelfp13mmbr160647Giraldoj13FLMike31AmínAA13SpongYe27     Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Week 4:Community MembersSolutionsSuper UsersSolutionsPower Apps DBO-DV21WarranBelz26Giraldoj7mmbr160618Muzammmil_0695067Amik14samfawzi_acml6FLMike12tzuber6ANB8   SunilPashikanti8

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport.   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages

Users online (940)