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!
@ShanesCows4 жыл бұрын
Glad you like them!
@bettingru5 жыл бұрын
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.
@ShanesCows5 жыл бұрын
Thanks I added one of the tags.
@forgotrafe5 жыл бұрын
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.
@ShanesCows5 жыл бұрын
Thanks. A lot of different levels watch so I try to find that balance.
@OOAK-Ireland2 жыл бұрын
agree with you totally. they are sometimes too slow. 9 minutes before we get to the actual coding... but you do know your stuff.
@EricaShapland3 жыл бұрын
You are my hero! "Save - Hard Way" is exactly what I've been looking for to make my complicated, batch upsert work.
@ShanesCows3 жыл бұрын
Great to hear!
@LaurenceBoulter4 жыл бұрын
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.
@ShanesCows4 жыл бұрын
Awesome 😎
@s.andres37445 жыл бұрын
Best Video of all!... I spent a entire day trying what you've got solve in 5 minutes. Thanks a lot!
@ShanesCows5 жыл бұрын
Awesome
@ezeononuju27144 жыл бұрын
@@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
@majahbrooks81583 жыл бұрын
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
@ShanesCows3 жыл бұрын
🐶 Truth be told I don’t get all of the comments any more. Boo! But I try like heck. 😎
@hiteshkumar7973 жыл бұрын
Thankyou Shane... I am a fresher and new to this field... Your videos really help me a lot.. Thankyou once again
@ShanesCows3 жыл бұрын
You're so welcome!
@fklatecki6 жыл бұрын
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.
@ShanesCows6 жыл бұрын
Great!
@ondrejtomiska87382 жыл бұрын
Little whacky but man did this help me with my project. Great work. Straight to the point.
@ShanesCows2 жыл бұрын
Thank you :)
@jonathanchen66525 жыл бұрын
Watching this now. Halloween 2019!!! Love the energy.
@ShanesCows5 жыл бұрын
Thanks. I had Halloween stuff in my video today
@Amr-Ibrahim-AI5 жыл бұрын
Thank you Shane for your very helpful videos. I learn something new each time I watch one of your videos. Please keep it up.
@ShanesCows5 жыл бұрын
Glad to help. 😀
@vijaysavarimuthu2 жыл бұрын
Hi Shane, One of the best tutorial video for Powerapps
@ShanesCows2 жыл бұрын
Thank you Vijay. 🥰 I have about 250 videos on the same at this point. I hope you subscribe and enjoy.
@shanc775 жыл бұрын
Man, your videos have helped me so much in the last month! Thank you so much.
@ShanesCows5 жыл бұрын
Awesome
@deepanshsaxena56774 жыл бұрын
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.
@toanuk6 жыл бұрын
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>>>>
@ShanesCows6 жыл бұрын
Thanks
@kamozzi13 жыл бұрын
Great video Shane. This is what I’m looking for the app in working on. Just loved it 👍👍👍👍 life saver.
@ShanesCows3 жыл бұрын
Awesomeness
@at39418 ай бұрын
I really appreciate your videos I’ve learned a lot from them. Thanks
@ShanesCows8 ай бұрын
Glad to hear it!
@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_nb3 жыл бұрын
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_nb3 жыл бұрын
I've tried Collect and ForAll with Patch, keeps giving me an error
@ShanesCows3 жыл бұрын
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_nb3 жыл бұрын
@@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_nb3 жыл бұрын
@@ShanesCows I tried a few things, including adding numbers to a collection using Value() but I still get the same error...
@SundayOgali2 жыл бұрын
Thanks Shane. This video really helped me complete my app.
@ShanesCows2 жыл бұрын
You're welcome!
@iiii054 жыл бұрын
Dude you are awesome! Really enjoyed this video. Explained it very well and very charismatic. Thanks.
@ShanesCows4 жыл бұрын
Thanks Ian. 🐶
@bolopez96425 жыл бұрын
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.
@ShanesCows5 жыл бұрын
Candy is important. 😝 Glad they are helping.
@mcr-mso-854 жыл бұрын
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".
@ShanesCows4 жыл бұрын
So much better than infopath 😎
@roshmisengupta71826 жыл бұрын
This is the most useful video I found for patching
@ShanesCows6 жыл бұрын
Thanks. Good to know this one is helpful. :)
@melissaedwards62255 жыл бұрын
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.
@ShanesCows5 жыл бұрын
Glad to help Melissa.
@martindasdas58344 жыл бұрын
Hi Shane Thanks for the Session ... Can we patch camera pictures in the attachement coloum in sharepoin list with the other datas..?
@ShanesCows4 жыл бұрын
Not directly that i know of. YOu would have to use a flow to add them as attachemtns I think.
@ashokpershad6 жыл бұрын
Appreciate your time and effort for making these amazing videos..
@ShanesCows6 жыл бұрын
You are welcome
@ArkWorksCNC4 жыл бұрын
Great Video! Very thorough and helpful for different scenarios
@ShanesCows4 жыл бұрын
Glad you enjoyed it!
@redefinelife27203 жыл бұрын
HI Shane, your learning videos are really helpful
@ShanesCows3 жыл бұрын
😎🐶 Awesome
@simondu85204 жыл бұрын
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.
@ShanesCows4 жыл бұрын
You can use DateAdd function to add dates. kzbin.info/www/bejne/e5O8foFqpNqCrLM
@matthiasvancampen37705 жыл бұрын
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?
@ShanesCows5 жыл бұрын
I would say all the same
@hhmaster7894 жыл бұрын
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?
@ShanesCows4 жыл бұрын
That is a complicated question for a beginner. I don't have a video on it but will add it to my list.
@brianscott75595 жыл бұрын
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
@ShanesCows5 жыл бұрын
It does. Do your columns maybe not match?
@brianscott75595 жыл бұрын
@@ShanesCows I @mentioned you at PowerAppug on this - the details are there - Thanks!
@UCanDoIt2Mike4 жыл бұрын
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
@ShanesCows4 жыл бұрын
Try this video kzbin.info/www/bejne/hKjFopd3bs9re80
@hexipo23522 жыл бұрын
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?
@ShanesCows2 жыл бұрын
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.
@hexipo23522 жыл бұрын
@@ShanesCows thanks Shane. Really appreciated. My own research wasn’t turning up much results!
@Ter1x2 жыл бұрын
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 (
@gangadharambati65072 жыл бұрын
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..
@vutanphuoc63252 жыл бұрын
You shared your knowledge and also experiences, thank you much for your kind sharing.
@treybrewington32864 жыл бұрын
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
@ShanesCows4 жыл бұрын
Try simplfing the ForAll patch(datasource, defaults(datasource), {datasource column: Title}) and what does the flow do?
@subhraghosh84343 жыл бұрын
In customizing forms cant I use patch function to update records ?? in app it is working properly
@TheNilyog3 жыл бұрын
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.
@ShanesCows3 жыл бұрын
Collect(YourCollection, {TimeColumnInCollection: Now()});Patch(SharePointLists, Defaults(SharePointLists), {TimeColumn: Now()}) Something like that should give you ideas.
@salmanb36552 жыл бұрын
By using Patch function whether it could be possible to save a data in sharepoint list without making a new column...?
@juliedickerson81934 жыл бұрын
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?
@ShanesCows4 жыл бұрын
Single line of text.
@toughbama4 жыл бұрын
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.
@ShanesCows4 жыл бұрын
Try UpdateIf. That will let you update only the records that meet your need.
@geralddahl91596 жыл бұрын
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).
@ShanesCows6 жыл бұрын
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.
@geralddahl91596 жыл бұрын
@@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!
@carlaprieto81234 жыл бұрын
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?
@ShanesCows4 жыл бұрын
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
@traceyhemley61603 жыл бұрын
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.
@ShanesCows3 жыл бұрын
Hey Tracey I haven't worked with Notes in Dataverse so not sure. 😑
@traceyhemley61603 жыл бұрын
@@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), /*
@alangustavo82493 жыл бұрын
Shane, thank you so much for sharing your knowledge! Helped me a lot!
@ShanesCows3 жыл бұрын
Awesome 😎
@br31woodlands694 жыл бұрын
Love your energy Shane!
@ShanesCows4 жыл бұрын
Thanks 😊
@sunatohhogaabdekhobhi6404 жыл бұрын
Hello Shane, Is there any connector or API that can be used to display the device's internet speed on the PowerApp apps?
@ShanesCows4 жыл бұрын
Not that I know of.
@rebeccaj1386 жыл бұрын
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?
Very helpful, thank you! Question - is it possible to use Patch with a list box?
@ShanesCows4 жыл бұрын
Yes, for sure. Try listbox.Selected.columnname
@belangeliscolmenares71334 жыл бұрын
@@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?
@belangeliscolmenares71334 жыл бұрын
I watched your 'PowerApps SharePoint Complex Columns' video, but you actually had choices in your SP 'Law' list.
@alejandrolazo37662 жыл бұрын
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.
@ShanesCows2 жыл бұрын
Patch or form will work. SharePoint has a yes no column I would store the value in. Shouldn’t be different than other fields.
@ElRogerJugadorMaster6 ай бұрын
I'm creating a Todo app, but how can I save the Date, when the user clicks the check box?
@kathlynmercado56044 жыл бұрын
Hi Shane, once the data is save, how to view it on same way it will open like a form?
@ShanesCows4 жыл бұрын
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.
@mgtd11384 жыл бұрын
Hi Shane, what can be added to ensure that this does create a duplicate record in SQL?
@ShanesCows4 жыл бұрын
You could lookup first to see if a duplicate exists. I show in the video kzbin.info/www/bejne/d6GWkHiXbq1rmJI
@mgtd11383 жыл бұрын
@@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})
@rachelannebalagbis5 жыл бұрын
Hi Shane! Is it possible to have one Excel file as data source and another Excel file for the collection of data?
@ShanesCows5 жыл бұрын
Yes. Look for my video on multiple data sources
@rafianumrex63842 жыл бұрын
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!!
@erinbarajas7584 жыл бұрын
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?
@ShanesCows4 жыл бұрын
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. 😀
@richardclowes61664 жыл бұрын
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...
@ShanesCows4 жыл бұрын
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.
@jenfrie70432 жыл бұрын
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?
@pankajdubey26504 жыл бұрын
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.
@ShanesCows4 жыл бұрын
You have to save their response to a data source.
@shalinideshpande20244 жыл бұрын
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
@ShanesCows4 жыл бұрын
Nope. They have to have permissions to SharePoint to write to it.
@Ask65k5 жыл бұрын
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).
@ShanesCows5 жыл бұрын
Whatever value you have in the to setting is a string. You should be able to save that the same way.
@Ask65k5 жыл бұрын
I got it... And implemented in app... Thanks ...😊
@QQ_HH4 жыл бұрын
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
@ShanesCows4 жыл бұрын
I don't. SOrry. But it is possible.
@guggilamdivyasai34513 жыл бұрын
Instead of using patch, can't we update a column value in new form while submitting form to SharePoint list?
@jeffcenter17202 жыл бұрын
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
@ShanesCows2 жыл бұрын
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-jd8vi3 жыл бұрын
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!
@uditchaturvedi24144 жыл бұрын
Hi, Shane I have a question how to add our company logo or u can say image on powerapp welcome screen ?
@ShanesCows4 жыл бұрын
There is an image control on the insert menu under media. Or do it even better with this kzbin.info/www/bejne/d6K9nIiHbJ2Ya5I
@uditchaturvedi24144 жыл бұрын
Hi bro , My question is weather there is possiblity to upload video in powerapps and send it to sharepoint ?
@uditchaturvedi24144 жыл бұрын
Please answer me its too urgent please bro 😊
@marcelomoreira96204 жыл бұрын
Looks like new version of PowerApp doesn´t take Selected.Value. What would be the alternative?
@ShanesCows4 жыл бұрын
Selected.YourColumnName type Selected. And Power Apps will show you the available fields.
@alexandrunegoita75344 жыл бұрын
Very well explained and detailed. Helped greatly with my project. Thanks!
@ShanesCows4 жыл бұрын
Glad it helped!
@typermode35275 жыл бұрын
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.
@ShanesCows5 жыл бұрын
Have to set the default values for the fields
@typermode35275 жыл бұрын
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.
@vishwasrao66774 жыл бұрын
Hi Shane, can you please tell me how to break out of ForAll
@ShanesCows4 жыл бұрын
Not possible that I know of.
@WhatIsThis.WhyDoINeedIt4 жыл бұрын
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?
@ShanesCows4 жыл бұрын
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.
@MARIALEXA7772 жыл бұрын
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
@ShanesCows2 жыл бұрын
SubmitForm(FormName) is how you submit a form. If you have 2 forms then the button is SubmitForm(Form1);SubmitForm(Form2)
@shubhamchavan73384 жыл бұрын
Hey Shane Sir, How to create patch solution for parent table? what is 'CloneAsPatchRequest' or' CloneasPatchAction'? can you explain me this?
@ShanesCows4 жыл бұрын
Sorry, not sure. I do talk about parent/child in this series a lot though kzbin.info/www/bejne/rpjdn55qjdGDedE
@Mr_Poppea5 жыл бұрын
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.
@ShanesCows5 жыл бұрын
Having SharePoint Columns with spaces in the name is causing your problems.
@ericcute64715 жыл бұрын
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
@ShanesCows5 жыл бұрын
Haven’t done that. Sorry.
@ericcute64715 жыл бұрын
@@ShanesCows Hi. I hope you can one Time. Thank you
@imranfc4 жыл бұрын
Hello Shane how to update Share Point list data with ForAll function formula ?
@ShanesCows4 жыл бұрын
Patch inside your ForAll should work. Maybe thsi video will help with Patch? kzbin.info/www/bejne/naTOYmd6YqiMiKc
@RicardoHerrera735 жыл бұрын
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)?
@ShanesCows5 жыл бұрын
This video :) kzbin.info/www/bejne/qn-ulKargZxlodU
@ShashiBhushanSaurabh4 жыл бұрын
Thanks Shane!!! You are my savior!!
@ShanesCows4 жыл бұрын
Glad to help. 😀
@이혜림-c5m4 жыл бұрын
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?
@ShanesCows4 жыл бұрын
Yes an Excel hosted on OneDrive can be a datasource. kzbin.info/www/bejne/Y4vCYmaAZZeFhrc Yes collections are temporary kzbin.info/www/bejne/r4SZnoeIodKootU
@farahfarhana1724 жыл бұрын
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 ?
@ShanesCows4 жыл бұрын
You need to change the form mode. kzbin.info/www/bejne/eJ_dkoZ6jtFro6M
@RaviChauhan-un6bb4 жыл бұрын
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
@ShanesCows4 жыл бұрын
Not sure. Sorry 😐
@benjaminlahsen67212 жыл бұрын
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
@ramandeepkaur8784 жыл бұрын
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
@ShanesCows4 жыл бұрын
Learn about Offline here kzbin.info/www/bejne/hKjFopd3bs9re80 which teaches how to save your data to the local device.
@milinprkh4 жыл бұрын
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!
@ShanesCows4 жыл бұрын
Yes you need the form in New mode. kzbin.info/www/bejne/eJ_dkoZ6jtFro6M
@felipegutierrez62163 жыл бұрын
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?
@ShanesCows3 жыл бұрын
Using Collect method instead of Patch might be faster and worth a shot.
@abhilashkumar65414 жыл бұрын
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 ?
@ShanesCows4 жыл бұрын
Look at the Concat function to turn a table into a string. kzbin.info/www/bejne/d5-og5l9fqprndk
@TiagoRuivo4 жыл бұрын
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?
@ShanesCows4 жыл бұрын
I would check your columns align. If it isn't pushing data there should be an error.
@TiagoRuivo4 жыл бұрын
@@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.
@michelleklonicke14565 жыл бұрын
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~!
@ShanesCows5 жыл бұрын
Single quotes is because you have spaces in your names.
@MrAbueslam2 жыл бұрын
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)
@jamelstringer67345 жыл бұрын
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.
@ShanesCows5 жыл бұрын
True. Good reminder.
@andreyl23385 жыл бұрын
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.
@ShanesCows5 жыл бұрын
You have to use ForAll to patch back all of your changes since they are edits.
@lukaskuemmerle6503 жыл бұрын
Shane you´re just great!
@ShanesCows3 жыл бұрын
Thanks Lukas, you are too kind.
@avinoamrothenberg12444 жыл бұрын
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.
@ShanesCows4 жыл бұрын
It works for both SharePoint and CDS. Try it again and make it simple.
@avinoamrothenberg12444 жыл бұрын
@@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)
@sacwgar6 жыл бұрын
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!!
@ShanesCows6 жыл бұрын
Just add the folder name input to the path in Flow. It will automatically create the folder.
@sacwgar6 жыл бұрын
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!
@ShanesCows6 жыл бұрын
Did you tell your Flow to ask in PowerApps?
@sacwgar6 жыл бұрын
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.
@ShanesCows6 жыл бұрын
After you ask in PowerApps did you update you PowerApps button to send the content?
@kyawzin-kz4 жыл бұрын
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
@ShanesCows4 жыл бұрын
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.
@alvaroavalos14 жыл бұрын
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
@ShanesCows4 жыл бұрын
Yes you need to add your SharePoint list as a datasource