cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ShaneITAutomate
Helper V
Helper V

Displaying collection choices back into dropdown

Hi,

 

I have several collections set up similar to this

 

 

Collect(colTEST,
{TID:"0",
TName:"TestName",
TCODE:"TC0"},
{TID:"1",
TName:"TestName1",
TCODE:"TC1"}
)

 

 

I put these collections in a dropdown and select to view the Tname and in a gallery to display the TCODE and then patch the code to sharepoint later.

 

Ive set a variable to select the item via, Set(varSelectedItem, Thisitem) is the gallery

 

And the dropdowns default are set to SelectedItem.ColumnName and the items the collections

 

However. when i goto edit these gallery options i can only see the TCODE, how do i get them to display the Tname instead of the code if i have already added them to the gallery as the TCODE

 

1 REPLY 1
Drrickryp
Super User II
Super User II

@ShaneITAutomate 

Dropdowns are set to accept a table as input and they select a single record as output.  In PowerApps, a variable can be set as a table, a record or even a single value.  The display in the control is determined by selecting the Value option on the right side of the screen but all of the fields in the record can be referenced. 

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,021)