cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
EMohaisen
Level: Powered On

Set SharePoint (Choice Fields) using button

Hello,

 

i am looking for the formula that will set a sharepoint (choice field) to a value from it's list.

 

i.e. i have a choice field called "Phone Needed?" and it's items (Yes, No)

 

so i need to make a button which when i click on it it will set the value of "Phone Needed" to Yes

 

i have tried this: DataCardValue14.Selected.Value="Yes" where DataCardValue14 is for the Phone Needed field but it's not working.

 

any one have an idea please?

 

Thanks!

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Anonymous
Not applicable

Re: Set SharePoint (Choice Fields) using button

Hi @EMohaisen 🙂 ,

 

Put it :

Dropdown.Default = 

"Yes"

Button.OnSelect = 

Reset(Dropdown)

Best regards 🙂 ,

 

Louis

View solution in original post

2 REPLIES 2
Highlighted
Anonymous
Not applicable

Re: Set SharePoint (Choice Fields) using button

Hi @EMohaisen 🙂 ,

 

Put it :

Dropdown.Default = 

"Yes"

Button.OnSelect = 

Reset(Dropdown)

Best regards 🙂 ,

 

Louis

View solution in original post

Community Support Team
Community Support Team

Re: Set SharePoint (Choice Fields) using button

Hi @EMohaisen ,

Do you want to fill in data to the choice column by clicking a button?

Could you tell me what control does DataCardValue14 represent?

I’ve made a similar test, you could refer this:(assume that DataCardValue14 is a Combo Box)

Set the button1’s OnSelect: ClearCollect(test,{Value:"Yes"})

Set the button2’s OnSelect: ClearCollect(test,{Value:"No"})

Set the Combo Box’s DefaultSelectedItems: First(test)

 

Then, click button1 or button2, the Combo Box will  be autofilled value.

 

 

Best regards,

Community Support Team _ Phoebe Liu

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
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,508)