PowerApps Save Data - Patch, Collect, and ForAll

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ม.ค. 2025

ความคิดเห็น • 503

  • @hpchristener
    @hpchristener 4 ปีที่แล้ว +10

    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!

  • @forgotrafe
    @forgotrafe 5 ปีที่แล้ว +6

    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 ปีที่แล้ว +1

      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 ปีที่แล้ว +3

    You are my hero! "Save - Hard Way" is exactly what I've been looking for to make my complicated, batch upsert work.

  • @bettingru
    @bettingru 5 ปีที่แล้ว +1

    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.

  • @s.andres3744
    @s.andres3744 5 ปีที่แล้ว +9

    Best Video of all!... I spent a entire day trying what you've got solve in 5 minutes.
    Thanks a lot!

    • @ShanesCows
      @ShanesCows  5 ปีที่แล้ว +2

      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 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      🐶 Truth be told I don’t get all of the comments any more. Boo! But I try like heck. 😎

  • @fklatecki
    @fklatecki 6 ปีที่แล้ว +2

    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.

  • @LaurenceBoulter
    @LaurenceBoulter 4 ปีที่แล้ว +3

    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.

  • @ondrejtomiska8738
    @ondrejtomiska8738 2 ปีที่แล้ว +1

    Little whacky but man did this help me with my project. Great work. Straight to the point.

  • @hiteshkumar797
    @hiteshkumar797 3 ปีที่แล้ว +1

    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!

  • @vijaysavarimuthu
    @vijaysavarimuthu 2 ปีที่แล้ว +1

    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.

  • @jonathanchen6652
    @jonathanchen6652 5 ปีที่แล้ว +5

    Watching this now. Halloween 2019!!! Love the energy.

    • @ShanesCows
      @ShanesCows  5 ปีที่แล้ว +1

      Thanks. I had Halloween stuff in my video today

  • @Amr-Ibrahim-AI
    @Amr-Ibrahim-AI 5 ปีที่แล้ว +3

    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 ปีที่แล้ว +1

      Glad to help. 😀

  • @at3941
    @at3941 9 หลายเดือนก่อน +1

    I really appreciate your videos I’ve learned a lot from them. Thanks

    • @ShanesCows
      @ShanesCows  8 หลายเดือนก่อน

      Glad to hear it!

  • @SundayOgali
    @SundayOgali 2 ปีที่แล้ว +1

    Thanks Shane. This video really helped me complete my app.

  • @kamozzi1
    @kamozzi1 3 ปีที่แล้ว +1

    Great video Shane. This is what I’m looking for the app in working on. Just loved it 👍👍👍👍 life saver.

  • @shanc77
    @shanc77 5 ปีที่แล้ว +2

    Man, your videos have helped me so much in the last month! Thank you so much.

  • @toanuk
    @toanuk 6 ปีที่แล้ว +1

    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>>>>

  • @ArkWorksCNC
    @ArkWorksCNC 4 ปีที่แล้ว +1

    Great Video! Very thorough and helpful for different scenarios

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว

      Glad you enjoyed it!

  • @roshmisengupta7182
    @roshmisengupta7182 6 ปีที่แล้ว +1

    This is the most useful video I found for patching

    • @ShanesCows
      @ShanesCows  6 ปีที่แล้ว

      Thanks. Good to know this one is helpful. :)

  • @ashokpershad
    @ashokpershad 6 ปีที่แล้ว +4

    Appreciate your time and effort for making these amazing videos..

  • @iiii05
    @iiii05 4 ปีที่แล้ว +1

    Dude you are awesome! Really enjoyed this video. Explained it very well and very charismatic. Thanks.

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว

      Thanks Ian. 🐶

  • @redefinelife2720
    @redefinelife2720 3 ปีที่แล้ว +1

    HI Shane, your learning videos are really helpful

    • @ShanesCows
      @ShanesCows  3 ปีที่แล้ว

      😎🐶 Awesome

  • @UCanDoIt2Mike
    @UCanDoIt2Mike 4 ปีที่แล้ว +2

    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 th-cam.com/video/NwbqdA9j8Ek/w-d-xo.html

  • @vutanphuoc6325
    @vutanphuoc6325 2 ปีที่แล้ว

    You shared your knowledge and also experiences, thank you much for your kind sharing.

  • @alangustavo8249
    @alangustavo8249 3 ปีที่แล้ว +1

    Shane, thank you so much for sharing your knowledge! Helped me a lot!

  • @alexandrunegoita7534
    @alexandrunegoita7534 4 ปีที่แล้ว +1

    Very well explained and detailed. Helped greatly with my project. Thanks!

  • @ShashiBhushanSaurabh
    @ShashiBhushanSaurabh 4 ปีที่แล้ว +1

    Thanks Shane!!! You are my savior!!

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว +1

      Glad to help. 😀

  • @richardclowes6166
    @richardclowes6166 4 ปีที่แล้ว +1

    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.

  • @br31woodlands69
    @br31woodlands69 4 ปีที่แล้ว +1

    Love your energy Shane!

  • @martindasdas5834
    @martindasdas5834 4 ปีที่แล้ว +1

    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.

  • @bolopez9642
    @bolopez9642 5 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      Candy is important. 😝 Glad they are helping.

  • @leozeld_nb
    @leozeld_nb 3 ปีที่แล้ว +1

    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...

  • @SandeepSingh-lg7bq
    @SandeepSingh-lg7bq 5 ปีที่แล้ว +1

    Thanks Shane for this wonderful tutorial.

    • @ShanesCows
      @ShanesCows  5 ปีที่แล้ว

      Glad to help. 😀

  • @hexipo2352
    @hexipo2352 2 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      You could use Concat function to turn your table data into a string of data and then write that string to a single column. th-cam.com/video/AnERfGIE8gw/w-d-xo.html 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!

  • @belangeliscolmenares7133
    @belangeliscolmenares7133 4 ปีที่แล้ว +1

    Very helpful, thank you! Question - is it possible to use Patch with a list box?

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว +1

      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.

  • @mark_axtell
    @mark_axtell 4 ปีที่แล้ว +1

    Loving your work! What do you need to do if there are spaces in between your cols in the sharepoint list?

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว +1

      The names are encoded. If you look in SharePoint list settings you can see the encoded name.

  • @petcharatsangkamkad6798
    @petcharatsangkamkad6798 ปีที่แล้ว +1

    Very very very good vdo
    It effectable, can apply to my work

    • @ShanesCows
      @ShanesCows  ปีที่แล้ว

      Awesome. Happy to help!

  • @lukaskuemmerle650
    @lukaskuemmerle650 3 ปีที่แล้ว +1

    Shane you´re just great!

    • @ShanesCows
      @ShanesCows  3 ปีที่แล้ว

      Thanks Lukas, you are too kind.

  • @rengiesbrecht6670
    @rengiesbrecht6670 5 ปีที่แล้ว +1

    Thanks Shane, your videos are really helpful!

    • @ShanesCows
      @ShanesCows  5 ปีที่แล้ว

      Glad to help. 😀

  • @koutlaw30
    @koutlaw30 4 ปีที่แล้ว +1

    Excellent video Shane!!! Just one question. How do I delete a specific record in a SharePoint list?

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว +1

      You can use the Remove function.

  • @SITG2023
    @SITG2023 4 ปีที่แล้ว +1

    Great explanation

  • @mcr-mso-85
    @mcr-mso-85 4 ปีที่แล้ว +1

    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 😎

  • @MARIALEXA777
    @MARIALEXA777 2 ปีที่แล้ว +1

    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)

  • @brianscott7559
    @brianscott7559 5 ปีที่แล้ว +1

    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!

  • @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.

  • @andressebastianmontalvosua8193
    @andressebastianmontalvosua8193 4 ปีที่แล้ว +1

    Love it Shane! haha informative and fun. Good job mate!

  • @andreyl2338
    @andreyl2338 5 ปีที่แล้ว +1

    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.

  • @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?

  • @matthiasvancampen3770
    @matthiasvancampen3770 5 ปีที่แล้ว +2

    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

  • @Javierzorromorales
    @Javierzorromorales 6 ปีที่แล้ว +1

    Thank so much, Shane, Is it possible to save to the sharepoint list, without changing the screen?

    • @ShanesCows
      @ShanesCows  6 ปีที่แล้ว

      Yes. You control where you go. So if you don’t put in a navigate function you will not go anywhere.

  • @rebeccaj138
    @rebeccaj138 6 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      ForAll(collection, patch(firstlist...);patch(secondlist...))

    • @rebeccaj138
      @rebeccaj138 6 ปีที่แล้ว +1

      @@ShanesCows thank you.

  • @juliedickerson8193
    @juliedickerson8193 4 ปีที่แล้ว +1

    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.

  • @TheNilyog
    @TheNilyog 3 ปีที่แล้ว +1

    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.

  • @alejandrolazo3766
    @alejandrolazo3766 2 ปีที่แล้ว +1

    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.

  • @melissaedwards6225
    @melissaedwards6225 5 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      Glad to help Melissa.

  • @rachelannebalagbis
    @rachelannebalagbis 5 ปีที่แล้ว +1

    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

  • @marciokataoka
    @marciokataoka 5 ปีที่แล้ว +1

    Hi Shane! Is it possible some video covering CDS?

    • @ShanesCows
      @ShanesCows  5 ปีที่แล้ว

      I need to. Soon. There is some stuff in preview I would like to see in GA before I make content. Soon I hope.

  • @jenniferchilds7568
    @jenniferchilds7568 5 ปีที่แล้ว +1

    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.

  • @kathlynmercado5604
    @kathlynmercado5604 4 ปีที่แล้ว +1

    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.

  • @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..

  • @hhmaster789
    @hhmaster789 4 ปีที่แล้ว +1

    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.

  • @sunatohhogaabdekhobhi640
    @sunatohhogaabdekhobhi640 4 ปีที่แล้ว +1

    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.

  • @treybrewington3286
    @treybrewington3286 4 ปีที่แล้ว +1

    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?

  • @QQ_HH
    @QQ_HH 4 ปีที่แล้ว +1

    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.

  • @simondu8520
    @simondu8520 5 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      You can use DateAdd function to add dates. th-cam.com/video/EbYMN4ouOvQ/w-d-xo.html

  • @DraaElMizan
    @DraaElMizan 5 ปีที่แล้ว +1

    Thanks Shane, You've been great help.

  • @이혜림-c5m
    @이혜림-c5m 4 ปีที่แล้ว +1

    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. th-cam.com/video/-Z_13J02RPU/w-d-xo.html
      Yes collections are temporary th-cam.com/video/yS6mTRlmuls/w-d-xo.html

  • @mgtd1138
    @mgtd1138 4 ปีที่แล้ว +1

    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 th-cam.com/video/Ap3_Ea9H8b0/w-d-xo.html

    • @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})

  • @marcelomoreira9620
    @marcelomoreira9620 4 ปีที่แล้ว +1

    Looks like new version of PowerApp doesn´t take Selected.Value. What would be the alternative?

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว +1

      Selected.YourColumnName type Selected. And Power Apps will show you the available fields.

  • @mrpappagone
    @mrpappagone 3 ปีที่แล้ว +1

    nice what I needed - thanks

  • @michid1080
    @michid1080 4 ปีที่แล้ว +1

    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  4 ปีที่แล้ว

      I don't follow your question. Sorry. Leave another comment (new) with more details and I can try to help.

  • @maidstone53
    @maidstone53 5 ปีที่แล้ว +1

    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.

  • @tomaseriksson6416
    @tomaseriksson6416 5 ปีที่แล้ว +2

    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. th-cam.com/video/gsk14D-CYRE/w-d-xo.html

  • @erinbarajas758
    @erinbarajas758 4 ปีที่แล้ว +1

    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. 😀

  • @milinprkh
    @milinprkh 4 ปีที่แล้ว +2

    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. th-cam.com/video/BnzaSDYl8mA/w-d-xo.html

  • @traceyhemley6160
    @traceyhemley6160 4 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      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),
      /*

  • @alejandroholguinmora8781
    @alejandroholguinmora8781 4 ปีที่แล้ว +1

    Shane hi, the app was created exclusivly using Share Point, is it possible to follow the same procedure to store the data inside a specific entitie CDS? Also what are the reasons or conditions to take into consideration to select a between SharePoint vd CDS to store data from forms? In terms of data we are speaking of maximum 1000 lines per day
    Once again thank you for your videos and help!!

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว +1

      Yes saving to CDS should be roughly the same. CDS is MUCH better at scale. If you have the license it is always better than SharePoint

  • @learningtechs1267
    @learningtechs1267 4 ปีที่แล้ว +1

    Hi Shane, Your videos are Awesome!! Can you please show how can we patch Lookup column data into CDS Entities

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว +1

      One of these days I will get to CDS. One day. Sigh. I need to hurry up.

  • @krishnangshubanerje
    @krishnangshubanerje 5 ปีที่แล้ว +1

    Hi Shane,
    Very nice video. I am new in PowerApp and learning from your videos only. I am facing one issue i.e how do i implement this approach for SharePoint list attachment? Need your guidance.

    • @ShanesCows
      @ShanesCows  5 ปีที่แล้ว

      For list attachments you have to use a Form and an attachment control.

    • @krishnangshubanerje
      @krishnangshubanerje 5 ปีที่แล้ว

      @@ShanesCows Is it possible with this approach which you have shown in video?

  • @failla84
    @failla84 3 ปีที่แล้ว +1

    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. th-cam.com/video/xgznk4XlPCo/w-d-xo.html

  • @MichelleMartin-f5x
    @MichelleMartin-f5x ปีที่แล้ว

    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!

  • @jenfrie7043
    @jenfrie7043 2 ปีที่แล้ว +1

    Hey Shane, I just found your video an Channel and I would like to say THANK YOU. I am totally new to PowerApps I have no idea what I am doing but I agreed to help my boyfriend to create a simple tracking app for his employees :D Your vidoe helps a lot with this.
    But I got one question: Your Data Source is a Sharepoint list. Is it possible that the sharepoint list is an excel sheet? Because we have to send the lists with each persons working hours to our tax consultant every month. Isn´t it a bit complicated with a sharepoint list?

    • @ShanesCows
      @ShanesCows  2 ปีที่แล้ว

      Hi Jen - Excel is possible but not ideal. Instead what you might want to do is learn how to make a Power Automate flow that runs once a month, grabs all of the hours, and then puts them in a CSV file, which opens in Excel. You can get an idea of how that would work here th-cam.com/video/imhxy3REgXc/w-d-xo.html

  • @uditchaturvedi2414
    @uditchaturvedi2414 4 ปีที่แล้ว +1

    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 th-cam.com/video/AqZkUQ78e50/w-d-xo.html

    • @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 😊

  • @vishwasrao6677
    @vishwasrao6677 4 ปีที่แล้ว +1

    Hi Shane, can you please tell me how to break out of ForAll

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว

      Not possible that I know of.

  • @alfred7050
    @alfred7050 5 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      Watch the vid again..... it's all in there! Patch worked great for me.

  • @BhupendraSingh-nd4nb
    @BhupendraSingh-nd4nb 5 ปีที่แล้ว +1

    Hi Shane, First of all I would like to say Big thank you for your videos. These videos are awesome!
    before couple of days i encountered an issue, just wanted your help to sort this or have an understanding so that i donot make the same mistake next time.
    issue: I have a collection which has 28 columns and i had to add two more columns in the same. before adding these two columns my patch function was working perfectly fine. I had used the easy method that you showed in this video. So before adding the column in collection added those two columns in my sharepoint list also and then added them in the collection. for collection it was working fine but the patch function was throwing an error stating that patch function requires record and it was throwing error for Collection and showing it as Table . could please advise what could be the reason for this ?

    • @ShanesCows
      @ShanesCows  5 ปีที่แล้ว

      Did you maybe need to refresh your data source in Power Apps to get the new columns loaded?

    • @BhupendraSingh-nd4nb
      @BhupendraSingh-nd4nb 5 ปีที่แล้ว

      Thanks for your response, just wanted to have an understanding that can we add columns in collection and Sharepoint list at any point of time and what is the limit of adding columns in collection and sharepoint list?

  • @manjeetsinghutube
    @manjeetsinghutube 2 ปีที่แล้ว

    This is fantastic video thanks

  • @nigelprice9474
    @nigelprice9474 6 ปีที่แล้ว +1

    Hi Shane
    Great series.
    I noticed that all of your collections were inserts. What about updates ?
    How about changing the app so that it reads the collection, the screen is used to update the collection and then save the collection back to the SharePoint list.
    I always trip over the ID column, syncing it with the ID in the list is always a PITA.
    Thanks
    Nigel

    • @itsLarryAlright
      @itsLarryAlright 6 ปีที่แล้ว +1

      wow Shane nice videos.. can you do one on uploading images or files to sharepoint lists and animations too.. thanks

    • @gerardosalazar2351
      @gerardosalazar2351 6 ปีที่แล้ว +1

      Nigel Price he has more videos where he is using Patch to update the content of a SharePoint List, also one of the videos (the 2nd or 3rd prt of repeating tables) shows a collection of data added on the fly and update them as well using Patch... take a look on those and if you have more questions, I can help you out has well.

  • @shalinideshpande2024
    @shalinideshpande2024 4 ปีที่แล้ว +1

    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.

  • @ericcute6471
    @ericcute6471 5 ปีที่แล้ว +1

    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

  • @pankajdubey2650
    @pankajdubey2650 4 ปีที่แล้ว +1

    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.

  • @garth1240
    @garth1240 5 ปีที่แล้ว +1

    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 5 ปีที่แล้ว +1

      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  5 ปีที่แล้ว

      Awesome! 😎

  • @mikehartman8966
    @mikehartman8966 4 ปีที่แล้ว +1

    Hey Shane, this is great info. I'm looking into reworking all my old Infopath forms using Powerapps but I have a question about using the Patch function. Is there a max number of columns in a record can it update? I have a 60 question quiz that sometimes loses data when it hits the max number of changes the SharePoint server can handle and 'm hoping Powerapps can overcome this limitation so my 60 question quiz works consistently. Thanks again!

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว

      Not sure. I have never hit a limit but also not sure I ever had 60 columns

    • @mikehartman8966
      @mikehartman8966 4 ปีที่แล้ว

      Ok, well here goes nothing. Thanks for the reply.

  • @khrystinameier2981
    @khrystinameier2981 ปีที่แล้ว +1

    Is this the only way to get multiple powerapp pages to write to one record in a SharePoint list?

    • @ShanesCows
      @ShanesCows  ปีที่แล้ว

      Not the only way but I would say that is your doing complex things, across multiple pages, Patch is easiest.

  • @graffam198
    @graffam198 4 ปีที่แล้ว +1

    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. 🤔

  • @sacwgar
    @sacwgar 6 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      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?

  • @geralddahl9159
    @geralddahl9159 6 ปีที่แล้ว +2

    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 ปีที่แล้ว +1

      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!

  • @jeffcenter1720
    @jeffcenter1720 2 ปีที่แล้ว +1

    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
      th-cam.com/video/xgznk4XlPCo/w-d-xo.html I have a multi part series on all of the fun. 😁

  • @rohitmunde3170
    @rohitmunde3170 3 ปีที่แล้ว +1

    Are these videos in exact order or they are random...just confused in here!

    • @ShanesCows
      @ShanesCows  3 ปีที่แล้ว

      Just the order I made them. If you go to training.powerapps911.com there is the curated library where they are grouped better. But that does require a paid subscription. There is also a free getting started class there.