Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Context variable displayItem and editItem no longer working

I have several app that have multiple BrowseGalleries and followed this post to get it to select the correct items when the users views the details and edits the item.


Button.OnSelect: Navigate(ISRCViewScreen, ScreenTransition.Fade, {displayItem:ThisItem}); LoadingSpinner.Data


DetailsForm:  Items.diaplyItem

OnSelect.EditButton: EditForm(EditISRCForm);Navigate(ISRCEditScreen, ScreenTransition.None, {editItem:displayItem})


EditForm: Items.editItem

As of yesterday they are no longer working and all of my apps using this now say either "Getting your data" or "Not items to display"


Is anyone else experiencing this? I was planning on presenting my newest app to Upper Managment today to go to the VP for approval and now I can't because it's not working at all.

Is there a better way to accomplish this?

Super User
Super User


The problem in your formula (for your edit button) is that most likely you are referencing a context variable of the wrong screen.

When you put a Navigate function in, anything after that will be in the context of the navigated screen.

While I'd have to play around to nail this statement down completely for your app, I'd say that is pretty much what you are running into.


Couple things to try:

1) Try disambiguation : {editItem: [@displayItem]}

2) Consider using a global variable instead and drop the context passing:  Set(editItem, displayItem); EditForm(...); Navigate(...)


I hope this helps you out and gets you to your demo and that everyone is wowed by it!


Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!


These apps have been working for several months until yesterday and were built from the blog post mentioned above. Something had to change in the last few days to break it. I have a ticket in with microsoft and I'd prefer not to have to change all of the apps using this if possible. 😞

Helpful resources

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,977)