cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Add contents of SharePoint dropdown list to Powerapp dropdown

Hi,

 

I'm a total noob so apologies but I've been searching for hours so it's time to ask a stupid question.

 

I have a SharePoint list call Accounts and and Column within called Cities. You can chose from 20 cities but I only have 3 entries so far...Liverpool, Manchester and Chester. I've added a drop-down to my PowerApp but for the life of me I can get it to populate with the 3 cities. Any ideas? Many thanks in advance

 

Tez

1 ACCEPTED SOLUTION

Accepted Solutions

That works. Many thanks

View solution in original post

5 REPLIES 5
Super User III
Super User III

On the items property of the Dropdown:

Accounts.Cities

 

Or

["Liverpool", "Manchester","Chester"]

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Frequent Visitor

Thanks. I tried Accounts.Cities. The code now has an exclamation mark, the Cities part has a double blue line underneath and the following warning appears.  "Warning: the columns produced  by this rule are all nested tables and or records, however the property expects at least some columns of simple values (such as text, or numbers)

 

Plus the drop down is blank in preview 

 

Any ideas?

Dual Super User II
Dual Super User II

Hi @Tez 

 

Can you try to update the expression to:

 

Choices(Account.Cities)

 

In the advanced tab on the right side, you can select which column to display. There is a dropdown named Value.

yashag2255_0-1604129315396.png

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

That works. Many thanks

View solution in original post

Frequent Visitor

I just realised that this solution shows every choice available in the Sharepoint column so it lists every City in the uk. Can I make it only shows the chosen values so far I.e. Liverpool, Manchester, Chester

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Check out the Power Apps Community Call for January 2021

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (6,399)