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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Gallery ThisItem Value...
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 920 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)

Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,679 Super User 2024 Season 1 on at

    @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?
  • wonka1234 Profile Picture
    920 Super User 2024 Season 1 on at

    @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,679 Super User 2024 Season 1 on at

    @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
    920 Super User 2024 Season 1 on at

    @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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard