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

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.

View solution in original post

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.

View solution in original post

AndyOSB
Frequent Visitor

Re: Add Item to drop down list

that worked!

Highlighted
agneum Advocate IV
Advocate IV

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 Resolver III
Resolver III

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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

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