Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Gallery not showing new columns in collection

Posted on by

Hi Folks,

 

I have a gallery to show project details in a canvas app. The items property of the gallery is a collection. The collection is defined by calling a flow and storing the response from the flow (which is SPO list items). The collection has a project manager column, since this is a people column in SPO, it's stored as record in the collection as below.

 

rbn_nue_0-1658468323421.png

 

I had to update the flow which changed the columns returned inside the project manager record. New collection looks like below for project manager record:

 

rbn_nue_1-1658468476368.png

 

As you can see, EMail changed to Email and Title changed to DisplayName. The collection was updated without any issue, but the gallery is not taking the column DisplayName or Email. It only shows Department and JobTitle in suggestions. 

 

rbn_nue_2-1658468596273.png

 

If I give "DisplayName", it will throw the error - "Name isn't valid, "DisplayName"is not recognized". How can I solve the issue and force gallery to take new columns from collection?

 

Thank you. 

 

  • Verified answer
    rbn_nue Profile Picture
    rbn_nue on at
    Re: Gallery not showing new columns in collection

    Hi All,

     

    Thank you for your suggestions. Turns out I was using 2 different collections with different columns as items in this gallery. I was trying to refer this exact column which has different names in both collection, once I fixed it, the column showed up. 

  • jorge.daniel Profile Picture
    jorge.daniel 1,430 on at
    Re: Gallery not showing new columns in collection

    Hi,

     

    Make sure you gallery's items property is ponting to colEmployeeProjectMapping.

  • phipps0218 Profile Picture
    phipps0218 on at
    Re: Gallery not showing new columns in collection

    This has happened to me before. Removing the Datasource from the gallery and re-add it usually solves the issue. Also make sure your data source for the gallery is correct. It should be colEmployeeProjectMapping.

     

    Please Accept as Solution if it solves your question. Or give this a Thumbs Up if it is helpful because this can help others.

    LinkedIn: https://www.linkedin.com/in/charlie-phipps-%F0%9F%91%A8%E2%80%8D%F0%9F%92%BB-91338715b/
    Subscribe to my YouTube: https://www.youtube.com/channel/UChmFBGU1YKIU91sNMQ7buGg
    Twitter: https://twitter.com/phipps0218

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,487

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,014

Leaderboard