cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
satya
Helper II
Helper II

DropDown Values from SharePoint Single line of Text column

i have a SharePoint list with column of type single line of text, i need to bind the data from single line of text to drop down. duplicate records should not show and default value of dropdown should be "Please Select"
Please help me to achieve this.
3 REPLIES 3
dinusc
Microsoft
Microsoft

You can use a ComboBox control as following:

ComboBox1.Items=Distinct(Your_SP_List, UniqueColumn)

ComboBox1.InputTextPlaceholder="Please Select"

ComboBox1.SelectMultiple=false

hi,

 

i have created collection as ClearCollect(ABDrop,{colname:"Default Value"},Distinct(MyTest,colname)), but when i am trying to bind collection to Combobox it is showing empty values

I'm not sure I understand the meaning of the {colname:"Default Value"} in your ClearCollect formula.

Please try this:

ClearCollect(ABDrop,Distinct(MyTest,colname))

If you intended to add an extra item to your collection, then you will have to do this by a separate Collect

 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (21,419)