Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Dropdown control and SharePoint

(1) ShareShare
ReportReport
Posted on by 47
**Deleted most of this post because it's an embarrassing TMI situation!**
Coming back to Power Apps after a break I think I forgot everything I learned :-(  Please be patient... 
 
I am using a SharePoint List as my data source .  My Dropdown Control selects a choice from ColumnA and stores their name in ColumnB. If there is already an entry by someone else in that row in ColumnB, that name should show automatically in the dropdown, and the control show as disabled so that the user cannot change the selection. 
 
I cannot get this to work. My dropdown is disabled when the column is not empty, but does not show the entry that is in there.
 
Default: varR1Chosen
DisplayMode: varRound1Mode
OnChangeSet(varR1Chosen, dd_R1.Selected.Value)
 
The varR1Chosen and varRound1Mode variables are set when the user selects their own name in another dropdown.
OnChange:Set(varR1Chosen, LookUp(colNames, Title = dd_UserName.Selected.Value, Round1)); 
Set(varRound1Mode, If(!IsBlank(varR1Chosen), DisplayMode.Disabled, DisplayMode.Edit))
 
The collection colNames is created on start from the data source in SharePoint.
 
What am I doing wrong?
 
Categories:
  • mnc2023 Profile Picture
    47 on at
    Dropdown control and SharePoint
    Update:
     
    The workaround I have found is to create a Label that displays the varR1Chosen value, placed it underneath the dropdown and then made the Fill of the dd partly transparent.  Not elegant, but it works now.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,601 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,946 Most Valuable Professional

Leaderboard