cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted

That works. Many thanks

View solution in original post

5 REPLIES 5
Highlighted
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.

Highlighted
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?

Highlighted
Dual Super User III
Dual Super User III

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!

Highlighted

That works. Many thanks

View solution in original post

Highlighted
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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

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

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

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