Тёмный

PowerApps Repeating Tables like InfoPath Part 1 - Enter the data 

Shane Young
Подписаться 163 тыс.
Просмотров 203 тыс.
50% 1

In this video, you will learn how to create PowerApps repeating tables like you had in InfoPath. We will use SharePoint lists as the data sources and create an expense report. We will do this by customizing a gallery to make it the repeating table including full tab support for easy data entry.
Part 2 is here:
• PowerApps Repeating Ta...
Link to video on Collections
• PowerApps Collection -...
For more information check out PowerApps911 www.PowerApps911.com

Наука

Опубликовано:

 

21 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 930   
@briankeller5267
@briankeller5267 2 года назад
I'm an RPA Developer and we are routing invoices through SharePoint List and Power Automate for a client. We needed this exact solution. Shane! You are the man. This was so good. So good!
@DavidCastilloOnGoogle
@DavidCastilloOnGoogle 5 лет назад
Hi Shane, Truly appreciate your effort in teaching us this and other applications on PowerApps. I am proud to say that because of this, we will be launching our budget approval platform mainly on PowerApps (with SP as backend and Flow for the workflow engine). Truly would not be able to do this without your help, man. Thank you very much! David
@ShanesCows
@ShanesCows 5 лет назад
Great. Thank you for sharing. 😻
@terrisepulveda627
@terrisepulveda627 6 лет назад
Shane, you are totally awesome! I combined the Animation video mechanics with these mechanics and I have a blinking label that comes up instead of the icon! The instructions are precise , but allows building blocks like the blinking label. I would not have successfully completed my project(s) without these videos. On behalf of the Powerapps community.....Thanks again!!!!
@avisinha2844
@avisinha2844 2 года назад
hi terri can we connect, I had some doubts, i was wondering if you can help me with this?
@altino91255268
@altino91255268 3 года назад
This sequence of three videos has already taught me a lot !!! I can use this logic for so many things !! Thank you Shane!
@ShanesCows
@ShanesCows 3 года назад
Glad to help. Those are some of my favorites I made.
@terrisepulveda627
@terrisepulveda627 5 лет назад
LOL I am going to put together a video of Shane's facial expressions! I get a good laugh and I learn a lot. Thank you Shane aka PowerApps Rock Star
@ShanesCows
@ShanesCows 5 лет назад
Sounds awesome! Send it over when you get it done. Or send it to the PowerApps911 help desk. They love that stuff.
@antera30
@antera30 5 лет назад
Thank you for sharing this Shane, my position is safe now
@ShyamKumar-rl3rw
@ShyamKumar-rl3rw 3 года назад
Meaning?
@colleenparker-trueblue234
@colleenparker-trueblue234 4 года назад
Shane, please know how much I appreciate your videos. They are so thorough and helpful!
@ShanesCows
@ShanesCows 4 года назад
Glad they help you Colleen. 😻
@Ksra09
@Ksra09 3 года назад
new subscriber ! Our University is moving from SP2013 to SPMod and the rest of M365/Teams/PowerApps/PowerAutomate. Tons to learn. Videos like yours are priceless. Very clear, good pace. I'll be creating my first repeating tables application over the next couple of weeks (Asset Disposal). Anyhow my main thing here was a huge thanks for this ! On to parts 2 and 3 ..and the rest of your vids. High quality instruction..
@ShanesCows
@ShanesCows 3 года назад
Thanks Brian. Enjoy the journey. The platform is awesome.
@zakirshaikh8448
@zakirshaikh8448 5 лет назад
Hi Shane, Thanks for the video. I was stuck in a App with the same requirement....Thanks
@ShanesCows
@ShanesCows 5 лет назад
Cool.
@spuds518
@spuds518 5 лет назад
Another great video, thanks a bunch!
@ShanesCows
@ShanesCows 5 лет назад
Happy to help Mackenzie
@csjo77
@csjo77 5 лет назад
Great video, Shane! Thanks for posting... I'm a total PowerApps noob whose first app basically involves eating an elephant all in one bite (probably there'll be at least 5 or 6 collections/galleries/etc that all have to tie together)... I think you've now helped me make that possible!
@ShanesCows
@ShanesCows 5 лет назад
Cool. Take your time with baby steps.
@melaniedillmon9283
@melaniedillmon9283 5 лет назад
Thank you so much, Shane! These videos are enabling me to help our team quite a bit in PowerApps. I am making great progress in learning the program thanks to you!
@ShanesCows
@ShanesCows 5 лет назад
Happy to help.
@zebensuimontenegro1399
@zebensuimontenegro1399 6 лет назад
Hi Shane, congratulations for your video. It's very helpful. MasterID column is a text column or a search column? I think if it's a search column, It won't work. How can you obtain a text MasterID column from the expense máster list? Thanks a lot
@ShanesCows
@ShanesCows 6 лет назад
It is a text column.
@PattyJames3478
@PattyJames3478 4 года назад
I had a little bit of how to do this one also but then figured out... The ID column is already a column that was not default shown in the "Master" list view. If you go in and change your view to include the "ID" column it may make more sense.
@marioramos5384
@marioramos5384 5 лет назад
"Really super geeky" -legend
@ShanesCows
@ShanesCows 5 лет назад
🤓
@Kimmy-xz3is
@Kimmy-xz3is 5 лет назад
Shane, you are a GODSEND! You were referred to me by ANOTHER genius. That says a lot. I hope you get paid in some way for your time. I'm sorry if you've answered this already. 230 comments to ready through - heavy sigh. I really don't want two lists - unless I have to. My project is for the following : one purchase order for several items that need price adjustments. So, let's say I have 3 list items on 1 PO that need correcting. Once entered, a workflow will kick off. It's important that only one PO is assigned to those 3 items so only one action will be performed. So my problem is staying in the realm of the collection and the one list. At least I think that's my problem. I have too many errors to list.
@ShanesCows
@ShanesCows 5 лет назад
Hi Kimmy. If you want to have variable amount of items two lists will be the best solution. Sorry
@ScottRosenbloom
@ScottRosenbloom 3 года назад
Hey Shane. This worked really well for me, so thanks very much for that! I'm creating a table of entries in a gallery of the various levels of a building. Some levels are above the first floor, and some are below. I want to be able to ask the user how many floors are above and below, and then create the corresponding entries in the gallery (with values of zero in each field for each record, which can be filled in by the user later), and also indicate which of those entries correspond to the levels above and below the first floor. I created a button that creates a new blank entry, with the following as the ONSELECT value: Collect(Ch2AreaCollection, {LvlName: "", LvlExArea: 0, LvlNewArea: 0, LvlTotArea: 0}) What I don't know how to do is repeat that function the amount of times, based on the user's input. Do you have any suggestions, and is that even the best approach? Thanks very much, and keep up the amazing work!
@ShanesCows
@ShanesCows 3 года назад
Sequence makes this much better these days. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-oKJkVx2gehw.html
@kevingordish9529
@kevingordish9529 3 года назад
Made one small improvement; Added a Patch(CollectName), Defaults(CollectionName), {}) to the save button; that way if someone does not click add line item row; the current row data gets saved by auto adding a blank row.
@ShanesCows
@ShanesCows 3 года назад
Thanks for sharing. Happy 🦃 day
@glennbullion9069
@glennbullion9069 10 месяцев назад
Could you go into details a bit more about this? I am trying to implement this same thing, as some users are forgetting to save the last row. But can't quite get this to work.
@basstubamatt
@basstubamatt 3 года назад
Great video, Shane. I'm a complete novice in PowerApps, and this video helped me build out a shopping cart app.
@ShanesCows
@ShanesCows 3 года назад
Great to hear!
@sbusisosakhiledlamini1324
@sbusisosakhiledlamini1324 3 года назад
You the best Shane! I was struggling with these for the past 24hrs.... you nailed it man!!!!
@ShanesCows
@ShanesCows 3 года назад
Awesome!
@ASoumakie
@ASoumakie 3 года назад
This is great Shane, you've covered most of the concepts might be needed in any form!
@ShanesCows
@ShanesCows 3 года назад
Thanks 🐶
@nhalblandin
@nhalblandin Год назад
Just getting my feet wet in Power Platform andcame across your videos Shane. I find your content invaluable, keep up the fantastic work.
@ShanesCows
@ShanesCows Год назад
Awesome! Thank you! My free intro class might be good for you. Canvas Apps, Model-driven Apps, Power Bi, and Power Automate all in a free, short class 🤩
@benhaynes4677
@benhaynes4677 6 лет назад
Brilliant helped a lot. Like the way you explain each function so that there is an understanding of exactly what you have done
@ShanesCows
@ShanesCows 6 лет назад
Thanks Ben. Glad it helped you. :)
@lsf87
@lsf87 6 лет назад
Great video Shane, easy to follow. BOOM moment getting the line items into the second list :) Looking forward to the next video.
@ShanesCows
@ShanesCows 6 лет назад
Thanks. :) Next video hopefully today.
@traceyrheeder7479
@traceyrheeder7479 5 лет назад
Hi StefanieHow did you get the Line Items to the Details List? On my app the Master list updates but not the Details List. I think it is an issue with the MasterID column - did you create this column manually in the list?ThanksTracey
@lloydcain1879
@lloydcain1879 5 лет назад
@@traceyrheeder7479 Do you figure this part out? Thanks
@veronicasolano6792
@veronicasolano6792 4 года назад
Lloyd Cain hi, I am facing the same error. Where you able to find the solution for this? Thank you!
@0619421034
@0619421034 4 года назад
Hey Shane, Amazing video, it is people like you who makes life easier for others.
@ShanesCows
@ShanesCows 4 года назад
Glad to help. 😀
@keithgallagher8242
@keithgallagher8242 5 лет назад
Hi Shane, thanks for the brilliant tutorials. I have watched quite a few now and everyone has helped me to learn more about PowerApps and sharepoint. I have successfully created the basis of an app using your repeating tables video but I was wondering if there was a way to keep the new blank row at the top of the gallery rather than scrolling down as you add rows.
@ShanesCows
@ShanesCows 5 лет назад
Sort your gallery. 😀
@cyberinspired
@cyberinspired 2 года назад
Shane, Thank you for your videos. You make me look so good with the apps I've developed with your help.
@ShanesCows
@ShanesCows 2 года назад
Awesome! keep up the hard work of building apps and learning. It will pay off.
@bluerondo
@bluerondo 3 года назад
LOVE this - you just solved issues with MULTIPLE forms I'm trying to upgrade from on-prem (old) SP to SPO and PowerApps!!! Thank you!!!
@ShanesCows
@ShanesCows 3 года назад
Awesome. Glad it helped you Shelley!
@michaelcampbell6721
@michaelcampbell6721 Год назад
Amazing.......so easy to follow and I love how you do step by step.....it really helps!!!!
@ShanesCows
@ShanesCows Год назад
Thanks Michael
@fernalication
@fernalication 5 лет назад
Shane, thank you so much for contributing to the community with such useful videos. I'm having some issues (of course) with repeating tables. Thing is, every time I try to create a new item on the 'gallery', it gets created but the first/last one is deleted. No clue what could be happening, just followed same instructions provided on your video. Any comment/suggestion will be much appreciated. Thanks and keep it up!
@ShanesCows
@ShanesCows 5 лет назад
Are you maybe using ClearCollect where you should be using Collect?
@fernalication
@fernalication 5 лет назад
@@ShanesCows - I found it. My error was to add text input boxes but not changing the default value which was "". Then I changed for my custom names (LineItem in your example) and works like a charm. Thanks!!!
@kevindibb6534
@kevindibb6534 4 года назад
I've watched this video about 50,000 times. It finally clicked on about the 49,999th time. Thanks.
@ShanesCows
@ShanesCows 4 года назад
Awesome!
@generice3398
@generice3398 2 года назад
Shane, this series was a tremendous help! However; is there a way to make the fields in the gallery required?
@dcase84
@dcase84 5 лет назад
One change I made is I put my detail labels on the canvas, outside the gallery so they act as a 'header' row. Saves a lot of real estate that way.
@ShanesCows
@ShanesCows 5 лет назад
NICE!!!
@Phatgam1ng
@Phatgam1ng 2 года назад
Hi Shane, Great Video really helped me move from an ancient sharepoint system using infopath forms to using powerapps, One quick question, is there a way to save all the items added to a gallery rather than having them save each line before adding the next item ? So to save all the gallery items input them submit them to sharepoint ? Thanks
@ziadhamandi3595
@ziadhamandi3595 6 лет назад
Very nice Shane. Your videos are straight to the point. That is what I like about them. I personally prefer to click on “add new item” after save, instead of just tab. Can you touch on that concept please? Thank you.
@ShanesCows
@ShanesCows 6 лет назад
Thanks Ziad - I actually had that in the original version and took it out. They way I did it was: I made a floating button at the bottom of the gallery. I show you how to do that in this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-D_Kb7AXSE0s.html Then set the Onselect in that button to create a new row in your collection. Does that help?
@jhhatcher1885
@jhhatcher1885 3 года назад
Thanks Shane - I know this is an old video, but it works great. I had a few issues at the start - I was getting blank rows in my SP list, but I found the error and it works great now. I had to use ThisItem for the naming convention of the textinputs.
@ShanesCows
@ShanesCows 3 года назад
Glad to help. 😀 this is one of my favorite concepts still.
@jhhatcher1885
@jhhatcher1885 3 года назад
@@ShanesCows Oh wow, I didn't think you were still monitoring these. You are a great easy to follow instructor. Question? How would you put a date picker and or a dropdown in a collection - similar to how you entered the text, but I would rather have a DropDown and a date picker?
@stefancochrane2723
@stefancochrane2723 2 года назад
Many thanks, Shane! This looks very promising. In my case, my PowerApps is for a customized SPO list. I added the gallery inside a custom card in the form, and in previewing, it seems to work fine. When the SPO item is opened in Edit mode, I'll figure out how to get the collection from the 2nd list to populate the items. After publishing, the 1st row in the gallery doesn't appear, though. Has anyone else tried this method with a customized SPO list? Thanks! Steve in Spain
@leslieevetts2103
@leslieevetts2103 2 года назад
I'm new at this and watching your videos has been very helpful. I was wondering about setting up the repeated table, if the first box could be a drop down that pulls information from a SharePoint list that then will auto populate other boxes? I have built number of InfoPath forms in this way to save time and hoping this will work in PowerApps as well.
@husseinakberali6516
@husseinakberali6516 4 года назад
Hey Shane, this is awesome. Really appreciate your hard work and patience with going through these different scenarios. I was just wondering, on the repeating table, is it possible to have an attachments on the Gallery Input? Thanks again, your video's are class!
@ShanesCows
@ShanesCows 4 года назад
Yes save the file to a collection and then you can save it to the data source with a ForAll
@husseinakberali6516
@husseinakberali6516 4 года назад
@@ShanesCows thanks, appreciate it
@thristanvasquez4882
@thristanvasquez4882 6 лет назад
Thank you for this video. So helpful. More power!
@ShanesCows
@ShanesCows 6 лет назад
Your welcome! 😻
@itpatel7268
@itpatel7268 5 лет назад
Thanks for the great video Shane, I have learned a lot. One question, is there a way to make LineItem and itemcost mandatory text input so that way before a user clicks on 'Save' icon, it can show something like a validation message that either of the column are not populated, can you advise please.
@ShanesCows
@ShanesCows 5 лет назад
Set the buttons display mode to disabled until those fields are not blank.
@user-wt1mr7mp6k
@user-wt1mr7mp6k 2 года назад
Hey Shane, The video is excellent and helps me a lot! I would like to know if you can help me regarding the initialization of a date field in the collection, the initialization in the form "" is of text, thus creating a problem for me to use the patch function into a date field.
@fklatecki
@fklatecki 6 лет назад
Looking forward to the next videos...who says there is nothing to watch during the summer re-runs!
@ShanesCows
@ShanesCows 6 лет назад
I am no Game of Thrones but working on it. :)
@williamfenner823
@williamfenner823 3 года назад
Hi Shane, love all your videos and this series of vids has helped my solve my InfoPath dilemma. One question, and using your Expense Form as an example, what is the best way to write the Total number of successful "ExpenseDetails" items to a field in the "MasterDetails" , so if the were 5 successful "ExpenseDetails" items, update a field (e.g ItemTotal) in "MasterDetails" with 5?
@ShanesCows
@ShanesCows 3 года назад
CountRows in your collection. Similar to how we update the total expense.
@pattywilliams7314
@pattywilliams7314 3 года назад
This is a great video series Shane! I'm following along to build my own app, but my gallery has dropdowns (not combo boxes) that lookup to separate lists. One thing that's happening when I click the save button on a row is that, although a new row appears, all the dropdowns on the previous row revert to the defaults. I've googled this and found posts talking about setting the "DefaultSelectedItems" property for the dropdowns so they retain the values I selected, but I can't for the life of me find it. Can you point me in the right direction? Thanks!
@ShanesCows
@ShanesCows 3 года назад
Patty did you set the dropdown columns to have Default properties from the collection ThisItem.something
@connorwilkinson6575
@connorwilkinson6575 5 лет назад
Hi Shane, great vid!!! How would i go about patching a date section when trying to adjust the "Save" button in the gallery? Also, in the "OnSuccess" section of the form, how did you manage to lookup the "ExpenseDetails" list? My form doesn't appear to recognise my second list. Thanks again.
@ShanesCows
@ShanesCows 5 лет назад
Connor you can use the Now or Today function to get the current date or time.
@konstruktionsburojb6848
@konstruktionsburojb6848 5 лет назад
I just love the style of your tutorials. I learn a lot while actually doing and that suits me perfectly and I am slowly building up a stockpile of useful bits and bobs. However, some bumps on the road for the beginner - especially when you do PowerApps in Scandinavian - right now I am a dead halt when setting button1 up for the ClearCollect function; it simply will not accept the syntax within the brackets and it is driving me bonkers.
@ShanesCows
@ShanesCows 5 лет назад
Share your code here and I will see if I can help.
@konstruktionsburojb6848
@konstruktionsburojb6848 5 лет назад
@@ShanesCows This is how it ended up looking, with some extra code from the ensuing videos - and it works too: NewForm(FormMasterData);;ClearCollect(ColExpenses;{LineItem:" "; LineCost: "0"; ShowSaveButtons: true});;Navigate(ScreenOpretPostering; ScreenTransition.None) The double semicolons are a Scandinavian formatting thing, but the real cruncher was the need of double quotes surrounding the 0. That took some hairpulling :)
@ShanesCows
@ShanesCows 5 лет назад
Glad you got it. And thank you for sharing.
@mtamitolanga
@mtamitolanga 5 лет назад
Hi Shane thank you very much for the videos. The relationship between the master list and the details list, was it created in SharePoint or is it created when posting the data from PowerApps to SharePoint
@ShanesCows
@ShanesCows 5 лет назад
PowerApps created and maintains the whole relationship.
@acranny
@acranny 5 лет назад
Hey Shane, Thanks for your videos they are fantastic. Having an issue posting data back to on premise SQL table where its attaching all rows for multiple entries, but using the last record data for all entries. Anything feedback/help you could provide would be helpful
@ShanesCows
@ShanesCows 5 лет назад
Share your code and I will try to help.
@Macedvisioned
@Macedvisioned 3 года назад
Great video. Looks good to use these great InfoPath functionality in PowerApps.
@ShanesCows
@ShanesCows 3 года назад
Thanks 🙏
@agytkumar
@agytkumar 6 лет назад
Thank you for this video. Really helpful. I was wondering if Form1.LastSubmit.ID mentioned @ 22:50 will always work? e.g. In case of a heavy use app where there might be near simultaneous submits. Can you please make a video explaining any other way to get the ID (like querying the DB for the correct ID)?
@ShanesCows
@ShanesCows 6 лет назад
It will always work. Last submit is per user no worries.
@isahacker
@isahacker 4 года назад
16:47 hahahahah this is your problemmmmmm epic lol !!! Thank you for taking the time to share your knowledge
@ShanesCows
@ShanesCows 4 года назад
😂
@PowerThingsWithWes
@PowerThingsWithWes 4 года назад
@@ShanesCows does the "Tab Order" property of controls not help with this problem? (I understand this video was probably made before that property.)
@PrasadChinna
@PrasadChinna 5 лет назад
Thanks for the nice video on repeating table. I have a question, you have written onload of the form in 'Create New Expense' Button OnSelect Event instead can't we write the same in OnLoad of NewForm. I didn't find OnLoad method, how can we achieve it? Please suggest me. Basically I want to achieve this functionality in SharePoint list form for New, Edit, and View.
@georgeevans2087
@georgeevans2087 3 года назад
Shane, This was a great help in making up a POC app for my Company. Thank you so much. However, I ran into the same issues that a couple of commenters here described. Namely if a drop down control is included in the list/repeater then the selected value is not preserved if the page does a "postback" type operation. In this case it always reverts to the initial stae of the control (first record in my case). I can see WHY it would do this, but wondered if there might be a way to prevent this behaviour that you know of? In other framework tools I have seen, there is an "on pre render" event that fires after initial load that you can use in conjunction with Session (maybe Context in PwrApps) variables. If this existed (or better yet MS made a Repeater object), it would propel PowerApps to the head of many peoples queue for dev tools. IMHO an editable "one to (not sure how) many" relationship in forms and reports is an incredibly common scenario. We can work around this with page branching etc. but how many of our users really want the extra clicks and distraction of a new page? Anyway, like everyone hereI really do want to applaud you for the effort you put into these tutorials. Great job.
@ShanesCows
@ShanesCows 3 года назад
George if you set the dropdowns Default value to ThisItem.ColumnName it shouldn't revert.
@susanteng3592
@susanteng3592 3 года назад
Thank Shane. Your tutorial is very helpful. I see you use ForAll( ) in Form1 onSuccess to save the ExpenseDetails information to sharepoint List. If I don't have a master list and only need to save ExpenseDetail List. What code I should put in the SAVE button?
@ShanesCows
@ShanesCows 3 года назад
Susan it would be a form of the ForAll code from the OnSuccess you would use in your button OnSelect. Here is a whole vidoe on ForALl if it helps. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-0xZ4fMJbLvk.html
@renebernalolmos9533
@renebernalolmos9533 4 года назад
Really good videos to start working with repeating tables and develop your first nice powerapp, thanks for share your knowledge. I just have a question, how can we make our Collection updated in the case you does not have a button to go to your form screen? I mean, If you have just one Screen - the form, and you add the clearcollet on the OnVisible event of the Screen, the collection it is not update it, Why? How to solve this?
@altyrocks
@altyrocks Год назад
This video is a lifesaver. Thanks so much! What is the syntax to add a dropdown that pulls from another Sharepoint list to the collection?
@ShanesCows
@ShanesCows Год назад
If you had a dropdown you would set the Items property to be the SharePoint list. Also, make sure you set the Default of the dropdown to ThisItem.ColumnName
@debaratiray2482
@debaratiray2482 4 года назад
Hi Shane, Thanks for all your informative videos. I want to bulk upload from excel /or bulk copy paste from excel to the repeatable table. Can you help me how to proceed with this requirement?
@ShanesCows
@ShanesCows 3 года назад
I don’t know how to copy and paste like that. This video shows you how I import. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-QcWjAt7QVn4.html
@Test27344
@Test27344 4 года назад
Hi Shane...great video!! I was just wondering if you had any suggestions if I needed to have 2 repeating sections independent of each other in the same app? For example, one repeating section for the quantity and price of an item and another repeating section for the funding sources? Thank you.
@ShanesCows
@ShanesCows 4 года назад
It works. I have done it before and I call it grand child tables. 😀 Same technique you just need to connect the dots. Sorry don’t have a video for that
@devangmistry6307
@devangmistry6307 5 лет назад
Thanks for the great video. How would it work if I have drop downs and date picker for repeating tables along with text input
@ShanesCows
@ShanesCows 5 лет назад
Should be same concept. Nothing different I can think of.
@devangmistry6307
@devangmistry6307 5 лет назад
@@ShanesCows Thanks a lot, it works.
@madihasalman1
@madihasalman1 5 лет назад
Hei Shane learned a lot from ur videos . I have question since u r doing saving of data on one screen . What if we have a big form and we split into two screens . How we can do that ??
@ShanesCows
@ShanesCows 5 лет назад
Check out my video on Tabs. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-if_mFIfi5PM.html That is what I do. 😻
@ehabatme5324
@ehabatme5324 4 года назад
Big thank you for all your valuable contents. I’m not an expert, but doing well because of you :). I have a question to how I can receive a Purchase Order with segregating item quantities by adding serial, barcode, etc..
@ShanesCows
@ShanesCows 4 года назад
Look into Concat function video
@bethjohnson889
@bethjohnson889 3 года назад
I've been using my variation of this app for quite a while now and it's been excellent - we've been using it for recording defects in a car production factory instead of invoicing. I have some questions about saving additional information against each line item. On the form I have a colour drop down and a shift drop down and i would like these to be saved against each line item like the master id is. Is there a way to code this in? I've also got things like dates which would be useful to have next to each line item as this helps to filter the powerbi data where the data is displayed for our directors. Currently I'm doing this manually but getting this done automatically would be so helpful! Thank you for this video - so easy to follow and has taught me so much about powerapps
@ShanesCows
@ShanesCows 3 года назад
Hey Beth. All things are possible. 🤩 I would guess if things like Shift are static when you are adding items setting that into the collection would be the way to go. Have the collection populate it with a variable and set the variable when they start adding data.
@sagirvideos
@sagirvideos 6 лет назад
Hey Shane! Cant express how much this has helped! You make it real simple and easy to understand and follow... I have am stuck trying to use a dropdown option in my collection... can you help?
@ShanesCows
@ShanesCows 6 лет назад
Glad it helped. What isn't working?
@sagirvideos
@sagirvideos 6 лет назад
Thanks for hitting me back so quick :) On the "gallery" section, I have a couple of dropdowns that are linked to a sharepoint list, and I am not being able to get the default selected to blank - it always picks the first option or the option selected in the previous entry. The dropdowns on the "form" section, work fine with the default being blank... I noticed the dropdowns on the "form" use 'choice' function instead of 'distinct'... can you also help understand how these are different... and how i can make 'sort' work with 'choice' Here is the code snippets i have.. CertsCollection is the name of the collection. LineOrg and LineCert are the dropdowns. LineDate is a date (works fine), LineAgency is a text field (works fine)... On the Button... NewForm(FormMaster); ClearCollect(CertsCollection, {LineOrg: "", LineItem: "", LineDate: Today(),LineAgency:""}); Navigate(NewItem,ScreenTransition.Fade) LineItem Save Button... Patch(CertsCollection, ThisItem,{LineOrg: InputOrgDropDown.Selected.Value,LineItem: InputCertDropDown.Selected.Value, LineDate:InputDatePicker1.SelectedDate, LineAgency: InputAgencyName.Text}); Collect(CertsCollection,{LineOrg: "", LineItem: "",LineDate: Today(),LineAgency: ""}) This is how I have the Items property on the dropdown set... Sort(Distinct('Certificates List',Title),Result) Hope I was able to explain... let me know if you need anything else...
@akshataudoshi308
@akshataudoshi308 6 лет назад
Hi Sagnik, Please let me know if you were able to get the dropdown values, I am also facing the same issue.
@kylewalp5897
@kylewalp5897 Год назад
Great stuff! How do I accomplish something similar but with AAD users within a Dataverse table column? Requirements for my app have changed so that I believe it warrants migrating from SharePoint to Dataverse as the data source, however I cannot seem to replicate the People Picker multi-select functionality.
@Trapchaoz
@Trapchaoz 5 лет назад
Hi Shane, thank you for the video, this helped a lot! Im having one minor issue though. Whenever I submit the form, it is creating an empty row in Sharepoint BEFORE submitting the other rows that are filled with data (i have the if with the !IsBlank). I've checked the collection and there's no blank row in there. Any clues on why is this happening and how to prevent it?
@ShanesCows
@ShanesCows 5 лет назад
Check your patch. What do you have?
@michelleclark5269
@michelleclark5269 3 года назад
Hi Shane! Loving the videos and learning so much from you - thank you! My tab space isn’t working though - any tips? And the icon is below the box!!
@ShanesCows
@ShanesCows 3 года назад
I don’t. They are just really finicky😔 with enough moving and shaking you should be able to get it to do what you want.
@meticulous-analyst
@meticulous-analyst 4 года назад
Hi Shane, Thanks for the great tutorial. I want to create a similar app but it will have 12 columns in repeating tables, Is it possible? Can we have both vertical and horizontal scrolling for galleries? Thanks
@ShanesCows
@ShanesCows 4 года назад
Yes possible to have 12 fields not possible to have both scrolling.
@Chuckgtz
@Chuckgtz 5 лет назад
Great video! So helpful Thank you.
@ShanesCows
@ShanesCows 5 лет назад
You are welcome
@sc6084
@sc6084 2 года назад
You saved my life. Mucho mucho thanks!
@hpchristener
@hpchristener 5 лет назад
Hi Shane, thanks for your videos. They helped me a lot in creating an app for our school. Most of my old problems are meanwhile handled but as always there are new ones: I tried to duplicate your repeating tables app using Excel as database. It worked fine so far but I didn't get a MasterID automatically. Is that not possible in Excel?
@ShanesCows
@ShanesCows 5 лет назад
Try this video for help with Excel ID. PowerApps Excel Auto Increment Column ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-plKw_xfVfwY.html
@Joppel1971
@Joppel1971 3 года назад
Hi Shane, Thanks for all the time you put into your videos. I have a repeating table with a label where a filtered value is entered based on a combobox. The text in the label is saved in the collection, but is not visible in the gallery after patching. Do you have a tip on how to fix this?
@ShanesCows
@ShanesCows 3 года назад
You have to set the DefaultSelectedItems of the Combobox to a value from the collection. 😎
@Joppel1971
@Joppel1971 3 года назад
@@ShanesCows Oke I did that with the combobox, but what do I enter in the label.Text? I want the value that is filtered from the result of the comboboxes. Patching to the collection
@ryanbond8022
@ryanbond8022 4 года назад
Hey Shane, thanks so much. What reason do you have for using ForAll and patch to save the repeating data instead of just collecting the collection to sharepoint?
@ShanesCows
@ShanesCows 4 года назад
You could if the columns matched. I typically like ForAll since it give me more control. But collect could be used in some cases
@alistairlong2424
@alistairlong2424 5 лет назад
Hi Shane, brilliant video and has helped me achieve what I have been trying to do for the last month or so. However, is there a way to make the fields in the collection required and only submit form and patch the collection if all fields have a value?
@ShanesCows
@ShanesCows 5 лет назад
Sure. Just set the button mode to disabled if you have any blanks.
@alistairlong2424
@alistairlong2424 5 лет назад
@@ShanesCows Boom! Thanks very much, works perfectly.
@markhannah3573
@markhannah3573 4 года назад
This works great Shane! I do have one question - How can I get a DatePicker (Date field in SP)and Dropdown (choices field in SP) controls I inserted into my Gallery as part of my collection to transfer to SharePoint. I think I need to change the value when I make a collection using those types of controls. For example do I put "" or 0 or something else when I ClearCollect? "" works for both of those when I make the collection, but not on the OnSuccess of my form. It says it is expecting a record, but is seeing text. The only thing I can figure is that my collection formula is wrong for those two controls.
@ShanesCows
@ShanesCows 4 года назад
Use Today() for the date field and for the Dropdown it will depend on the structur of the SharePoint column you are writing to
@stetsonaustinfleming7528
@stetsonaustinfleming7528 3 года назад
Really great lesson. I think I might have bitten off more than I can chew(y). When I put in more than on record in the repeating table, It doesn't record more than the first creates multiple entries in the list but the are duplicates of one another (except for the ID). It kind of nullifies the whole point of it.... and the last week of learning powerapps.) You offered help, I am calling upon you to show this newbie what he has done wrong.
@ShanesCows
@ShanesCows 3 года назад
Stetson usually the issue is your patch formula isn't referenceing the values from the collection but instead you are calling the control names. That is why you get the duplicates. Good luck.
@joshualee9768
@joshualee9768 5 лет назад
Hello, Thank you for the videos, they are concise and informative. How do i make the MasterID autoincrement? I used excel instead of sharepoint (my company won't let me make a sharepoint). Everything works but a MasterID isn't generated it is just left blank. Any help would be greatly appreciated. Thank you, Josh
@ShanesCows
@ShanesCows 5 лет назад
Try out this video. PowerApps Excel Auto Increment Column ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-plKw_xfVfwY.html
@smithp3302
@smithp3302 3 года назад
Hello Shane, your videos are tremendously helpful! I have used your solution in this video however I am using filters in a form on screen1 which need to be passed on to screen2 thru 4. Is there a way to display the screen1 dropdown selection on screens 2 thru 4? Also when submitting form, can ForAll function be applied to multiple galleries which are on screens 1 thru 4?
@ShanesCows
@ShanesCows 3 года назад
Dropdown.Selected.ColumnName is valid throughout your app or you can set it to a variable is better. ForAll will work across your app also though you should probably be using ForAll to loop through collections not the gallery.
@smithp3302
@smithp3302 3 года назад
@@ShanesCows Thanks much!
@cedricbouve
@cedricbouve 4 года назад
you are the best for power apps it is so interesting thanks you so much
@ShanesCows
@ShanesCows 4 года назад
Thanks. 😍
@mmichael7700
@mmichael7700 6 лет назад
Hi Shane i truly appreciate and learn a lot from all your videos. I'm working on a project similar to this one except, i need to add additional records to one data source and i need to retain some of the information that needs to be filled out to be as default value. i.e if they entered country and state, age already when they want to enter additional record it should pick up the same country and state from the first data entry and prompt them to a page to enter age only and patch all that back to the data-source. Does that make sense? if so could you please show me on a video how it works. I highly appreciate it.
@ShanesCows
@ShanesCows 6 лет назад
Try storing those values in a variable and make that variable the default value for those fields.
@mmichael7700
@mmichael7700 6 лет назад
Thank you Shane will give it a try. Would creating collection work the same?
@murieln.8433
@murieln.8433 2 года назад
Hello Shane, Thank you very much for this interesting video. I would like to know if there is a way to have one SharePoint list for both the gallery and the input form?! As in I put some of the list fields in the input form and the rest in the gallery. Thanks in advance for your assistance.
@hitasajil3869
@hitasajil3869 5 лет назад
Shane Thanks for the info: I am using gallery for timesheet. I have datepicker and i want that datepicker to show previous month date. Is there a way? Appreciate your help on this. b/w Default date has already occupied by collection date.
@ShanesCows
@ShanesCows 5 лет назад
DateAdd function will let you subtract a month. DateAdd(Today(), -1, Month) is what I think it is off the top of my head.
@Tybyrd13
@Tybyrd13 4 года назад
Hey Shane love the video it's definitely helped me but I do have a question. For some reason after I set up my gallery and connect that gallery to the collection the preview option no longer works as well as when the app is live the galleries no longer appear when a user goes in to edit an existing item. Do you have any suggestions on why this may be happening?
@ShanesCows
@ShanesCows 4 года назад
Check the form mode maybe.
@aboody130306
@aboody130306 5 лет назад
Wonderfull stuff as usual , keep it up , we are learning much . I have a question what if i want the expense item to be a lookup field to use it for reports because if I leave it to user he will write Electrical and sometimes Electrcal (spelling Mistakes)
@ShanesCows
@ShanesCows 5 лет назад
Lookup from where? Make it a dropdown
@nalasha79
@nalasha79 5 лет назад
Thank you Shane for these instructions!!! I am watching ALL of them. Hey, instead of a sum for the itemCost what can we do to get the count of the items?
@ShanesCows
@ShanesCows 5 лет назад
CountRows function
@nalasha79
@nalasha79 5 лет назад
@@ShanesCows Thanks! I'll look it up.
@Saif_Ali_Khan_1301
@Saif_Ali_Khan_1301 4 года назад
@@ShanesCows thank you for this great information, it helped me a lot. Could you please let me know how add fixed number of rows and patch them together?
@Saif_Ali_Khan_1301
@Saif_Ali_Khan_1301 4 года назад
For a week data, Monday to Sunday where there is a column date field which should be auto populated with current week date
@utpalchalise
@utpalchalise 3 года назад
Hi Shane, This was really great. I am using SharePoint list form customization, and I am running into issue with bulk submit to child list, onSuccess for submitting to parent list. SharePoint form is split across 5 screens.
@ShanesCows
@ShanesCows 3 года назад
Sorry I am slow. Hopefully you got this figured out.
@utpalchalise
@utpalchalise 3 года назад
@@ShanesCows Thanks Shane, I was able to figure it out. I found out that OnSuccess only works with SubmitRequest, not Patch. Currently my issue is gallery not rendering in preview mode, and modern page, where I had embeded the form.
@lecuae
@lecuae 5 месяцев назад
Thanks, Shane, Such a great video. Just created a similar form unfortunately when I run to enter the line I cant see the form on running.
@Pavetl
@Pavetl 4 года назад
Hi Shane thanks for your tutorials, they are awsome! One quick question. When I use decimals, the data shown in the TOTAL in form.1 once saved in the sharpoint list does not record the decimal. Fors instance, it total is 99.99 in the sharepoint list appears as 9999.00. I alrady tried value(sum(expensecollection; LineCosts) hoping it would notice the value as a number but still is not working. Any idea what could be wrong? Thank you in advance.
@ShanesCows
@ShanesCows 4 года назад
Check your data. You should be able to write a number with decimals
@nalasha79
@nalasha79 5 лет назад
Thanks for your help! This is great functionality. Is there a way to populate a dropdown list in the gallery from another SharePoint list for selecting on the items?
@ShanesCows
@ShanesCows 5 лет назад
Yes. Set the items property to YourSharePointList.ColumnName
@nalasha79
@nalasha79 5 лет назад
Oh man, can't wait to try!!!
@tomaseriksson6416
@tomaseriksson6416 5 лет назад
@@ShanesCows Hey Shane i tried this but i got this error message "WArning: The columns produced by this rule are alla nested tables and/or records, however the property expects at least some columns of simple values (such as text , or numbers). Whats the syntax for clearcollect for a dropdown list? i guess its not the same like " {LineItem: "", ". . But i cant find what i have to write.
@radiosonicfan1726
@radiosonicfan1726 4 года назад
Any tips on prevent date picker/drop downs from being reset when the 'save button' is clicked. Data is save to collection, but confusing to any adding rows and seems like data from previously row went up in smoke. Any donation links?
@kreali75
@kreali75 5 лет назад
Thanks for the video - working through applying this and am running into a few issues. I'm using SharePoint lists - Parent list is "Scheduling", Child list is "Single" with a lookup field back to the title of Parent (SchedulingTitle), and Collection is DSingleCollection. My form is called 'Basics'. My Patch statement is: Patch(DSingleCollection, ThisItem, {CTitle: InputTitle_2.Text, CUPC: InputUPC_2.Text, CFormat: DropFormat_2.Selected.Value, CReleaseDate: InputReleaseDate.SelectedDate, CExplicits: DropExplicits_2.Selected.Value, CMktTerritories: DropMktTerritories_2.Selected.Value, CBeatport: ToggleBeatport_2.Value, CAssetsDue: InputAssetsDue_2.Text, CPartnerTerms: DropPartnerTerms_2.Selected.Value}); Collect(DSingleCollection, {CTitle: "", CFormat: "", CUPC: "", CReleaseDate: "", CExplicits: "", CBeatport: false, CMktTerritories: "", CAssetsDue:"", CPartnerTerms:""}) and my OnSuccess statement is: ForAll(DSingleCollection, Patch(Single, Defaults(Single), {Title: CTitle, Format: CFormat, UPC: CUPC, Beatport: CBeatport, Explicit: CExplicit, 'Mkt Territories': CMktTerritories, 'Partner Terms': CPartnerTerms, ScheduleLink: Basics.LastSubmit.ID})). 1) Can't seem to get the lookup to work 2) The entries for the repeating table work as long as I hit the save icon to open up a blank row at the end...then a blank row is inserted into the child table as well. Thanks!
@ShanesCows
@ShanesCows 5 лет назад
Lookup columns are the devil. If you are going to use them then you will have to find the special azure syntax for patching the complex column.
@elliotdeavasagayam4408
@elliotdeavasagayam4408 3 года назад
Shane, great learning. One question on this part. Is it possible to use dropdown menu from one list instead of text input for data collection?
@ShanesCows
@ShanesCows 3 года назад
Yes. Put in a dropdown control, just remember to set the Default property of the dropdown. :)
@nayannikumbh4664
@nayannikumbh4664 5 лет назад
Hey Shane, Thanks a lott for making these videos. In my solution, the gallery section is working fine apart from, when I click on save button, the data entered for that record is getting reset & new row added. But the record is properly saved in the collection. Please suggest if am missing something.
@ShanesCows
@ShanesCows 5 лет назад
Check the default values for the inputs. Should be ThisItem. And then your column name
@DJIMENEZ6784
@DJIMENEZ6784 4 года назад
HI Shane, thanks for sharing. I already have an excel file getting data from the form but i don't know if the ForAll can be applied to this file to add the Collection that I created (multiple rows). is the ForAll function the one to do so? or it is another function?
@ShanesCows
@ShanesCows 4 года назад
ForAll does let you loop through a collection and patch the data. So I would think yes.
@JohnMahoney1
@JohnMahoney1 5 лет назад
An Idea I would like to see if how to properly create a SP or Excel list, or sheet, to work with PowerApps. Many times you see something and what is missing are basic settings on the data-source. How do you prepare a list for a Powerapp which will need to show a dropdown list, what are the problems, or gotchas? Also, moving something like the Budget Template from Excel to SharePoint which was started in the Friday Functions Series but never finished! ;) Just some ideas! Again, thank you for your great work. It is appreciated.
@ShanesCows
@ShanesCows 5 лет назад
Great idea. Thanks. Did you see this video. I talk a lot about how to setup your Excel file here. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE--Z_13J02RPU.html
@bethmahoney3069
@bethmahoney3069 2 года назад
Shane, are users able to use the "Edit in Quick View" to edit the data? It seems like all of the calculations are in PowerApps and that using the Quick View would not be recommended.
@devkhamau740
@devkhamau740 4 года назад
Hello Shane, Thank you very much for the descriptive tutorial. Really saved me. Allow me to ask, assume I have 3 fields in my Collection namely; quantity,unit price, amount. I want the amount to be; quantity*unitprice thus leaving amount(total of each list items) to be added and displayed on our totalexpense field on our form1. How can I go about this?
@ShanesCows
@ShanesCows 4 года назад
You can multiply two columns or controls by each other.
@Pavetl
@Pavetl 4 года назад
@@ShanesCows i have done it and the multiplication works. However, when working with decimals, the (asume qty = 1 and price 33.33) the sum from the form 1 total shows in sharepoint list as 3333. How can I make i fix it? :(
@jameswolstenholm858
@jameswolstenholm858 2 года назад
Shane, I am trying to patch data (part information) from an SQL DB into a collection, so additional data (quantity) can be added but I am getting stuck. Right now, my syntax is Patch(CollectionName, DBName, {records}). I have no problem if the source info is a SharePoint list but not having luck with a DB.
@valachohc
@valachohc 2 года назад
Extra observation, the save button icon, at least now, perhaps not when this video was created, when it is inserted, it seems its Tab index value defaults to -1, which means it won't be part of the tabbing function. Changing the Tab index property of the icon to 0, so that it is recognized, makes it work as expected.
@nihar4713
@nihar4713 Год назад
helpful
@theshao
@theshao 11 месяцев назад
Further to this, the whole point of the "tab index" property is to set which order properties are selelcted in when tabbing, so the whole "make the save button below the other fields" can be avoided by giving them all indexes in the order you want to tab between them in...
@AhmedBalfaqih
@AhmedBalfaqih 3 года назад
The only reason I am switching to Power Apps because I wanted this feature. But I find MS Access to be far superior in this space. Has Power Apps made it better since this video is released? If so will you cover this topic again with new videos? Whatever it is, I want to thank you for these excellent videos. Set up a pateron account and we will chime in.
@ShanesCows
@ShanesCows 3 года назад
Glad you found Power Apps 😀 I would say this video is still the standard way to do it for better or worse.
@billmahimer6245
@billmahimer6245 3 года назад
Hi Shane! Thanks for all your videos especially this one! I have tried this and actually made use of drop down list on the repeating portion. Gave me some challenges but looks like I've figured it out. Do you have any instructions on using people picker in the repeating portion? I have something that actually works providing I just submit and not edit. When I click the edit icon, the people picker sets to blank after clicking the save button.
@ShanesCows
@ShanesCows 3 года назад
The haven’t done it but it should be possible. Need to remember that the key is if you are using a combobox you have to get the DefaultSelectedItems property to return a record that matches the items property.
@billmahimer6245
@billmahimer6245 3 года назад
@@ShanesCows Hi Shane! Thanks for the reply. I was able to make it work just like how you suggested. I have another question - I am trying to use a combo and list box on the repeating portion to get multiple values. However, when I setup the Default and/or DefaultSelectedItems to "ThisItem.LineComboBox" and "ThisItem.LineListBox", I get the error "This formula uses scope, which is not presently supported for evaluation". Have you done anything like that? I tried searching for what the error is all about, but could not really find anything that explains that problem. As an alternative, I am also thinking of just using a "Yes/No" column in place of combo/list box and using a check box to determine whether or not the value was picked. The problem I see with that however is when we need to add, change or remove a choice, we'd have to "touch" the power app, something I believe we need to avoid. Other than that, do you have any opinion about using a Yes/No column in place of a combo/list box? Thanks!
@jenniferwiskemann4395
@jenniferwiskemann4395 2 года назад
Hi, do you have any details on how you figured that out?
@Justinline
@Justinline Год назад
@@billmahimer6245 how were you able to make the people picker field not disappear when going to the next line? Thank you
Далее
В GEOMETRY DASH СДЕЛАЛИ GTA
00:27
Просмотров 622 тыс.
Power Apps Editable Table
20:42
Просмотров 132 тыс.
PowerApps Save Data - Patch, Collect, and ForAll
25:52
Просмотров 243 тыс.
PowerApps Multiple Data Sources
22:09
Просмотров 200 тыс.
Editable Grid in Power Apps | SharePoint List
42:49
Просмотров 359 тыс.
PowerApps Custom Forms to look more like InfoPath
24:53
Intro to PowerApps Variables
19:23
Просмотров 203 тыс.
Красиво, но телефон жаль
0:32
Просмотров 1,3 млн
iPhone 16 - НЕ СТОИТ ПРОПУСКАТЬ
4:50