PowerApps Save Data - Patch, Collect, and ForAll

  Рет қаралды 243,510

Shane Young

Shane Young

Күн бұрын

In this video, you will learn about PowerApps Save Data. We explore adding some controls to the screen and then using Patch, Collect, and ForAll to save the data back to our data source. We even have a special Halloween theme. For a Bonus we also talk about the Media Control.
AddColumns, ShowColumns, and more in PowerApps
• PowerApps AddColumns S...
PowerApps Patch Function - • PowerApps Patch Function
PowerApps Collections - • Working with a PowerAp...
For PowerApps Consulting and Training check out www.PowerApps911.com/training

Пікірлер: 503
@hpchristener
@hpchristener 3 жыл бұрын
Thanks for the huge video library on PowerApps. I keep going back to it when I get stuck on a problem. Your work is extremely valuable!
@ShanesCows
@ShanesCows 3 жыл бұрын
Glad you like them!
@fklatecki
@fklatecki 5 жыл бұрын
Timely video...just the last step I need, in a complex app I have been working on! Ahhh, the clarity of knowledge. Thank you Shane for lifting the veil for me.
@ShanesCows
@ShanesCows 5 жыл бұрын
Great!
@s.andres3744
@s.andres3744 5 жыл бұрын
Best Video of all!... I spent a entire day trying what you've got solve in 5 minutes. Thanks a lot!
@ShanesCows
@ShanesCows 5 жыл бұрын
Awesome
@ezeononuju2714
@ezeononuju2714 3 жыл бұрын
​@@ShanesCows Thank you for these amazing videos, one button I didn't quite catch was the button at the top right corner you click to create additional forms which you then add to the collection
@shanc77
@shanc77 5 жыл бұрын
Man, your videos have helped me so much in the last month! Thank you so much.
@ShanesCows
@ShanesCows 5 жыл бұрын
Awesome
@jonathanchen6652
@jonathanchen6652 4 жыл бұрын
Watching this now. Halloween 2019!!! Love the energy.
@ShanesCows
@ShanesCows 4 жыл бұрын
Thanks. I had Halloween stuff in my video today
@forgotrafe
@forgotrafe 4 жыл бұрын
Watching a whole bunch of your videos and they’re really good. As a very experienced developer they’re a little slow, but I think you’ve got the balance perfect for people like me and newbies. Thank you.
@ShanesCows
@ShanesCows 4 жыл бұрын
Thanks. A lot of different levels watch so I try to find that balance.
@OOAK-Ireland
@OOAK-Ireland Жыл бұрын
agree with you totally. they are sometimes too slow. 9 minutes before we get to the actual coding... but you do know your stuff.
@Amr-Ibrahim-AI
@Amr-Ibrahim-AI 4 жыл бұрын
Thank you Shane for your very helpful videos. I learn something new each time I watch one of your videos. Please keep it up.
@ShanesCows
@ShanesCows 4 жыл бұрын
Glad to help. 😀
@EricaShapland
@EricaShapland 3 жыл бұрын
You are my hero! "Save - Hard Way" is exactly what I've been looking for to make my complicated, batch upsert work.
@ShanesCows
@ShanesCows 3 жыл бұрын
Great to hear!
@alangustavo8249
@alangustavo8249 3 жыл бұрын
Shane, thank you so much for sharing your knowledge! Helped me a lot!
@ShanesCows
@ShanesCows 3 жыл бұрын
Awesome 😎
@bettingru
@bettingru 5 жыл бұрын
Extremely happy to have Finally found your "PowerApps Save Data - Patch, Collect, and ForAll" video. Took 4 days to find it however, because it was never matched with my google searches, which included [how to copy a record to another data source], [update a SharePoint list from selected gallery], [copy selected record to a SharePoint list], Etc.
@ShanesCows
@ShanesCows 5 жыл бұрын
Thanks I added one of the tags.
@vutanphuoc6325
@vutanphuoc6325 2 жыл бұрын
You shared your knowledge and also experiences, thank you much for your kind sharing.
@ashokpershad
@ashokpershad 5 жыл бұрын
Appreciate your time and effort for making these amazing videos..
@ShanesCows
@ShanesCows 5 жыл бұрын
You are welcome
@alexandrunegoita7534
@alexandrunegoita7534 4 жыл бұрын
Very well explained and detailed. Helped greatly with my project. Thanks!
@ShanesCows
@ShanesCows 4 жыл бұрын
Glad it helped!
@rengiesbrecht6670
@rengiesbrecht6670 4 жыл бұрын
Thanks Shane, your videos are really helpful!
@ShanesCows
@ShanesCows 4 жыл бұрын
Glad to help. 😀
@toanuk
@toanuk 5 жыл бұрын
HI Shane. One of the best idea to do this genius frame work. Fully understand Patch, Collect and ForAll Functions in the Columns of its functions. You are the best Teacher, Thump UP>>>>
@ShanesCows
@ShanesCows 5 жыл бұрын
Thanks
@bolopez9642
@bolopez9642 5 жыл бұрын
OMG a video for exactly what I want to do! Track my halloween candy.. All jokes aside, Great video! I learned powerapps through watching your videos and have started creating some for my Org. Keep up the good work.
@ShanesCows
@ShanesCows 5 жыл бұрын
Candy is important. 😝 Glad they are helping.
@andressebastianmontalvosua8193
@andressebastianmontalvosua8193 4 жыл бұрын
Love it Shane! haha informative and fun. Good job mate!
@ShanesCows
@ShanesCows 4 жыл бұрын
Thanks 😊
@LaurenceBoulter
@LaurenceBoulter 4 жыл бұрын
A genuinely really useful video. Brilliant. Got me out of a hole this week. One useful tip to add, when constructing a long patch statement the field name and destination list field name can be cut and pasted from the card's advanced properties.... might want unlocking first though! Thanks Shane, you are well and truly my number 1 place to go for PowerApps info.
@ShanesCows
@ShanesCows 4 жыл бұрын
Awesome 😎
@george_anak_lihi_private_hot
@george_anak_lihi_private_hot Жыл бұрын
#777777765544432113699009875686545
@roshmisengupta7182
@roshmisengupta7182 5 жыл бұрын
This is the most useful video I found for patching
@ShanesCows
@ShanesCows 5 жыл бұрын
Thanks. Good to know this one is helpful. :)
@the_n8
@the_n8 4 жыл бұрын
Great Video! Very thorough and helpful for different scenarios
@ShanesCows
@ShanesCows 4 жыл бұрын
Glad you enjoyed it!
@majahbrooks8158
@majahbrooks8158 2 жыл бұрын
Awwwww! I love how you said you respond to every comment and that "we are worth it", you're awesome! Thank you! Loving your stuff and am excited to have subscribed! Looking forward to watching more! I'm addicted now
@ShanesCows
@ShanesCows 2 жыл бұрын
🐶 Truth be told I don’t get all of the comments any more. Boo! But I try like heck. 😎
@virginiaashley1838
@virginiaashley1838 5 жыл бұрын
Great work this was really helpful. I'm considering your online courses after this:)
@ShanesCows
@ShanesCows 5 жыл бұрын
Thanks. Would be happy to have you. We have a full load for this week's class but we should have another offering end of Feb. You can email me shane @powerapss91.com for more info or use the code "Chewy on KZfaq" for 10% off www.powerapps911.com/training
@SandeepSingh-lg7bq
@SandeepSingh-lg7bq 4 жыл бұрын
Thanks Shane for this wonderful tutorial.
@ShanesCows
@ShanesCows 4 жыл бұрын
Glad to help. 😀
@kamozzi1
@kamozzi1 2 жыл бұрын
Great video Shane. This is what I’m looking for the app in working on. Just loved it 👍👍👍👍 life saver.
@ShanesCows
@ShanesCows 2 жыл бұрын
Awesomeness
@iiii05
@iiii05 3 жыл бұрын
Dude you are awesome! Really enjoyed this video. Explained it very well and very charismatic. Thanks.
@ShanesCows
@ShanesCows 3 жыл бұрын
Thanks Ian. 🐶
@vijaysavarimuthu
@vijaysavarimuthu Жыл бұрын
Hi Shane, One of the best tutorial video for Powerapps
@ShanesCows
@ShanesCows Жыл бұрын
Thank you Vijay. 🥰 I have about 250 videos on the same at this point. I hope you subscribe and enjoy.
@br31woodlands69
@br31woodlands69 4 жыл бұрын
Love your energy Shane!
@ShanesCows
@ShanesCows 4 жыл бұрын
Thanks 😊
@at3941
@at3941 3 ай бұрын
I really appreciate your videos I’ve learned a lot from them. Thanks
@ShanesCows
@ShanesCows 3 ай бұрын
Glad to hear it!
@redefinelife2720
@redefinelife2720 3 жыл бұрын
HI Shane, your learning videos are really helpful
@ShanesCows
@ShanesCows 3 жыл бұрын
😎🐶 Awesome
@ondrejtomiska8738
@ondrejtomiska8738 2 жыл бұрын
Little whacky but man did this help me with my project. Great work. Straight to the point.
@ShanesCows
@ShanesCows 2 жыл бұрын
Thank you :)
@DraaElMizan
@DraaElMizan 5 жыл бұрын
Thanks Shane, You've been great help.
@ShanesCows
@ShanesCows 5 жыл бұрын
😀
@SundayOgali
@SundayOgali 2 жыл бұрын
Thanks Shane. This video really helped me complete my app.
@ShanesCows
@ShanesCows 2 жыл бұрын
You're welcome!
@hiteshkumar797
@hiteshkumar797 2 жыл бұрын
Thankyou Shane... I am a fresher and new to this field... Your videos really help me a lot.. Thankyou once again
@ShanesCows
@ShanesCows 2 жыл бұрын
You're so welcome!
@crapisforyou
@crapisforyou 4 жыл бұрын
Hi Shane, Is there a benefit when you save data through a collection how you did in this video compared to using a form and a button with submitform?
@tomaseriksson6416
@tomaseriksson6416 5 жыл бұрын
Hey Shane! Thanks for all the work you are doing, its helps me alot! I have a question, can i do the "easy way"with a choicefield from my sharepoint list? What should the code be for the "easy way"to patch a choice field?
@ShanesCows
@ShanesCows 5 жыл бұрын
This video has it covered. kzfaq.info/get/bejne/ndmbZJd1kqm9gnk.html
@ambujaable
@ambujaable 5 жыл бұрын
Great ! Thanks for your efforts!
@ShanesCows
@ShanesCows 5 жыл бұрын
You are welcome 😀
@ShashiBhushanSaurabh
@ShashiBhushanSaurabh 4 жыл бұрын
Thanks Shane!!! You are my savior!!
@ShanesCows
@ShanesCows 4 жыл бұрын
Glad to help. 😀
@manjeetsinghutube
@manjeetsinghutube 2 жыл бұрын
This is fantastic video thanks
@melissaedwards6225
@melissaedwards6225 4 жыл бұрын
Great video, just learning PowerApps. Trying to collect static data from an excel table (model, part type) using drop downs and write the selected items along with other data input by users to a Sharepoint list. Having issues making it work. Probably easier ways to do still learning. Will try something’s I learned here. Thanks for doing these.
@ShanesCows
@ShanesCows 4 жыл бұрын
Glad to help Melissa.
@lukaskuemmerle650
@lukaskuemmerle650 2 жыл бұрын
Shane you´re just great!
@ShanesCows
@ShanesCows 2 жыл бұрын
Thanks Lukas, you are too kind.
@MSandovalPhD
@MSandovalPhD 4 жыл бұрын
Thanks for sharing this with the community. Power apps brings me bad memories from Infopath, and apparently, it's the same idea to reduce coding but "improved".
@ShanesCows
@ShanesCows 4 жыл бұрын
So much better than infopath 😎
@mrpappagone
@mrpappagone 2 жыл бұрын
nice what I needed - thanks
@ShanesCows
@ShanesCows 2 жыл бұрын
Awesome 😎
@jongiddingsuk
@jongiddingsuk 2 жыл бұрын
Shane, your videos are amazing for a beginner like me... I'm stuck on a for all patch. I have a collection that gets created with the ID of the selected item in a gallery in one column, and a status from a combo box in another. What I'm trying to do is forall patch, but I can't workout how to use the ID in the collection (from the gallery selected item) and get the patch to identify the sharepoint record to update. Any help would be greatly appreciated.
@filipuppsall-sjogren114
@filipuppsall-sjogren114 2 жыл бұрын
Hi Shane, love your videos. I got a sharepoint list with data and a similar sharepoint list with "requests"... that are based on the first list. Some request are new orders, some are changes to existing orders and some are deletions of existing orders. I'm curious, is it possible to use the patch function to update the first list with the second list. Would you need to create one collection of each type of request (new, update, delete) from list two, before you update list 1? Or would a For all function be better in some cases? Would love a video on that! :-)
@user-xi4zq6vv5c
@user-xi4zq6vv5c Жыл бұрын
Hey Shane, your videos are awesome! Thanks so much!! Just wondering if you have a video showing the patching of 3 pieces of information from a qr barcode scan back to 3 separate columns in sharepoint? It would be super helpful!
@deepanshsaxena5677
@deepanshsaxena5677 4 жыл бұрын
How to use ForAll and Patch together to update existing record in my data source: ForAll(ChangeAssignmentOrStatus, Patch(MemoEDI, LookUp(MemoEDI, ID=ChangeAssignmentOrStatus.ID, ID), {CurStatus: Dropdown1.SelectedText.Value})) This is not fetching the record. Thank You. Got the answer, I have to use {ID: ID} :) Thanks Shane, I love your way of approach to problems.
@RicardoHerrera73
@RicardoHerrera73 5 жыл бұрын
Thanks Shane, what to do if you want to capture username and date/time from the app and then add it to the SharePoint list once click on submit button (with the other inputs of course)?
@ShanesCows
@ShanesCows 5 жыл бұрын
This video :) kzfaq.info/get/bejne/qrR7ltamsZ2Wm6c.html
@vinylmike
@vinylmike Жыл бұрын
You rock man! 🤘
@ShanesCows
@ShanesCows Жыл бұрын
Thanks Mike!
@UCanDoIt2Mike
@UCanDoIt2Mike 4 жыл бұрын
Thanks for all the great videos!! A couple of questions. (1) When recording field data (assume no Internet), it appears that I would want to store that data into a collection, then later push to SharePoint. Is there any issue with losing the data in the Collection prior to being able to push it to SharePoint (closing the app, or other action?). (2) If multiple people are using the App, are their Collections separate, or are they creating records in the same Collection? Recent Subscriber... your organization of the information you teach is golden! Mike
@ShanesCows
@ShanesCows 4 жыл бұрын
Try this video kzfaq.info/get/bejne/hN2SpMdyntCcdZ8.html
@alfred7050
@alfred7050 4 жыл бұрын
Thank you for your great videos! Question: I am working on an app that puts data that is input by the user through a couple of cascading dropdowns and text input boxes into a collection (this part of the app is working perfectly). I would then like to use some of that data in a new screen but also save all the data in a SharePoint list. Is it possible to save the data directly to the SharePoint list or must you add it to a collection first and then save to a SharePoint list (I am a bit confused about this). What are the pros/cons of either scenario? Thank you so much for your time!
@LaurenceBoulter
@LaurenceBoulter 4 жыл бұрын
Watch the vid again..... it's all in there! Patch worked great for me.
@matthiasvancampen3770
@matthiasvancampen3770 4 жыл бұрын
Is there a best choice for speed (e.g. when writing multiple records to excel)? Or do all functions need the same time per record to be stored?
@ShanesCows
@ShanesCows 4 жыл бұрын
I would say all the same
@SITG2023
@SITG2023 3 жыл бұрын
Great explanation
@ShanesCows
@ShanesCows 3 жыл бұрын
Thanks 😊
@Shellbell292
@Shellbell292 9 ай бұрын
Hi Shane, On the formula for Save - Hard Way, where would you the Lookup function to ensure the collection updates and existing item?
@juliedickerson8193
@juliedickerson8193 3 жыл бұрын
When you did the dropdown in powerapps for the candy to go into the sharepoint list did you make it a "single line text" or "choice" with drop down column in the sharepoint list?
@ShanesCows
@ShanesCows 3 жыл бұрын
Single line of text.
@shivaraissicharmakani70
@shivaraissicharmakani70 4 жыл бұрын
Hi Shane, Thanks a lot for your great videos! On my editform, I have a dropdown (combo box) connected to a Sharepoint list with a choice column. This list provides the list of products I want to use. What I need to do is to then patch selected items from this drop down to a field (column) in CDS. I keep getting errors with any formula I try for patch. Is there any specific formula/combination I need to use?
@ShanesCows
@ShanesCows 4 жыл бұрын
Sorry need more info. Try leaving a new comment with the formula
@maidstone53
@maidstone53 5 жыл бұрын
Shane, great video! One question when saving the "easy" way, what is the field in the powerapp that must match the data base column so you don't have error writing to the SharePoint list? Is it the DataCard itself or the DataCardValue or is it something else?. I'm having some issues, and I think it has to do with how I named my columns in the Sharepoint List, They have spaces and special Characters. Thanks Again!
@ShanesCows
@ShanesCows 5 жыл бұрын
The column name has to match the name in SharePoint.
@graffam198
@graffam198 4 жыл бұрын
Thanks! One other question. Do you have a video on duplicating rows in a sharepoint table? User collects feedback, similar to another piece, instead of writing it up, duplicate and select a new feedback source being the example
@ShanesCows
@ShanesCows 4 жыл бұрын
I don’t. Trying to think of the easiest path to put you down but I don’t have one. I have never ad to do it for a real app. 🤔
@mark_axtell
@mark_axtell 4 жыл бұрын
Loving your work! What do you need to do if there are spaces in between your cols in the sharepoint list?
@ShanesCows
@ShanesCows 4 жыл бұрын
The names are encoded. If you look in SharePoint list settings you can see the encoded name.
@petcharatsangkamkad6798
@petcharatsangkamkad6798 10 ай бұрын
Very very very good vdo It effectable, can apply to my work
@ShanesCows
@ShanesCows 10 ай бұрын
Awesome. Happy to help!
@rebeccaj138
@rebeccaj138 5 жыл бұрын
Thank you for this video. If we are using the ForAll and want to update two SharePoint lists with the information in the collection say Title and Qty on one list and rating and another column on the second list. What would function look like for that?
@ShanesCows
@ShanesCows 5 жыл бұрын
ForAll(collection, patch(firstlist...);patch(secondlist...))
@rebeccaj138
@rebeccaj138 5 жыл бұрын
@@ShanesCows thank you.
@chrischris711
@chrischris711 4 ай бұрын
Helpful video ! A + + + +
@ShanesCows
@ShanesCows 4 ай бұрын
Glad to hear that!
@Javierzorromorales
@Javierzorromorales 5 жыл бұрын
Thank so much, Shane, Is it possible to save to the sharepoint list, without changing the screen?
@ShanesCows
@ShanesCows 5 жыл бұрын
Yes. You control where you go. So if you don’t put in a navigate function you will not go anywhere.
@martindasdas5834
@martindasdas5834 3 жыл бұрын
Hi Shane Thanks for the Session ... Can we patch camera pictures in the attachement coloum in sharepoin list with the other datas..?
@ShanesCows
@ShanesCows 3 жыл бұрын
Not directly that i know of. YOu would have to use a flow to add them as attachemtns I think.
@gangadharambati6507
@gangadharambati6507 Жыл бұрын
Hi Shane, Thank you very much for your Vedios.. I have a question for you..Can you write back content from Poweapps into SAP HANA database? Please tell me..
@SA-kt3wt
@SA-kt3wt 3 жыл бұрын
Hi Shane, really helpful video thank you. I have two questions one is probably very basic. 1) is each collection unique to that user for example is my collection different to my colleagues when using the app, or do all users submit data to one collection? Seems obvious but it's not a query I can find an answer for! 2) about performance. When I do the first method you suggest of downloading the collection to my datasource (headers all the same as my datasource) it is taking a few minutes. This is only with a collection of 5 or 6 records. This isn't obviously acceptable for our users (main reason I chose collect over submitform was because each form was taking 5 seconds to submit & the user needs to easily see their entries (likely 5 each)). To combat this, I was thinking of bulk updating the app collection on a schedule to my data source (if all users submit to one collection) to avoid users experiencing any lags. But I don't believe this can be automated and would rely on me to undertake this task which is not not a great solution if I go on long term sick for example. Any suggestions? I have to use Excel and Box, as our ICT policy is not allowed to use SharePoint or OneDrive.
@Ter1x
@Ter1x 2 жыл бұрын
Hey Shane, Is it possible to save all the elements of the collection, provided that each element of the collection contains a collection of photos?I can't do this (
@milinprkh
@milinprkh 4 жыл бұрын
As always very amazing and useful videos! Can you please tell me, if it is possible to save the record to a new row instead of updating the same row in excel ? When i click on the copy icon on my detailform1, it will take me to EditForm1 with my textboxes and dropdowns auto-populated which were present in my detailform1. I will update just one dropdown and click on the check icon and this will be saved as a new row in my excel sheet. Currently, the DetailForm1 has edit (pencil) button which updates the existing row in my excel. I want to be able to update the existing row and also save as a new row if i update just one textbox. Thanks and regards!
@ShanesCows
@ShanesCows 4 жыл бұрын
Yes you need the form in New mode. kzfaq.info/get/bejne/eNSqlLZ1vtKcnXU.html
@kanishkaroychowdhury4050
@kanishkaroychowdhury4050 4 жыл бұрын
great one
@ShanesCows
@ShanesCows 4 жыл бұрын
Thanks 🙏
@jenniferchilds7568
@jenniferchilds7568 5 жыл бұрын
Hi Shane, Thank you so much for all the videos. I have a question regarding saving data the easy way. Does same name collection/data source, one fell swoop save, only work if entering data into a gallery?
@ShanesCows
@ShanesCows 5 жыл бұрын
Nope. Should just work writing any table to a table.
@jenniferchilds7568
@jenniferchilds7568 5 жыл бұрын
@@ShanesCows ah that would be my problem, its not table to table. I have data cards with a variety of text inputs, dropdowns and controls which need to be saved into a sql table. Is there an easy way for that, or will I have to go the hard route? It's a pretty extensive form.
@bart6429
@bart6429 3 жыл бұрын
Hi Shane, thanks for the video. I am having trouble to save data from a collection to business central using a custom connector. the custom connector works fine when I test it (at the custom connectors section) and the Get function also works fine in the power app (you have to do some little tricks to make it work). I tried to use the following formula: Collect (businesscentralconnector_1.Post("'CRONUS NL'") ; NewItem). NewItem is a collection where I save my article data (just one record). businesscentralconnector_1.Post("'CRONUS NL'") is the custom connector with the post action. I want to save this NewItem collection to Business Central, so a new Item will be created in Business central. thanks in advance for helping me
@mkumardadhich
@mkumardadhich 5 жыл бұрын
Can you please video for creating Menu and when select one item from Menu should go to different screen
@ShanesCows
@ShanesCows 5 жыл бұрын
Check out OnChange property of the Dropdown.
@failla84
@failla84 3 жыл бұрын
Shane your stuff is great and has taught me a ton. I've been searching your videos for the scenario of patching two related(parent/child) data sources at the same time but I haven't been able to find if you have done that. I'm having trouble with creating a new record in the parent while simultaneously adding related records to the child list. Using your varNewRecord method I don't have access to the ID field of the parent so I'm struggling with how to manage the child. Is this worthy of one of your Thursday quick tips? Thanks in advance.
@ShanesCows
@ShanesCows 3 жыл бұрын
Sorry I am slow to repond Jack. This series shows exactly what you want. kzfaq.info/get/bejne/rs2qoc5lvdK0c6M.html
@santiagowilchesleano847
@santiagowilchesleano847 4 жыл бұрын
How I can use the collect function with a form if I want to save form multiple times and then add all at my SharePoint list? Thanks for your help you are amazing
@ShanesCows
@ShanesCows 4 жыл бұрын
Unfortunately collections don’t work with forms.
@rafianumrex6384
@rafianumrex6384 2 жыл бұрын
hi Shane, thanks for the video, I am having difficulty patching the updated record in my collection. how do I compare IDs in my collection to the Id of my SharePoint list to patch, I am using a dynamic gallery means all the control are interactive and added to the gallery on the fly. I need to patch the newly created records as well as the updated ones. any help would be great!!
@aboubakr1993
@aboubakr1993 3 жыл бұрын
Excellent
@ShanesCows
@ShanesCows 3 жыл бұрын
Thanks 😊
@tiffanyyoung9080
@tiffanyyoung9080 3 жыл бұрын
Hi Shane! Thank you so much for taking the time to make these videos. Quick question - my app is using a gallery...after I save responses in a gallery to a collection (before saving to the Share Point list), how can I reset the gallery so that I can start fresh without seeing the previous responses in the gallery?
@ShanesCows
@ShanesCows 3 жыл бұрын
You would have to clear the collection. So maybe save collection 1 to collection 2. Then clear collection 1 to show in the gallery again?
@xMikeDx
@xMikeDx Жыл бұрын
these are still going strong and how timely as well being a Halloween from the future.
@ShanesCows
@ShanesCows Жыл бұрын
I loved this video. 🎃
@sacwgar
@sacwgar 5 жыл бұрын
Hi Shane, thank you for taking the time to create these videos, they have been a tremendous help. I have built this flow and even modified the OnSelect option to work with a collection. The problem I am running in to is I need the Create File action to also create a new folder and name it using user input in the form. The collection would then be saved in the newly created folder. Any help is greatly appreciated. Thanks!!
@ShanesCows
@ShanesCows 5 жыл бұрын
Just add the folder name input to the path in Flow. It will automatically create the folder.
@sacwgar
@sacwgar 5 жыл бұрын
It should be that easy, but unfortunately it is not...maybe I am doing something incorrectly. When I select add dynamic content, none of the fields from my PowerApps form appear. What am I missing? Thanks!
@ShanesCows
@ShanesCows 5 жыл бұрын
Did you tell your Flow to ask in PowerApps?
@sacwgar
@sacwgar 5 жыл бұрын
When I select ask in PowerApps I get CreateFile_Folder.... "trggerBody()['Create_FolerPath_1']" If I test the flow it fails and says the template language expression 'triggerBody()['Createfile_FolderPath_1']' cannot be evaluated because property 'Createfile_FolderPath_1' doesn't exist.
@ShanesCows
@ShanesCows 5 жыл бұрын
After you ask in PowerApps did you update you PowerApps button to send the content?
@stevealicea205
@stevealicea205 3 жыл бұрын
Shane, thank you very much for the video, Steve in Colorado here. I am still somewhat of a beginner here but here is the scenario I am tasked with and hope you can help me. My manager wants to utilize PowerBI and PowerApps to UPDATE a database. Basically it is a test db that will be used to compare two columns in a table. (This db only had one table for simplicity.) PowerBI will be utilized to report on the two columns, and from what I am told, PBI and PA can work together to update the data in the db. It looks like, from this video that I can update my data source as long as column names are identical. Can this be done to update a db? Thank you in advance.
@simondu8520
@simondu8520 4 жыл бұрын
how to use incremental date in the forall loop? (like to patch just the date based on the number of days input), your help is much appreciated.
@ShanesCows
@ShanesCows 4 жыл бұрын
You can use DateAdd function to add dates. kzfaq.info/get/bejne/e8iJgLFl1NuzpoU.html
@andreyl2338
@andreyl2338 4 жыл бұрын
Hi Shane. Great video as well as all others. Thanks a lot. In your video you describe how to upload new records from collection to data source. What about updating records in bulk mode? In my App I collected all records from an Entity (CDS) to a collection and added some functionality to update values in the collection or add new items into collection. And then I would like to upload all my changes to datasource. Can I use “Easy way” to upload changes or I have to use “Hard way” only. What if my collection contains new items and updated ones? Should I process these items one by one and check if this is a new one or just updated. Thank you in advance.
@ShanesCows
@ShanesCows 4 жыл бұрын
You have to use ForAll to patch back all of your changes since they are edits.
@koutlaw30
@koutlaw30 3 жыл бұрын
Excellent video Shane!!! Just one question. How do I delete a specific record in a SharePoint list?
@ShanesCows
@ShanesCows 3 жыл бұрын
You can use the Remove function.
@heloisaheng3189
@heloisaheng3189 3 жыл бұрын
Thank you so much Shane, i really need your 911. I have question, as a beginner : If the user always need to complete the 80% of the form at screen A, save it, and later open it and proceed to fill up another 20% of the form at screen B then only submit, may i know in this case should i use Collection or Set? I want to also insert a preview page of the 80% completed form (view mode, with button to choose save or go right to screen B to complete), how to make that preview page that display the data just put in?
@ShanesCows
@ShanesCows 3 жыл бұрын
That is a complicated question for a beginner. I don't have a video on it but will add it to my list.
@learningtechs1267
@learningtechs1267 4 жыл бұрын
Hi Shane, Your videos are Awesome!! Can you please show how can we patch Lookup column data into CDS Entities
@ShanesCows
@ShanesCows 4 жыл бұрын
One of these days I will get to CDS. One day. Sigh. I need to hurry up.
@zoeyliang3567
@zoeyliang3567 4 жыл бұрын
Hi Shane, thanks for this amazing video! May I ask if there is a way to also patch user id (email or anything that an indivudual user uses to login) and save this information in a SQL table when patching? but without the user to type in their name when completing this form? I am building a survey app and want to capture the user ID without asking them to type it in when they complete the survey questions. Thanks!
@ShanesCows
@ShanesCows 4 жыл бұрын
This video :) kzfaq.info/get/bejne/qrR7ltamsZ2Wm6c.html
@vaibhavsingh461
@vaibhavsingh461 2 жыл бұрын
You are awesome
@ShanesCows
@ShanesCows 2 жыл бұрын
Thanks! 🐶
@BlediKycyku
@BlediKycyku 5 жыл бұрын
HI Shane, thank you very much for your work, very helpful. I've created a simple PowerApp for my small business but on my Save button I got an error: "the colon 'Ambienti_Collection' does not exist". This is what I wrote on my button: On select = Collect(EXPORT; Estrazione) - where 'EXPORT' is my Sharepoint list and 'Estrazione' my Collection list. The colons are exactly the same in both the lists. (P.s. My PowerApps is in Italian...) I can't understand Why I can't save my Collection!!! Can you help me with this? Thanks a lot
@ShanesCows
@ShanesCows 5 жыл бұрын
Your collection has a column that your data source does not.
@subhraghosh8434
@subhraghosh8434 3 жыл бұрын
In customizing forms cant I use patch function to update records ?? in app it is working properly
@michid1080
@michid1080 3 жыл бұрын
Very nice video! I still have one big question: Does ClearCollect also work the other way around? I want to replace my data source with my collection and it doesn’t work (same columns) 😭
@ShanesCows
@ShanesCows 3 жыл бұрын
I don't follow your question. Sorry. Leave another comment (new) with more details and I can try to help.
@erinbarajas758
@erinbarajas758 3 жыл бұрын
Question for you... I have a form that is from a sharepoint list, can I have the edit function write a new line in the sharepoint list vs editing the same line?
@ShanesCows
@ShanesCows 3 жыл бұрын
If the form mode is Edit then it will update the record. If the form mode is new then it will create a new record. Set the form to the mode you need. 😀
@hexipo2352
@hexipo2352 Жыл бұрын
Hi Shane, Really appreciate you vids! Is there a way to patch a collection with all the collected results being concatenated into one column to sharepoint?
@ShanesCows
@ShanesCows Жыл бұрын
You could use Concat function to turn your table data into a string of data and then write that string to a single column. kzfaq.info/get/bejne/d9R1hcl4rqucl6s.html not exact but will help you with the function.
@hexipo2352
@hexipo2352 Жыл бұрын
@@ShanesCows thanks Shane. Really appreciated. My own research wasn’t turning up much results!
@PhucLe-jd8vi
@PhucLe-jd8vi 3 жыл бұрын
Hi even when my fields from my original SharePoint list is in number format. In power app that same controls gonna be underlined if I get it value by adding ".Value" suffix (e.g.ControlName.Value) like in your video. I have to use Value ( Control.Text) instead. Do you know why? Thanks!
@salmanb3655
@salmanb3655 Жыл бұрын
By using Patch function whether it could be possible to save a data in sharepoint list without making a new column...?
@judbaldock6733
@judbaldock6733 5 жыл бұрын
Great video. Has anyone had issues submitting or patching from data from the PowerApp Mobile App? My applications work just fine from within PowerApps, but when I use the mobile app, the only data that writes to my data source are values called from a gallery selection. All other data (combobox, dropdown and textinput) do not get written.
@ShanesCows
@ShanesCows 5 жыл бұрын
Sorry to hear that Jud. Usually if you have issues saving data when you play the app it is a permissions thing. What I would recommend is make a real simple mobile app and start troubleshooting from there. Good luck.
@garth1240
@garth1240 4 жыл бұрын
Thanks so much for making this/all your videos Shane! I follow exactly what you're trying to teach in this video, however I'm running into issues with attempts to save to SharePoint with Collect AND ForAll/Patch even when following your code exactly! Any chance the functions have changed since last year? Really pulling my hair out on this one.
@garth1240
@garth1240 4 жыл бұрын
Never mind! Finally figured it out, there was a collection that was the same name as a SP list that was preventing the connection from working properly.
@ShanesCows
@ShanesCows 4 жыл бұрын
Awesome! 😎
@carlaprieto8123
@carlaprieto8123 4 жыл бұрын
Hi Shane, Say you have a three screen form you are collecting data from (with Clearcollect()) and on the third screen you want to have a datatable for user to review values before using a patch() to submit into a sharepoint list. I would like to input a datatable where all the names are rows and the selected values are columns. How to I transpose the powerapps datatable?
@ShanesCows
@ShanesCows 4 жыл бұрын
Sorry I am behind on comments. Carla I have no idea. That is a fabulous question. I hope you figureged it out. 😀 ANd if you did leave a new comment with the answer
@adieneney
@adieneney 4 жыл бұрын
Hi Shane. I think I can use this video to improve my request form but quick question, does the patch function work with multiple choices selection? I built a sharepoint list and I have a question where the requestor can select several options, if this is possible with the patch function, how will the "code" be?
@ShanesCows
@ShanesCows 4 жыл бұрын
This video kzfaq.info/get/bejne/ndmbZJd1kqm9gnk.html
@toughbama
@toughbama 3 жыл бұрын
How would I have used this same concept for the collection to patch existing sharepoint list entries instead of making new ones? Like if I wanted it to compare collection to sharepoint list, and ForAll where SerialNumber = collection entry, patch these columns. Struggling to find and answer unfortunately.
@ShanesCows
@ShanesCows 3 жыл бұрын
Try UpdateIf. That will let you update only the records that meet your need.
@felipegutierrez6216
@felipegutierrez6216 3 жыл бұрын
Hi Shane! I'm trying to upload a whole Collection into an Excel table (the collection has around 100 lines of data) but it takes almost 5min to upload once I press the button. Is there any way of speeding up the process?
@ShanesCows
@ShanesCows 3 жыл бұрын
Using Collect method instead of Patch might be faster and worth a shot.
@fatimajoytabat
@fatimajoytabat 4 жыл бұрын
Hi Shane, This works for me when I add new entries to my collection/dbo. But if i have an editable field in my gallery and I use patch to update my collection, my updates don't get sent back to my dbo using collect(dbo,collection).What am I missing?
@ShanesCows
@ShanesCows 4 жыл бұрын
They should. I would double check the collection is getting updated
PowerApps Combobox - Search, Filter, Default values, and more
25:51
PowerApps Patch Function
26:45
Shane Young
Рет қаралды 212 М.
Heartwarming moment as priest rescues ceremony with kindness #shorts
00:33
Fabiosa Best Lifehacks
Рет қаралды 38 МЛН
Sigma Kid Hair #funny #sigma #comedy
00:33
CRAZY GREAPA
Рет қаралды 33 МЛН
Patch vs Update vs UpdateIf in PowerApps (which one to use)
15:33
Alireza Aliabadi
Рет қаралды 25 М.
Google Data Center 360° Tour
8:29
Google Cloud Tech
Рет қаралды 5 МЛН
PowerApps Hide Button Based on User and other fun
23:44
Shane Young
Рет қаралды 120 М.
PowerApps Forms - LastSubmit, Updates, UnSaved
16:26
Shane Young
Рет қаралды 102 М.
PowerApps Repeating Tables like InfoPath Part 1 - Enter the data
31:12
A better PowerApps Data Model - Flexible and fast
26:52
Shane Young
Рет қаралды 46 М.
Mastering Delegation in Power Apps: A Comprehensive Guide
23:13
Shane Young
Рет қаралды 37 М.
PowerApps Offline Mode
25:50
Shane Young
Рет қаралды 51 М.
PowerApps Single Form App to Save Data in SharePoint List
8:56
KeaPoint Tech Tips
Рет қаралды 102 М.
Худшие кожаные чехлы для iPhone
1:00
Rozetked
Рет қаралды 1,6 МЛН
АЙФОН 20 С ФУНКЦИЕЙ ВИДЕНИЯ ОГНЯ
0:59
КиноХост
Рет қаралды 1,1 МЛН
iPhone, Galaxy или Pixel? 😎
0:16
serg1us
Рет қаралды 1,2 МЛН