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

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Disappearing values!!!...
Power Apps
Unanswered

Disappearing values!!! ARRRGGG!!!

(0) ShareShare
ReportReport
Posted on by 41

I've been steadily progressing with my Desk Booking app, with the help of @Drrickryp and @cha_cha and everything is working brilliantly, except for one last thing.
The final bug bear is driving me crazy.
The confirmation screen has a pair of Text Labels showing the selected values from the Drop Downs on the previous screen so that when the booking is successfully made and the 'Patch' back to the SharePoint list is complete, the user is shown their selections one last time, along with a nicely worded message and an option to go back and make another booking.
The issue is that the drop downs and date picker are only reset by the OnSelect action on that back button and yet the values presented in the Text Labels appear for a brief second and then disappear. It's as if the selections are reset by the mere change of screen which I'm sure isn't how this works. I've also noticed that it's intermittent. The values almost always disappear but they have stayed present on a few occasions. I can't see any pattern to why they did hold fast those few times but, like I said, more often than not, they either disappear after less than a second or they don't appear at all.
I always end up with the default values from those Lookup lists and not what is actually captured and patched back to the main list as the users selection.

E.G:

Values selected...

"Desk No. 2" and "Parking Space 3".

Values written to the list...

"Desk No. 2" and "Parking Space 3".

Values displayed on the confirmation screen...

"Select..." and "Select..." (The default values for the drop down choices (items at the top of the lookup lists that provide the choices(lowest ID value))

N03L_1-1671563789987.png

Can anyone imagine what might be causing this strange behaviour.
I've checked everything that I can think to check and there's no rhyme or reason to it.

Here's a screen shot of the "Submit" button's ONSELECT, in case it helps...

N03L_0-1671563469323.png

And a screen shot of the values written to the SharePoint list...

N03L_2-1671564279931.png

 

Thanks in advance.

N03L

Categories:
I have the same question (0)
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at
    Re: Disappearing values!!! ARRRGGG!!!

    @N03L 

    Following your patch, capture the two values (Desk and Parking space) in two Set() functions, then use the global variables  on your success screen.

  • cwebb365 Profile Picture
    3,294 Most Valuable Professional on at
    Re: Disappearing values!!! ARRRGGG!!!

    If you are referencing the values from the SP list, do another refresh after the patch occurs? 

  • N03L Profile Picture
    41 on at
    Re: Disappearing values!!! ARRRGGG!!!

    Thanks, both of you.
    I'm sad to say that neither of those suggestions have worked.
    I've even created a new button, just for testing, that refreshes the list, again and populates the two new variables that I've created and it works perfectly but on the final confirmation screen, the same text labels that show the contents of the variables are reset to their default values.
    I'm at a loss.

  • N03L Profile Picture
    41 on at
    Re: Disappearing values!!! ARRRGGG!!!

    I've just got it working consistently.
    The 'Patch' values for the two drop downs were still set to Selected.Name when I'd updated everything else to Selected.Title and while it doesn't really make any sense, getting those inline with everything else, seems to have made the variables stay set to what they should be.

    Bizarre but true.

    Thanks again @Drrickryp for the suggestion.

  • N03L Profile Picture
    41 on at
    Re: Disappearing values!!! ARRRGGG!!!

    I've just had another instance of one of the variable values being wrong and one being right so there's clearly something a bit odd about this and I might raise it directly with Microsoft, just in case, but I'm still in a much better position now than before.

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at
    Re: Disappearing values!!! ARRRGGG!!!

    @N03L

    FYI,. SelectedText was deprecated and should not be used. 

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 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard