cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

[Discussion] PA Objects are live all the time. How does that affect app performance?

So, I was watching this video from Microsoft Ignite. Link here: https://youtu.be/14yqmGBY12I

 

The presentor says at 7:04 that "the entire app is live all the time."

 

How does this idea translate to having a ton of screens with a ton of objects? Is this why the editing apps takes so much time and processing power? What performance hits could possibly arise from this?

15 REPLIES 15

@Anonymous

"given that the developers actually communicate well -- which, well, they really don't do well."

The developers rely on other users. That is why they created the "kudo", leveling users and so on. In other words they want you to  help others for uselss points which basically cost them nothing. Smart.. isn't it 

I'm still waiting for them to answer 2 questions

Anonymous
Not applicable


@Sienna wrote:

 

The developers rely on other users. That is why they created the "kudo", leveling users and so on. In other words they want you to  help others for uselss points which basically cost them nothing. Smart.. isn't it 

I'm still waiting for them to answer 2 questions


 

Point but that's another topic. A reasonable platform could still expect help from its userbase, if not just to simply gather feedback and promote community. But there are things seriously wrong or just simply missing with PowerApps and instead of keeping communications open, the dev team seems to maintain radio silence when things don't go the way they promised the users. 

 

PA and the PowerUsers Community makes me want to vent. @mackenzie_lyng -- You can see the rant below for Community UI feedback, as you said you guys are revamping the whole site and all.

Spoiler
And on another note, the UI on this community sucks. Like really sucks. This text editor I'm typing on sucks the most. The code editor sucks and if you have to add in a line break between code, you have to retype everything unless you're okay with this stupidly awkward break between the <pre> sections. The font size controller sucks. The size of the font in this editor somehow differs from when it's posted. And there's no option for adding our own quotes. And their own Quote button has this restrictive option of only allowing one message to be quoted. And their tagging function doesn't make intuitive sense. I'm trying to tag somebody in this conversation and if I type too many characters of their name (like 3's apparently too much), my intended targets get lost in the pool. And admins and staff are harder to tag since they appear last apparently. And have I mentioned the photo attachment thing? It's stupid and should be changed. It's too awkward to use. And adding text after adding in an image is somehow buggy. And the emoticon replacements. Why do they still trigger inside code sections? The lists can be buggy too. Everything's buggy. And I almost forgot, somehow, the page for posts is also buggy. My notification thing gets covered by the floating header.

@Anonymous

 A reasonable platform could still expect help from its userbase

Yes I fully agree with that. 

the dev team seems to maintain radio silence when things don't go the way they promised the users

Yes that is what they do all the time which is a bit frustrating. 

But instead of revamping the site I would concetrate more on PA it self. It needs a lot of things to be done and fixed first. My suggestions were posted here

https://powerusers.microsoft.com/t5/General-Discussion/From-Sienna-to-Powerapps-review-ups-and-downs-after-2-years/m-p/78984#M30990

so I really wonder what is going to happen

Anonymous
Not applicable

Yeah... about revamping the site? In case you haven't noticed, my post is one of the featured posts for this community. The one about deleting my account, if that's not clear. The admin had mentioned about the planned revamping of the UI but I suppose another team's doing that.

 

And about the updates...

 

To quote Lance Delano of the PA Staff regarding their supposedly planned PA Printing functionality...

So, we're looking at a bunch of requests that will help improve overall usefulness and usability.  Printing is definitely on the list.  There are a lot of things on the the list though.  Appreciate the ping. 

 

Definitely indefinite. So unambiguously unclear. They're really great at giving non-answers and evasions.

 

Here's link to the idea if you're interested: https://powerusers.microsoft.com/t5/PowerApps-Ideas/Printing/idi-p/846/page/6#comments. His comment is on Page 6. 







 

Right sorry for that and yes that what I was saying since beginning... They don't care about the users but what is good for them. It was like that from beginning. It would be much more better if they would say that this simply won't be included because (for example) it won't makes us money rather then keep us in misery. Timeline was suggested again since sienna. You have no idea how many suggestion I wrote (some of them are surprisingly included) an how long I was waiting without any answer or so many lies what said we working on them. I learned to just expect worse and hope for better... That is all you can do here

@Anonymous wrote:

 

And also that reading and maintaining the code if it's just in one place is much easier. It's really slow to move from one property to another. (Oh, god. The lag.) I'm surprised they haven't improved that ridiculous dropdown.

 

Are you using desktop PowerApps? I switched to editing in the browser and haven't gone back. It runs at  a good speed.

 

@Anonymous wrote:

 

 

So, back on topic. How did moving all the querying from the caches to the controls improve your app? Did it improve general loading times? Did you have awkward visuals in the screens when the data is initially being queried? If so, how often? The updating of the evaluation of property formulas is also reported to be run parallel. Did that affect the way you queried the data at all? 


Good questions. I have a few case studies I can share of the kinds of changes I made. What worked as a compromise for one app did not necessarily work for another:

 

  • To address the 'awkward visual' when the data was being queried upon starting up, I placed a variable at the start and end of my OnStart commands. When the end variable activated, so would a toggle that included some more conditions*, and then it would show things the way I wanted them to appear, else it would show a loading GIF with opaque black fill. 

    *Detecting when an object is finished loading is kind of tricky. I used a condition to determine when a dropdown was finished:

    !IsBlank(Dropdown.Selected.field)
    I bound that to a toggle and paced my interactions with datasources a little better.

  • Evaluating property formulas: the only 'time' when properties do not calculate well for me is when involving time, not the calls to the datasources. For me, timers do not run on time on slow devices. So animations for fading, sliding, and expanding can sometimes elapse over twice the intended duration.

    I don't have a solution for this one except to throttle some animations.

  • In cases where live data was already pulled into one gallery and I needed to pull the same live data elsewhere, I had begun filtering Gallery.AllItems so I don't repeat calls to the datasource. In one instance, I had Gallery2 nested in Gallery1. To count everything in each of the Gallery2s, I used this formula:

    Sum(Gallery1.AllItems, CountRows(Gallery2.AllItems))

    The same could be done for a Sum
    Sum(Gallery1.AllItems, Sum(Gallery2.AllItems,field))
  • Reconfiguring datasource: In this situation, I needed a Sum() across an entire datasource, but aggregate functions aren't delegable. So after hopping over to SQL and not being successful, I just reconfigured my table to include a column that kept a running balance. 
    Users would correct the balances each time they performed actions upon the datasource--a solution inspired by blockchain. They used data already being operated on, so there was no additional performance required.
    https://powerusers.microsoft.com/t5/Connecting-to-Data/Export-data-from-CDS-into-SQL/m-p/76802#M566

    I had a Gallery of Users which was data filtered directly to a connected datasource. It was previously performing the sum (described above) upon another datasource and clogging things up (the returned results were within 500 records). When I changed the object in the gallery to do the lookup for the balance, which was just a single record each, the gallery took 8s to load up on my phone which is within my level of tolerability for slow devices.

  • Gallery: Another app of mine was unusable by anything that wasn't my own computer. There were too many images and conditions all over the place. So I started identifying objects and properties that used the same condition. I placed the condition in a toggle. Then I referenced the toggle instead of repeating the condition in multiple places. 

    This made the app very usable on my phone. I was very close to giving up before that. 😕

  • Another gallery required a lookup from one datasource to another so I expected it to run slow. The gallery had multiple controls that each looked up a different field, but from the same record. So I nested a gallery which housed the common record to lookup. Then for each field I needed, I referenced:
    First(Gallery_name.AllItems).Field
Microsoft Employee
@8bitclassroom

Helpful resources

Announcements

Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Summer of Solutions | Week 4 Results | Winners will be posted on July 24th

We are excited to announce the Summer of Solutions Challenge!   This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions in the Forums to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersNumber of SolutionsSuper UsersNumber of Solutions @anandm08  23 @WarrenBelz  31 @DBO_DV  10 @Amik  19 AmínAA 6 @mmbr1606  12 @rzuber  4 @happyume  7 @Giraldoj  3@ANB 6 (tie)   @SpongYe  6 (tie)     Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersSolutionsSuper UsersSolutions @anandm08  10@WarrenBelz 25 @DBO_DV  6@mmbr1606 14 @AmínAA 4 @Amik  12 @royg  3 @ANB  10 @AllanDeCastro  2 @SunilPashikanti  5 @Michaelfp  2 @FLMike  5 @eduardo_izzo  2   Meekou 2   @rzuber  2   @Velegandla  2     @PowerPlatform-P  2   @Micaiah  2     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Week 3:Community MembersSolutionsSuper UsersSolutionsPower Apps anandm0861WarrenBelz86DBO_DV25Amik66Michaelfp13mmbr160647Giraldoj13FLMike31AmínAA13SpongYe27     Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Week 4:Community MembersSolutionsSuper UsersSolutionsPower Apps DBO-DV21WarranBelz26Giraldoj7mmbr160618Muzammmil_0695067Amik14samfawzi_acml6FLMike12tzuber6ANB8   SunilPashikanti8

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport.   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages

Users online (980)