web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Collection in Producti...
Power Apps
Unanswered

Collection in Production vs. Live

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi there!

 

I have an app that is used for Change management. When users input their changes, a collection is built and displayed on a new screen. These changes will be shown in a 'green' filled box. Items that weren't changed will have a 'no fill'.

 

It's very odd to me that the only instance when this logic doesn't work is the first record of my collection and ONLY occurring in the live environment.

 

Meanwhile, during production, the first record added (user changed record) in the collection is shown correctly, with the green fill indicator for only the item changed. Whereas in the live, everything is shown as green (i.e. Powerapps understands that all items had a 'change').

 

Thank you,

 

Anthony

 

Please see photos below:

 

1) Live environment

DebugCollection_Live.JPG

 

2) Production Environment (don't worry about the 'x' there as that's regarding something else unrelated.)

 

DebugCollection_Production.JPG

 

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    How do you fill the Text Box within your Gallery? Could you please share more details about the formula?

    How do you determine if the Text Input box values have been changed in your app? Compare with the collection?

     

    Based on the needs that you mentioned, I have made a test on my side, please check if the issue is solved. Please also check if the changed values of first record in your collection are different from the original values.

     

    Please set the Fill property of the Text Input box in your Gallery as below:

    If(
     ThisItem.ColumnName <> LookUp(YourCollection, PrimaryColumn = ThisItem.PrimaryColumn).ColumnName,
     RGBA(141, 198, 63, 1),
     RGBA(255, 255, 255, 1)
    )

    Note: The PrimaryColumn represents the primary column in your data source (the Gallery connects to), which could identify one record uniquely.

     

    Also please consider take a try to turn off the "Improved app rendering (final validation)" option within Advanced settings of App settings of your app, then re-publish your app, check if the issue is solved.

     

    Best regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    ***EDITTED THE IMAGE PLACEMENT. All Image headings are now correctly referring to their respective pictures.


    Thank you for your response Kris. Regarding the answer to your questions, please refer to the first two images attached.

     

    With the current item shown in green, (the change, in this case, "Ministry") there's a reference check against the original (shown as "IO" on the bottom left corner of the item in the gallery). The second image shows this label doing a lookup into my master table.

     

    I've attempted both toggling off the "Improved app rendering (final validation)" and adding the new function but it's not filling properly when an item's been changed (Image 3). Again with this image, the reference (original is shown off to the right as "IO") and the current selection is "Ministry", which results in a green fill correctly. However, if you look to the 2nd item from the right, this item is highlighted in green even though the reference check below it is the same as the "change" made. Please take a look at the formula because I'm not sure I'm doing it correctly. 

    Are you referring to Primary Key? I don't believe i can set a primary key/column in my collection either? 

     

    Image 1

     

    DebugCollection_FC_ReferenceCheck.JPG

     

    Image 2

     

    DebugCollection_FC_LookUp.JPG

     

    IMAGE 3

     

    DebugCollection_Cap_ReferenceCheck_newFormula.JPG

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I've updated the image placement in my last post to correctly reference the image i'm referring to.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard