PowerApps Save Data - Patch, Collect, and ForAll

  Рет қаралды 246,808

Shane Young

Shane Young

Күн бұрын

Пікірлер: 503
@hpchristener
@hpchristener 4 жыл бұрын
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 4 жыл бұрын
Glad you like them!
@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.
@forgotrafe
@forgotrafe 5 жыл бұрын
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 5 жыл бұрын
Thanks. A lot of different levels watch so I try to find that balance.
@OOAK-Ireland
@OOAK-Ireland 2 жыл бұрын
agree with you totally. they are sometimes too slow. 9 minutes before we get to the actual coding... but you do know your stuff.
@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!
@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 😎
@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 4 жыл бұрын
​@@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
@majahbrooks8158
@majahbrooks8158 3 жыл бұрын
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 3 жыл бұрын
🐶 Truth be told I don’t get all of the comments any more. Boo! But I try like heck. 😎
@hiteshkumar797
@hiteshkumar797 3 жыл бұрын
Thankyou Shane... I am a fresher and new to this field... Your videos really help me a lot.. Thankyou once again
@ShanesCows
@ShanesCows 3 жыл бұрын
You're so welcome!
@fklatecki
@fklatecki 6 жыл бұрын
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 6 жыл бұрын
Great!
@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 :)
@jonathanchen6652
@jonathanchen6652 5 жыл бұрын
Watching this now. Halloween 2019!!! Love the energy.
@ShanesCows
@ShanesCows 5 жыл бұрын
Thanks. I had Halloween stuff in my video today
@Amr-Ibrahim-AI
@Amr-Ibrahim-AI 5 жыл бұрын
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 5 жыл бұрын
Glad to help. 😀
@vijaysavarimuthu
@vijaysavarimuthu 2 жыл бұрын
Hi Shane, One of the best tutorial video for Powerapps
@ShanesCows
@ShanesCows 2 жыл бұрын
Thank you Vijay. 🥰 I have about 250 videos on the same at this point. I hope you subscribe and enjoy.
@shanc77
@shanc77 5 жыл бұрын
Man, your videos have helped me so much in the last month! Thank you so much.
@ShanesCows
@ShanesCows 5 жыл бұрын
Awesome
@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.
@toanuk
@toanuk 6 жыл бұрын
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 6 жыл бұрын
Thanks
@kamozzi1
@kamozzi1 3 жыл бұрын
Great video Shane. This is what I’m looking for the app in working on. Just loved it 👍👍👍👍 life saver.
@ShanesCows
@ShanesCows 3 жыл бұрын
Awesomeness
@at3941
@at3941 8 ай бұрын
I really appreciate your videos I’ve learned a lot from them. Thanks
@ShanesCows
@ShanesCows 8 ай бұрын
Glad to hear it!
@Shellbell292
@Shellbell292 Жыл бұрын
Hi Shane, On the formula for Save - Hard Way, where would you the Lookup function to ensure the collection updates and existing item?
@leozeld_nb
@leozeld_nb 3 жыл бұрын
18:10 I have the names in the list and in the collection the exact same but it won't add the collection content to the list :(
@leozeld_nb
@leozeld_nb 3 жыл бұрын
I've tried Collect and ForAll with Patch, keeps giving me an error
@ShanesCows
@ShanesCows 3 жыл бұрын
I would look at your columns in the data source. Do they match? Do you have any that are required that you are not uploading?
@leozeld_nb
@leozeld_nb 3 жыл бұрын
@@ShanesCows They have the exact same names, no misspelling, white space or ". All are required, none is uploading. I think the problem might be the data types not matching.
@leozeld_nb
@leozeld_nb 3 жыл бұрын
@@ShanesCows I tried a few things, including adding numbers to a collection using Value() but I still get the same error...
@SundayOgali
@SundayOgali 2 жыл бұрын
Thanks Shane. This video really helped me complete my app.
@ShanesCows
@ShanesCows 2 жыл бұрын
You're welcome!
@iiii05
@iiii05 4 жыл бұрын
Dude you are awesome! Really enjoyed this video. Explained it very well and very charismatic. Thanks.
@ShanesCows
@ShanesCows 4 жыл бұрын
Thanks Ian. 🐶
@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.
@mcr-mso-85
@mcr-mso-85 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 😎
@roshmisengupta7182
@roshmisengupta7182 6 жыл бұрын
This is the most useful video I found for patching
@ShanesCows
@ShanesCows 6 жыл бұрын
Thanks. Good to know this one is helpful. :)
@melissaedwards6225
@melissaedwards6225 5 жыл бұрын
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 5 жыл бұрын
Glad to help Melissa.
@martindasdas5834
@martindasdas5834 4 жыл бұрын
Hi Shane Thanks for the Session ... Can we patch camera pictures in the attachement coloum in sharepoin list with the other datas..?
@ShanesCows
@ShanesCows 4 жыл бұрын
Not directly that i know of. YOu would have to use a flow to add them as attachemtns I think.
@ashokpershad
@ashokpershad 6 жыл бұрын
Appreciate your time and effort for making these amazing videos..
@ShanesCows
@ShanesCows 6 жыл бұрын
You are welcome
@ArkWorksCNC
@ArkWorksCNC 4 жыл бұрын
Great Video! Very thorough and helpful for different scenarios
@ShanesCows
@ShanesCows 4 жыл бұрын
Glad you enjoyed it!
@redefinelife2720
@redefinelife2720 3 жыл бұрын
HI Shane, your learning videos are really helpful
@ShanesCows
@ShanesCows 3 жыл бұрын
😎🐶 Awesome
@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. kzbin.info/www/bejne/e5O8foFqpNqCrLM
@matthiasvancampen3770
@matthiasvancampen3770 5 жыл бұрын
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 5 жыл бұрын
I would say all the same
@hhmaster789
@hhmaster789 4 жыл бұрын
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 4 жыл бұрын
That is a complicated question for a beginner. I don't have a video on it but will add it to my list.
@brianscott7559
@brianscott7559 5 жыл бұрын
Does Collect still work as you show around 19:00? When I try I get the floating dots but nothing written to the SP list
@ShanesCows
@ShanesCows 5 жыл бұрын
It does. Do your columns maybe not match?
@brianscott7559
@brianscott7559 5 жыл бұрын
@@ShanesCows I @mentioned you at PowerAppug on this - the details are there - Thanks!
@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 kzbin.info/www/bejne/hKjFopd3bs9re80
@hexipo2352
@hexipo2352 2 жыл бұрын
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 2 жыл бұрын
You could use Concat function to turn your table data into a string of data and then write that string to a single column. kzbin.info/www/bejne/d5-og5l9fqprndk not exact but will help you with the function.
@hexipo2352
@hexipo2352 2 жыл бұрын
@@ShanesCows thanks Shane. Really appreciated. My own research wasn’t turning up much results!
@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 (
@gangadharambati6507
@gangadharambati6507 2 жыл бұрын
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..
@vutanphuoc6325
@vutanphuoc6325 2 жыл бұрын
You shared your knowledge and also experiences, thank you much for your kind sharing.
@treybrewington3286
@treybrewington3286 4 жыл бұрын
Hey Shane, I have been creating this app to order inventory on and all you do is go down the list, enter quantities and then the store number and hit the restock button and they send to a share point. I am having troubles with my formulas. When you hit the restock button it sends only 1 of the products 2 times. Lets say I ordered cat and dog food from the app, only the dog food shows up in the share point 2 separate times when the cat food and dog food should both show up. My formulas are 'PowerApp->Createitem'.Run(Title1.Text,Subtitle1.Text,TextInput6.Text,TextInput1.Text,DatePicker1.SelectedDate); ClearCollect(ColInventory,{Title:Title1.Text,Skuu:Subtitle1.Text,StoreNum:TextInput6.Text,Quan:Value(TextInput1.Text),Datee:DatePicker1.SelectedDate}); ForAll(ColInventory, If(!IsBlank(ColInventory[@Quan]), Patch('Inventory by apps',Defaults('Inventory by apps'), {Product:ColInventory[@Title], 'Sku #''s':ColInventory[@Skuu], 'Store Number':ColInventory[@StoreNum], Quantity:ColInventory[@Quan], Date:ColInventory[@Datee]}))) Thank you
@ShanesCows
@ShanesCows 4 жыл бұрын
Try simplfing the ForAll patch(datasource, defaults(datasource), {datasource column: Title}) and what does the flow do?
@subhraghosh8434
@subhraghosh8434 3 жыл бұрын
In customizing forms cant I use patch function to update records ?? in app it is working properly
@TheNilyog
@TheNilyog 3 жыл бұрын
This is really good article but i am trying to create a collection and add collection data in sp list on single button click is that possible submit button? i have use sepecial combobox and toggel control which are not a part of datacard or gallery. your help much helpful. Thank you.
@ShanesCows
@ShanesCows 3 жыл бұрын
Collect(YourCollection, {TimeColumnInCollection: Now()});Patch(SharePointLists, Defaults(SharePointLists), {TimeColumn: Now()}) Something like that should give you ideas.
@salmanb3655
@salmanb3655 2 жыл бұрын
By using Patch function whether it could be possible to save a data in sharepoint list without making a new column...?
@juliedickerson8193
@juliedickerson8193 4 жыл бұрын
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 4 жыл бұрын
Single line of text.
@toughbama
@toughbama 4 жыл бұрын
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 4 жыл бұрын
Try UpdateIf. That will let you update only the records that meet your need.
@geralddahl9159
@geralddahl9159 6 жыл бұрын
I use PowerApps to create records using values from two lists in Sharepoint called contacts and items and then save those records in a third list called records. The problem is that when I edit a contact name in the Sharepoint contacts list it doesn't update items for that contact in the records list. I think a patch function relating the ID from my contacts list with its matching contactID value in the records list might work along with some If /ForAll coding. Am I off track or would you please consider doing a video related to this? Alternately, would a model-driven approach be better? PS - Merry Christmas to all the Youngs (and Chewie).
@ShanesCows
@ShanesCows 6 жыл бұрын
Two videos to help. There is a SharePoint lookup video start with it. Then watch PowerApps repeating table video. They will help you get this worked out. Merry Christmas to you and yours also.
@geralddahl9159
@geralddahl9159 6 жыл бұрын
@@ShanesCows Thanks, Shane. Just watched repeating table part 1 and feel like I'm on my way. Look forward to part 2 and 3 and I will also revisit lookup. Really appreciate it!
@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
@traceyhemley6160
@traceyhemley6160 3 жыл бұрын
Shane, how do you add a Note to a Parent table that has related Notes? I just can't find any documentation on how to use just the Notes (not attachements) - Parent/Child relationships in Dataverse.
@ShanesCows
@ShanesCows 3 жыл бұрын
Hey Tracey I haven't worked with Notes in Dataverse so not sure. 😑
@traceyhemley6160
@traceyhemley6160 3 жыл бұрын
@@ShanesCows it's pretty awesome that Dataverse allows any table to have a relationship (one-to-many) with Notes, so one can add as many notes to a table record. And it prevents our core tables from bulking out in size. So the code I finally found was: Patch( Notes, Defaults(Notes), { notetext: richtextNote.HtmlText, _objectid_value: First(colSurveyDetail), /*
@alangustavo8249
@alangustavo8249 3 жыл бұрын
Shane, thank you so much for sharing your knowledge! Helped me a lot!
@ShanesCows
@ShanesCows 3 жыл бұрын
Awesome 😎
@br31woodlands69
@br31woodlands69 4 жыл бұрын
Love your energy Shane!
@ShanesCows
@ShanesCows 4 жыл бұрын
Thanks 😊
@sunatohhogaabdekhobhi640
@sunatohhogaabdekhobhi640 4 жыл бұрын
Hello Shane, Is there any connector or API that can be used to display the device's internet speed on the PowerApp apps?
@ShanesCows
@ShanesCows 4 жыл бұрын
Not that I know of.
@rebeccaj138
@rebeccaj138 6 жыл бұрын
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 6 жыл бұрын
ForAll(collection, patch(firstlist...);patch(secondlist...))
@rebeccaj138
@rebeccaj138 6 жыл бұрын
@@ShanesCows thank you.
@belangeliscolmenares7133
@belangeliscolmenares7133 4 жыл бұрын
Very helpful, thank you! Question - is it possible to use Patch with a list box?
@ShanesCows
@ShanesCows 4 жыл бұрын
Yes, for sure. Try listbox.Selected.columnname
@belangeliscolmenares7133
@belangeliscolmenares7133 4 жыл бұрын
@@ShanesCows I have the list box choices coming from a table in excel & I would like it to save whatever the user selects in the SP list. Would that make it incompatible since I'm not actually inputting choices in the SP list?
@belangeliscolmenares7133
@belangeliscolmenares7133 4 жыл бұрын
I watched your 'PowerApps SharePoint Complex Columns' video, but you actually had choices in your SP 'Law' list.
@alejandrolazo3766
@alejandrolazo3766 2 жыл бұрын
Hello Shane. Thank you very much for those wonderful videos. I have a question. I have a small app for package delivery internal on my company. I have a form where I enter User info and Package info. When the package is being delivered to the recipient I have a "Deliver Yes or NO toggle button" just to confirm that package has been delivered to the recipient ON the Detail Form Screen. My question is, can I save the Yes Or no Value to my Sharepoint List. Is Patch necessary Or I can use Submit Form? thank You very much.
@ShanesCows
@ShanesCows 2 жыл бұрын
Patch or form will work. SharePoint has a yes no column I would store the value in. Shouldn’t be different than other fields.
@ElRogerJugadorMaster
@ElRogerJugadorMaster 6 ай бұрын
I'm creating a Todo app, but how can I save the Date, when the user clicks the check box?
@kathlynmercado5604
@kathlynmercado5604 4 жыл бұрын
Hi Shane, once the data is save, how to view it on same way it will open like a form?
@ShanesCows
@ShanesCows 4 жыл бұрын
Use the LookUp function to get the record and save it to a variable. The you can use the variable.columnname to show the various fields.
@mgtd1138
@mgtd1138 4 жыл бұрын
Hi Shane, what can be added to ensure that this does create a duplicate record in SQL?
@ShanesCows
@ShanesCows 4 жыл бұрын
You could lookup first to see if a duplicate exists. I show in the video kzbin.info/www/bejne/d6GWkHiXbq1rmJI
@mgtd1138
@mgtd1138 3 жыл бұрын
@@ShanesCows Baseline for me: Mind-Fried...I do not use collections (yet). This would be updating a live Azure SQL DB. Assumption / Obviously in an "Edit" screen. Any thoughts? Would it make sense to use "Company_ID" instead of "Company_Name", in case there are multiple companies with the same name, etc.? Set('[dbo].[company]', LookUp('[dbo].[company]', Company_Name=TextInput_Company_Name.Text), Patch('[dbo].[company]', Defaults('[dbo].[company]'), {Company_Name: TextInput_Company_Name})
@rachelannebalagbis
@rachelannebalagbis 5 жыл бұрын
Hi Shane! Is it possible to have one Excel file as data source and another Excel file for the collection of data?
@ShanesCows
@ShanesCows 5 жыл бұрын
Yes. Look for my video on multiple data sources
@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!!
@erinbarajas758
@erinbarajas758 4 жыл бұрын
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 4 жыл бұрын
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. 😀
@richardclowes6166
@richardclowes6166 4 жыл бұрын
as usual a brilliant video... can you answer one fundamental thing please... At 12:59 of the video you have the patch for the various columns... and you do.... Title: TextInput1.Text (I get) TypeofItem: Dropdown1.Selected.Value (why not text? - when do you text here vs. value) CandyQty: Slider.Value (the value makes sense to me because the field is a numeric...but the typeofitem is a text field in your SP List). Can you just explain .text vs. .value...
@ShanesCows
@ShanesCows 4 жыл бұрын
Hey Richard. Dropdown.Selected. Your column name is what you are after. In this case Value was the name of the column. You never use SelectedText. I wish they would remove it from the product.
@jenfrie7043
@jenfrie7043 2 жыл бұрын
Hey Shane, I am nearly finished with my App. I connected the Sharepoint to my Data and the Dataspurce to my Code (Save - easy way). But the Data doesnt appear in my Sharpoint list. Do you know what I could have done wrong?
@pankajdubey2650
@pankajdubey2650 4 жыл бұрын
Hi Shane, i have some question on Power Apps search record history. Just wanted to know if 5 people have selected multiple drop down as per there requirement and being as a owner i want to know that all 5 people what kind of selection they have used so for that case where i can go and see saved selection history of all five people ? Looking forward for your valuable response. Thanks in advance.
@ShanesCows
@ShanesCows 4 жыл бұрын
You have to save their response to a data source.
@shalinideshpande2024
@shalinideshpande2024 4 жыл бұрын
can the user who doesn't have write access to sharepoint still add the record using the form? I don't want a user to directly go to sharepoint and add new record manually
@ShanesCows
@ShanesCows 4 жыл бұрын
Nope. They have to have permissions to SharePoint to write to it.
@Ask65k
@Ask65k 5 жыл бұрын
Hi Shane, it really helpful to use it in my app, but i have a concern, am storing the data in Sharepoint list and used Email to screen to send a mail to list of the people. I want to store the data and time of the email sent, to and subject and message. I used patch command to get the Subject and Message content to share point list, but i am not able to get the TO field. ANy idea on this ( Email screen).
@ShanesCows
@ShanesCows 5 жыл бұрын
Whatever value you have in the to setting is a string. You should be able to save that the same way.
@Ask65k
@Ask65k 5 жыл бұрын
I got it... And implemented in app... Thanks ...😊
@QQ_HH
@QQ_HH 4 жыл бұрын
Love your video. I found many videos, but cannot find one exactly like my example. I am creating a form in Powerapp, the form will look like a Word document, with data input fields in between, with no data card in the content. The content looks like a letter. After submit, the input filed values will be save to Sharepoint list, do you have any video showing such scenario? Thanks a lot
@ShanesCows
@ShanesCows 4 жыл бұрын
I don't. SOrry. But it is possible.
@guggilamdivyasai3451
@guggilamdivyasai3451 3 жыл бұрын
Instead of using patch, can't we update a column value in new form while submitting form to SharePoint list?
@jeffcenter1720
@jeffcenter1720 2 жыл бұрын
Good Evening Shane, I am looking for some advice/help in creating a form to collect data that will be updated by the user as a purchase order is created and completed, then I will need to creat reports in excel or my leadership to use. How can I doo this? Thank You Jeff
@ShanesCows
@ShanesCows 2 жыл бұрын
PowerApps Repeating Tables like InfoPath Part 1 - Enter the data kzbin.info/www/bejne/rpjdn55qjdGDedE I have a multi part series on all of the fun. 😁
@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!
@uditchaturvedi2414
@uditchaturvedi2414 4 жыл бұрын
Hi, Shane I have a question how to add our company logo or u can say image on powerapp welcome screen ?
@ShanesCows
@ShanesCows 4 жыл бұрын
There is an image control on the insert menu under media. Or do it even better with this kzbin.info/www/bejne/d6K9nIiHbJ2Ya5I
@uditchaturvedi2414
@uditchaturvedi2414 4 жыл бұрын
Hi bro , My question is weather there is possiblity to upload video in powerapps and send it to sharepoint ?
@uditchaturvedi2414
@uditchaturvedi2414 4 жыл бұрын
Please answer me its too urgent please bro 😊
@marcelomoreira9620
@marcelomoreira9620 4 жыл бұрын
Looks like new version of PowerApp doesn´t take Selected.Value. What would be the alternative?
@ShanesCows
@ShanesCows 4 жыл бұрын
Selected.YourColumnName type Selected. And Power Apps will show you the available fields.
@alexandrunegoita7534
@alexandrunegoita7534 4 жыл бұрын
Very well explained and detailed. Helped greatly with my project. Thanks!
@ShanesCows
@ShanesCows 4 жыл бұрын
Glad it helped!
@typermode3527
@typermode3527 5 жыл бұрын
Hi Shane...any input on how to use a 'Copy This Item / Duplicate Item' button? We'd like to save users time and duplicate data via button click...then put them right into editing the new item.
@ShanesCows
@ShanesCows 5 жыл бұрын
Have to set the default values for the fields
@typermode3527
@typermode3527 5 жыл бұрын
We may just use a custom action FLOW on the item selected and do a 'copy item'. Then order the items by current logged in user descending so most recent is on top.
@vishwasrao6677
@vishwasrao6677 4 жыл бұрын
Hi Shane, can you please tell me how to break out of ForAll
@ShanesCows
@ShanesCows 4 жыл бұрын
Not possible that I know of.
@WhatIsThis.WhyDoINeedIt
@WhatIsThis.WhyDoINeedIt 4 жыл бұрын
I need help! I have made a powerapp with various toggles and radio buttons and it is standalone, it's not liked to a dataset. But I need to be able to save and load the selections when the app is closed and reopened. Any ideas?
@ShanesCows
@ShanesCows 4 жыл бұрын
YOu would need to save the information to a data source. YOu can likely use OneDrive Excel file or a SharePoint list without any additional licenses.
@MARIALEXA777
@MARIALEXA777 2 жыл бұрын
Hello Shane, love your videos. Do you have a link to how to do the easy save data of a form? I created two forms in the same app on separate screens and I need to save those two forms to the data list when they press submit before the exit screen. I'm new to Power Apps . Thanks
@ShanesCows
@ShanesCows 2 жыл бұрын
SubmitForm(FormName) is how you submit a form. If you have 2 forms then the button is SubmitForm(Form1);SubmitForm(Form2)
@shubhamchavan7338
@shubhamchavan7338 4 жыл бұрын
Hey Shane Sir, How to create patch solution for parent table? what is 'CloneAsPatchRequest' or' CloneasPatchAction'? can you explain me this?
@ShanesCows
@ShanesCows 4 жыл бұрын
Sorry, not sure. I do talk about parent/child in this series a lot though kzbin.info/www/bejne/rpjdn55qjdGDedE
@Mr_Poppea
@Mr_Poppea 5 жыл бұрын
I really wanted to use the "Collect(Data Source, Collection Name)" method, but I found PA's inconsistently changing the collection column header names (i.e. - DueDate: ... in code, turns into a column header of "Due_x0020_Date" which of course does not match my SharePoint List column named. I don't know why PA's changes the name for some collection columns.
@ShanesCows
@ShanesCows 5 жыл бұрын
Having SharePoint Columns with spaces in the name is causing your problems.
@ericcute6471
@ericcute6471 5 жыл бұрын
Can you demonstrate. Capture an image to text and compare the text to the SharePoint list column if it is match or not? Thank you in advance
@ShanesCows
@ShanesCows 5 жыл бұрын
Haven’t done that. Sorry.
@ericcute6471
@ericcute6471 5 жыл бұрын
@@ShanesCows Hi. I hope you can one Time. Thank you
@imranfc
@imranfc 4 жыл бұрын
Hello Shane how to update Share Point list data with ForAll function formula ?
@ShanesCows
@ShanesCows 4 жыл бұрын
Patch inside your ForAll should work. Maybe thsi video will help with Patch? kzbin.info/www/bejne/naTOYmd6YqiMiKc
@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 :) kzbin.info/www/bejne/qn-ulKargZxlodU
@ShashiBhushanSaurabh
@ShashiBhushanSaurabh 4 жыл бұрын
Thanks Shane!!! You are my savior!!
@ShanesCows
@ShanesCows 4 жыл бұрын
Glad to help. 😀
@이혜림-c5m
@이혜림-c5m 4 жыл бұрын
Hi I have a questions about save data! 1. Can you save date in excel? And how? 2. If you save data using collection does the list resets after you trun off the app?
@ShanesCows
@ShanesCows 4 жыл бұрын
Yes an Excel hosted on OneDrive can be a datasource. kzbin.info/www/bejne/Y4vCYmaAZZeFhrc Yes collections are temporary kzbin.info/www/bejne/r4SZnoeIodKootU
@farahfarhana172
@farahfarhana172 4 жыл бұрын
Thanks. This error "the form you are trying to submit is in read only view mode . only editable form can be submitted powerapps" keep pop up on my submitForm(formname). Is there any solution ?
@ShanesCows
@ShanesCows 4 жыл бұрын
You need to change the form mode. kzbin.info/www/bejne/eJ_dkoZ6jtFro6M
@RaviChauhan-un6bb
@RaviChauhan-un6bb 4 жыл бұрын
Hi, I have been running into a problem with exporting data to SQL. I'm Importing data to a scroll bar from one SQL table, And exporting it to another. After I successfully export, I go to my SQL Table and execute the query to refresh it. The problem is, even though I've entered data to the scroll bars, some fields display as NULL. The fields which are text or numbers show quite right, only the scroll bars result in this issue. Help will be much appreciated. Thanks
@ShanesCows
@ShanesCows 4 жыл бұрын
Not sure. Sorry 😐
@benjaminlahsen6721
@benjaminlahsen6721 2 жыл бұрын
Hello Shane how are you? I am having trouble overwriting an SQL table using PATCH(DEFAULTS). Also, I created a simple SQL table setting the primary key. I am also sending all the fields through the power app function but that doesn´t solve the problem. I would appreciate your help. The error says: NETWORK ERROR FINDING THE FUNCTION 'PATCH'. THE SPECIFIED RECORD WAS NOT FOUND
@ramandeepkaur878
@ramandeepkaur878 4 жыл бұрын
Hello Shane, Need your little assistance. I can't save my data on local storage using Save Data function. Everytime I comes back to my app, it clears out the previous store data from collection. Please help
@ShanesCows
@ShanesCows 4 жыл бұрын
Learn about Offline here kzbin.info/www/bejne/hKjFopd3bs9re80 which teaches how to save your data to the local device.
@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. kzbin.info/www/bejne/eJ_dkoZ6jtFro6M
@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.
@abhilashkumar6541
@abhilashkumar6541 4 жыл бұрын
Hello Shane, I have a doubt, can we save all the data that you created in collection and show them in a single line. Like Shane collected candy from different location and we want in list in one column your name is written and in other list columns all the places, candy types rating is saved and in other row chewy items . Is it possible ?
@ShanesCows
@ShanesCows 4 жыл бұрын
Look at the Concat function to turn a table into a string. kzbin.info/www/bejne/d5-og5l9fqprndk
@TiagoRuivo
@TiagoRuivo 4 жыл бұрын
I used the Collect() func just like you did, but I'm not able to get any data out into my Data Source. It's an entity on CDS so it should e straight forward, but so far nothing. Any ideas?
@ShanesCows
@ShanesCows 4 жыл бұрын
I would check your columns align. If it isn't pushing data there should be an error.
@TiagoRuivo
@TiagoRuivo 4 жыл бұрын
@@ShanesCows I did that. They where aligned. I had to use patch to finally manage. But working simply with Collect didn't work. Mind due that I was exporting my data to CDS in opposition to SharePoint and that might be the difference. Which to me doesn't make any sense at all. Intriguing at the least.
@michelleklonicke1456
@michelleklonicke1456 5 жыл бұрын
I have a SharePoint list that is set up to receive the information from a collection but when I start the Patch( it only shows the list in single quotes. I've tried with other SharePoint lists and they look like the Easy Way - I will take ANY way at this point to somehow get rid of the single quotes. I learn new things every time I watch a video and built up skills all from your videos~!
@ShanesCows
@ShanesCows 5 жыл бұрын
Single quotes is because you have spaces in your names.
@MrAbueslam
@MrAbueslam 2 жыл бұрын
Hi shane , I am struggeling to patch and iterate over request /shopping Invoice Data Table from collection "item1,2 ,3 along with other fields from anther form to save it back into sharepoint list named Orderinglist. here what I used ForAll(collItems1, Patch(Rekvisition, Default(Rekvisition), {Antal:NoavART, price:Value(värde), item:produkt.Text, SubTotal:summa})); SubmitForm(Form4_2); NewForm( Form4_2)
@jamelstringer6734
@jamelstringer6734 5 жыл бұрын
FYI, You cannot reset controls that are within a Gallery or Edit form control from outside those controls. You can reset controls from formulas on controls within the same gallery or form.
@ShanesCows
@ShanesCows 5 жыл бұрын
True. Good reminder.
@andreyl2338
@andreyl2338 5 жыл бұрын
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 5 жыл бұрын
You have to use ForAll to patch back all of your changes since they are edits.
@lukaskuemmerle650
@lukaskuemmerle650 3 жыл бұрын
Shane you´re just great!
@ShanesCows
@ShanesCows 3 жыл бұрын
Thanks Lukas, you are too kind.
@avinoamrothenberg1244
@avinoamrothenberg1244 4 жыл бұрын
Does saving a collection with the ForAll function work with CDS (creating records from the collection)? caus I tried with the same syntax you put up her for SP - and it aint workin.
@ShanesCows
@ShanesCows 4 жыл бұрын
It works for both SharePoint and CDS. Try it again and make it simple.
@avinoamrothenberg1244
@avinoamrothenberg1244 4 жыл бұрын
@@ShanesCows I got it working. Two things to pay attention to: 1. In the Patch function, every CDS field MUST be in either one of two formats • Schema Name (precisely, upper & lower case sensitive). e.g. cr707_diameterinner • Or Display name surrounded by commas. e.g. 'Diameter - Inner' 2. If you're mapping a to a CDS Lookup field you'll need to use PowerApps Lookup function and make sure - that for the condition part in Lookup - you use ONLY the Schema Name of the field at the parent entity. e.g. LookUp('Factory Shipments',cr707_shipmentnumber=varShipNum)
@sacwgar
@sacwgar 6 жыл бұрын
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 6 жыл бұрын
Just add the folder name input to the path in Flow. It will automatically create the folder.
@sacwgar
@sacwgar 6 жыл бұрын
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 6 жыл бұрын
Did you tell your Flow to ask in PowerApps?
@sacwgar
@sacwgar 6 жыл бұрын
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 6 жыл бұрын
After you ask in PowerApps did you update you PowerApps button to send the content?
@kyawzin-kz
@kyawzin-kz 4 жыл бұрын
How to prevent data loss from using ForAll and Patch? Because I have been experiencing this problem in my app Depends on the Internet connection it just perform partially
@ShanesCows
@ShanesCows 4 жыл бұрын
I would do the ForAll then do a filter of the data source to make sure all of the data got created before deleting the collection.
@alvaroavalos1
@alvaroavalos1 4 жыл бұрын
I have a question. How can I connect the powerapp with sharepoint because when I use the Patch function in a button to store a value to a sharepoint list from this button it says the function Patch has some invalid arguments so I assume because I didn't connect the sharepoint with the powerapp or it's due to other things? I'd really appreciate your help, I'm new to this btw and thanks a lot for your videos
@ShanesCows
@ShanesCows 4 жыл бұрын
Yes you need to add your SharePoint list as a datasource
PowerApps Combobox - Search, Filter, Default values, and more
25:51
PowerApps Patch Function
26:45
Shane Young
Рет қаралды 213 М.
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
How to Create an AI Agent Tree Without Code - STEP BY STEP
13:56
Claudio Conde
Рет қаралды 53 М.
Patch vs Update vs UpdateIf in PowerApps (which one to use)
15:33
Alireza Aliabadi
Рет қаралды 28 М.
Power Apps Collections Introduction
18:48
Shane Young
Рет қаралды 98 М.
PowerApps Forms - LastSubmit, Updates, UnSaved
16:26
Shane Young
Рет қаралды 104 М.
Intro to PowerApps Variables
19:23
Shane Young
Рет қаралды 206 М.
PowerApps Hide Button Based on User and other fun
23:44
Shane Young
Рет қаралды 125 М.
PowerApps Offline Mode
25:50
Shane Young
Рет қаралды 54 М.
Intro to the PowerApps If Statement
28:35
Shane Young
Рет қаралды 104 М.
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН