Activity
Mon
Wed
Fri
Sun
Jun
Jul
Aug
Sep
Oct
Nov
Dec
Jan
Feb
Mar
Apr
May
What is this?
Less
More

Memberships

Learn Power Apps

Public • 1.2k • Free

Power Apps Templates

Private • 141 • $5/m

8 contributions to Learn Power Apps
Writing data issues for repeating records (child records in gallery)
Hi, I'm trying to write child records to a Dataverse table. I have 4 galleries that all read (populate the gallery) and write to the same table. I'm trying to do this with 4 forall/patch statements. I got all 4 to write successfully by wrapping them in a concurrent(without concurrent, only the first forall/patch with data changes would write). This works great on the first save (all 4 galleries have edits, or even if they don't there is no data to screw up). But subsequent ones get wonky. If a change is made to any field in one of the galleries, that entire gallery will write fine. However, if no change is made to one of the galleries, then all the data for that gallery is "blanked out" in the dataverse table with the exception of the first row of the gallery. This doesn't make logical sense to me as to why when there is data in the gallery, but no changes, the patch is erasing the bulk of the data from the dataverse. Is forall/patch just not the way to go to write repeating (child) records like this? Many thanks for any guidance! :)
1
3
New comment 11d ago
1 like • 15d
Hi Elvis, I ended up changing to use a collection that all 4 galleries feed into and it's working. So I was able to remove the foralls. But I'm attaching the screenshots in case you still want to look. I numbered them 1-4, but I'm not sure if you can see the file names of them. If not, the one with concurrent is first, then the other 3 have numbers that indicate 2-4 in the field names. The issue may not have been in this code, it could've been somewhere else. But when ran individually (before I put in the concurrent), each would work. The issues started when would run mulitple foralls. I'm very new (this is my first app), so my error could be anywhere LOL
Updating multiple Dataverse rows from Inspection form
Working on my first app and still learning :)... in this app, I'm using Dataverse tables. I made an inspection form (similar to Darren's tutorial). I have 4 "tabs" each shows a different gallery from the same datasource (based on the Location #). See screenshot (it does have fields that will be hidden later, but show now for testing, so that's why the gallery items are jumbled). I have a Save button with a ForAll statement for each gallery (screenshot shows the 1st one, but the other 3 run back to back immediately after and are identical, except for the gallery/field names). I have tested each ForAll statement individually and they each work on their own. However, when I put all 4 (or 3 or 2) in the code, only the first one writes the updates and the subsequent ones don't. Any ideas as to why? I'm wondering if it's something with the delegation warnings. Or do I need to reset the gallery after the forall, before the next one? I'm at a loss and haven't found anything when doing an internet search. Thanks for any guidance!
1
5
New comment 25d ago
0 likes • 25d
Also, I did more testing this morning and found that when I run all 4 of my ForAll/Patch statements, that it's not just running the first set everytime. It's running the first set that has changes. So if the data in gallery #1 doesn't have any data changes, then #2 will run. But #3 and #4 are still skipped (even with data changes).
0 likes • 25d
Here you go... attached a txt file. (the entire code for that Save button) Thanks!
Display Next button
Hi there, sorry for the dumb newbie question! I have a Next button that should be disabled until all required inputs are there. The inputs are several text boxes, a date picker, and two checkboxes. Here's the code I'm using: If( IsBlank(txtAccountName.Text) Or IsBlank(txtAccountNum.Text) Or IsBlank(txtDeliverBldg.Text) Or IsBlank(txtVendorName.Text) Or IsBlank(txtVendorPhone.Text) Or IsBlank(txtVendorAddress.Text) Or IsBlank(txtRemarks.Text) Or IsBlank(datDeliverByDate.SelectedDate) Or IsBlank (chkITPurchase.Value And chkNotITPurchase.Value), DisplayMode.Disabled, DisplayMode.Edit) The resulting behavior is that the Next button is disabled until the DeliverByDate is selected, then it's enabled. Can anyone suggest how I would modify the IsBlank line for the two checkboxes to make it wait to enable the button until one of them is selected? Thanks for any assistance!
4
17
New comment 23d ago
1 like • 26d
Hi, I'm a total newbie working on my first app as well... so I could be totally off base LOL. But, I'm doing the same thing on one of my buttons. For the textboxes, my isblank() doesn't have the ".Text" on it. Is it requiring you to have that? Here's what part of my DisplayMode rule (I removed pieced that didn't apply) looks like If(IsBlank(txt_OperatorName) Or txt_OperatorName.Text = "" , DisplayMode.Disabled, DisplayMode.Edit) For different scenarios I also had to add the textbox = "" to get it to work. So maybe try adding that and see if it will work.
Components suddenly invisible
Hi guys, I was designing the App template on my own and suddenly my menu component is now invisible and on the visible property is true, can anyone assist?
3
2
New comment Apr 16
1 like • Apr 16
I think you are referring to something that I've seen when I created my template (following Darren's tutorial video). This seems to happen when you make certain changes. You can refresh by running the "Run OnStart" on the app. Then it will show up again.
Access All Content for Free
Hi guys! How do you level up here in this community? You simply post and become active and engage. Any post or comment you make here in Skool can be liked. Each like adds points! If you introduce yourself, and comment on the things that interest you, you'll level up in no time. 😊👍 To find out where you're at, click here: https://www.skool.com/learn-power-apps-9036/-/leaderboards - 🟡At yellow belt (level 2), you will earn the Crash Course. - 🔵At blue belt (level 5), you will earn the JumpStart Kit. - 🟤At brown belt (level 7), you will earn the Ticketing App Course. - ⚫At black belt (level 9), you will earn 12-months access to the Accelerator Program! Once you guys reach the level, post a comment below and I'll get you all set up! Thanks for bringing this community alive with your engagement! If you've already purchased these, you can gift one to a friend.
34
63
New comment 9d ago
3 likes • Apr 8
Made it to level 2 :)
1-8 of 8
Gwen Wilson
3
43points to level up
@gwen-wilson-4966
Currently develop applications with AgilePoint. Looking to learn and shift to Power Apps.

Active 1d ago
Joined Mar 27, 2024
powered by