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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Glitch When Using Powe...
Power Apps
Answered

Glitch When Using PowerApps as a SPO Custom List Form

(0) ShareShare
ReportReport
Posted on by 400

SPO allows you to replace the default SP form (edit, view, new) with a customizable PowerApps form. This works great but I've run into some issues:

 

SPO doesn't refresh the session; it merely replaces the item variable in the form with some type of SharePoint connector-of-sorts. So imagine if the SPO list is "Vendors". I choose Microsoft and then jump over to screen2 to look at its products (which is the result of filtering a secondary list)--this works fine. Now I close the form and choose "Dell". It automatically opens up on screen2 with Microsoft products listed--this is strange. Now I close that window and use SharePoint to create a new Vendor. It opens up on screen2 once again, listing Microsoft's vendors yet again--this is even more strange as a new, unexisting record would not have any products yet.

 

The intent is simple: start on screen1 everytime a new SharePoint record is pulled up.

 

The problem is that OnVisible and OnStart do not work, as opening up a record does not invoke these events. The only thing I can think of doing is running an infinite timer that continuously looks at the ID and time, but I'm hesitant to run an infinite loop--unless that's best practice.

 

Any recommendations?

Categories:
  • cwebb365 Profile Picture
    3,334 Most Valuable Professional on at

    Possibly could set OnHidden on the screen and put in a Navigate to the home screen? Same with OnSuccess if an update or form gets submitted. Not sure if going off that would count as an onhidden thou. 

  • tly Profile Picture
    400 on at

    OnHidden doesn't work because the screen doesn't technically transition when the SPO interface closes it. It's almost as SharePoint's close action just hides the application; and it does it on an application-level that is above PowerApps (hence no PowerApps event triggers).

     

    As far as OnSuccess... suppose I selected Microsoft from my SPO list... and then I navigate to screen2 to look at its products. When I'm done viewing products, I invoke SharePoint's close action. At no point do I execute a SubmitForm action (which subsequently triggers an OnSuccess event).

  • cwebb365 Profile Picture
    3,334 Most Valuable Professional on at

    I mean when I tried to do a quick PoC to reproduce everything seemed to fire ok. can you elaborate a bit more on the app setup? 

     

    List A is where the form lives pulling from List B data as screen 2? Or vise versa. Assuming you double click to open the app on an item and it goes to a home screen? Or did you just create a stand alone PA? 

  • tly Profile Picture
    400 on at

    So I thought maybe I could invoke an action on Screen1 > Form > DataCard: CompanyName > DataCardValue.OnChange.

     

    The idea was that when I select a new record on SPO, the value changes to a new company name's value... but it appears that system-invoked changes do not trigger OnChange... only user-invoked changes.

     

    So if I manually change the company's name, it will trigger OnChange; however, when SPO changes the value based on selecting a new record in a list view, it does not trigger OnChange.

  • cwebb365 Profile Picture
    3,334 Most Valuable Professional on at

    Good idea :P, bummer it didn't work. If I can get a PoC of you're setup to reproduce it, I'll help try to come up with something(if it's even possible :))

  • tly Profile Picture
    400 on at
    cwebb365 wrote:

    Good idea :P, bummer it didn't work. If I can get a PoC of you're setup to reproduce it, I'll help try to come up with something(if it's even possible :))


     

    What I'm doing is a bit sophisticated--you'd have to create several lists.

     

    At this point, I think that either I'm doing something completely wrong or PowerApps does not take into consideration how SharePoint affects its events. I'm hoping that there is some wisdom for the former, but if it's the case of the latter, then I suppose a fix would be nice.

     

    I'm just surprised there's not much out on this already.

     

  • Verified answer
    tly Profile Picture
    400 on at

    Since nobody is responding with a solution or workaround, I've taken the opportunity to submit this as a suggestion. I'll go ahead and close this thread. Thanks for trying to help, @cwebb365.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard