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 III
Super User III


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. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!


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


Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users


We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Solution Authors
Top Kudoed Authors
Users online (22,549)