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

PowerApps dropdown control not showing SharePoint default item

I have built a canvas app that uses multiple SharePoint list data connections. I have a primary list which my forms are built off of and this is the list that data is being submitted to. In this list I have a text field called Product Manager. My PowerApp has a "new" screen and form and an "edit" screen and form - both using this list as the primary data source. On each screen I am using a drop down control for the Product Manager field. For both screens On Visible property I am creating a collection (from another list) to use for the Items property of the drop downs: ClearCollect(prodMgr,{Title:""});Collect(prodMgr,'Product Managers'). On the edit form the default property of the drop down is set to Parent.Default and the Update property of the card is: drpProdMgr_1.SelectedText.Value

 

The business proecess is as follows: one user will create the initial entry into the list by filling out the form (Product Manager is hidden on the new screen). Some emails will go out via workflow and other users will then access the edit form and fill in other pieces of information - Product Manager being one of those fields. 

 

The issue I am having is that when the edit form is accessed again (doesn't matter the user) the drop down list has no value showing and sometimes it doesn't even work - it is like there is nothing in the items property. If the form is saved then the value in the SP list gets wiped out. This is happening greater than 50% of the time and I can't figure out what in the world is causing my drop down to lose its mind. Anyone have any ideas???

 

 

 

5 REPLIES 5
panand99
Level 10

Re: PowerApps dropdown control not showing SharePoint default item

Hello @llanderson2018 

 

How your defualt value is sets by using collection ? could you please share the screen shot

llanderson2018
Level: Powered On

Re: PowerApps dropdown control not showing SharePoint default item

The default value is set to Parent.Default. The Items property is set to the collection.

panand99
Level 10

Re: PowerApps dropdown control not showing SharePoint default item

Hmm, I think thats the issue

You need to sets the:

Defualt Value - thisitem.<yourfieldname>

Items: collection.title

llanderson2018
Level: Powered On

Re: PowerApps dropdown control not showing SharePoint default item

Thank you. I will try this.

llanderson2018
Level: Powered On

Re: PowerApps dropdown control not showing SharePoint default item

Now, this pulls nothing in on edit.

Helpful resources

Announcements
thirdimage

Coming Soon: T-Shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors
Users online (5,408)