Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Gallery ThisItem Value is not the same value as when I go into Edit the Item

(0) ShareShare
ReportReport
Posted on by 909 Super User 2024 Season 1

Hi,

 

Say I have a value like this in myGallery.

 

and text property is this - ThisItem.Status_two.Value

wonka1234_0-1695407947758.png

 

when i click the next arrow to edit i see a different status.

 

wonka1234_1-1695408034160.png

 

How can I ensure these are the same values? 

 

my default property is Parent.Default.

and items property is Choices([@'Data Source'].Status_two)

  • wonka1234 Profile Picture
    909 Super User 2024 Season 1 on at
    Re: Gallery ThisItem Value is not the same value as when I go into Edit the Item

    @Amik 

     

    getting this error now - 

     

    wonka1234_0-1695647176270.png

     

     

    and the Default of the parent card  is - ThisItem.Status_two

     

    the Update property of the parent card is -DataCardValue52.Selected

  • Ami K Profile Picture
    15,665 Super User 2024 Season 1 on at
    Re: Gallery ThisItem Value is not the same value as when I go into Edit the Item

    @wonka1234 - on the DefaultSelectedItems property of the ComboBox, use: 

     

    If(
     'Your Form'.Mode = FormMode.New,
     {Value: "New Request"},
     Parent.Default
    )
    

     

    Do not make any customisations to the DataCard (the parent container holding all of the controls).

  • wonka1234 Profile Picture
    909 Super User 2024 Season 1 on at
    Re: Gallery ThisItem Value is not the same value as when I go into Edit the Item

    @Amik 

     

    1. Others are, but they arent choice fields. Ie a datacard with a text input seems to be displaying the correct value.

    2. only customization is displaymode.view.

    Ahhh u caught me, looks like in the DATACARD I had : 

    LookUp(Choices('Data Source'.Status_two),Value="New Request")

     

    3. Form Item property - LookUp('Data Source',ID=gblRecordID)

     

     

    So Im guessing I need to make this parent.default? 

    Problem is - the first saving of this form should default to "New Request" but after if I want to edit it, the status may have changed, and I dont want it to default to New Request at those times.

  • Ami K Profile Picture
    15,665 Super User 2024 Season 1 on at
    Re: Gallery ThisItem Value is not the same value as when I go into Edit the Item

    @wonka1234 -

     

    1. Are the other DataCards displaying the correct information from the selected record?
    2. What customisations (if any) have you made to the DataCard for the Status_two field?
    3. What do you have in the Item property of the Form?

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard