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

Add Item to drop down list

Hello,

 

I have a drop down list that is populated from a sharepoint list called TBL_ActiveJobList.  I want to inject another item into the drop down that is not on the share point list.

 

For example:

 

Work Order Drop down:

 

111555

111556

111557

New Order <----  This is what I want to have show up on the drop down that is not on the share point list.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Add Item to drop down list

Have you considered using a Collection to store the values from TBL_ActiveJobList and then add 'New Order' to the Collection?

 

You then use your collection as the datasource for the drop down.

 

Of course, you would need some logic to refresh the collection for when new orders are added. Perhaps a refresh button and/or each time you enter the screen (OnVisible) that contains the drop down.

4 REPLIES 4
Super User
Super User

Re: Add Item to drop down list

Have you considered using a Collection to store the values from TBL_ActiveJobList and then add 'New Order' to the Collection?

 

You then use your collection as the datasource for the drop down.

 

Of course, you would need some logic to refresh the collection for when new orders are added. Perhaps a refresh button and/or each time you enter the screen (OnVisible) that contains the drop down.

AndyOSB
Level: Powered On

Re: Add Item to drop down list

that worked!

Highlighted
agneum
Level 8

Re: Add Item to drop down list

Seems like such a pointless workaround to add custom items to your list.


Why cant 

 

[ *yourdatasourceitems*, "yourcustomitem"]  syntax work?

cooper33
Level 8

Re: Add Item to drop down list

Hi, can you elaborate on this syntax? Haven't seen it before and not sure what it's called

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, September 18th at 8am PDT

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 49 members 4,204 guests
Please welcome our newest community members: