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 / Latest update breaks p...
Power Apps
Answered

Latest update breaks powerapps variable passing

(0) ShareShare
ReportReport
Posted on by 141

Going from the ui, it appears there has been an update to the Powerapps framework and a previously working app no longer works. The data sharing appears to have stopped working, e.g. this worked before the upgrade:

 

the OnSelect for a button no longer seems to pass the variable:

Navigate(AppointmentsScreen,Fade, {student: student})

and it says it can't evaulate the formula due to context variable types different in other areas of the app but nothing has changed.

 

In AppointmentsScreen I now get "invalid use of '.'" when accessing student.StudentId. Navigating from an icon such as '>' still works and passes the variable but the button appears to no longer passes the variable.

 

Is there any information?

 

Categories:
I have the same question (0)
  • codebrane Profile Picture
    141 on at

    it appears to be a major break in the framework. If I duplicate the screen the variable passing works with the duplicated screen. So the fix appears to be going through your entire app duplicating broken screens to fix them.

     

    Is there any information on this upgrade?

  • codebrane Profile Picture
    141 on at

    and the next issue is the app reverts to being broken after leaving the editor and going back in. The duplicated screen now has the same errors as the original one.

  • codebrane Profile Picture
    141 on at

    and the next issue is the app somehow started working again, I got through most of the screens on a run and now it's stopped working again, complaining about the context variable not being the same in different areas where 5mins ago it wasn't complaining about it.

     

    Is the powerapps framework no longer usable? I would value a comment from the powerapps team on this issue.

  • Eickhel Profile Picture
    374 Most Valuable Professional on at

    Hi,

     

    I also have a PowerApp that sends context variables to other screens and it's working without issues. The PowerApp release version is 3.18092.18.

     

    Have you checked which version is your app running on? You can view the "Versions" tab on your PowerApp details page.

  • codebrane Profile Picture
    141 on at

    the app sends context variables to other screens too and some of them are working. Some aren't and the ones that aren't working swap around so the ones that work don't and the broken ones start working again so the whole thing fails to make any sense. When I published it, it was working. After the upgrade, it wasn't and is no longer usable.

     

    The version is 3.18092.18

     

    I would value power teams input on this to shed light on the possible causes

  • codebrane Profile Picture
    141 on at

    and lo and behold! in order to check the version I opened it in the editor in Firefox and now a completely different set of screens is broken.

     

    anyone from the power apps team prepared to offer advice after the upgrade?

  • Eickhel Profile Picture
    374 Most Valuable Professional on at

    It's easier to pinpoint the issue if you have a Session Id which identifies the error but I guess that your error comes from designing the application itself.

     

    Have you checked the Variables? maybe there is an error setting the variable somewhere else

    2018-09-24_12-41-52.png

     

  • codebrane Profile Picture
    141 on at

    I've checked the variables but the interface isn't much use, it just lists where the context variable is used and there are no errors other than the ones the editor is forcing on the app. e.g. some screens have a populated context variable, some don't and just say 'error', really helpful.

     

    If I close the editor and open it again I'll get a completely different set of broken screens. I've just run the app literally 10mins ago and it worked. Now it's broken again, much worse than before. The context variable is a lookup from a sharepoint list.

     

    If I remove all 'code' from a screen so that the screen goes nowhere and has no knowledge of any other screen, I still can't get it to open as the previous screen complains about the context variable being a different type 'somewhere', really helpful again. But there is no 'somewhere' as it's only being passed to an empty screen.

     

    The bottom line is, the app worked prior to the upgrade, now it doesn't know what to do as the editor no longer works with context variables, at least the ones that are sharepoint records.

  • Eickhel Profile Picture
    374 Most Valuable Professional on at

    Have you tried reverting to the working version? at least so your users can continue working with the app until a proper fix is found.

  • codebrane Profile Picture
    141 on at

    it's the publshed, working version that's trashed. I published it, made no more changes, got some feedback. Upgrade happened, working app no longer works. The published version has been trashed.

     

    When I opened that version in the editor that was trashed too. There's no version to go back to as everything is trashed after the upgrade.

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