Advanced Power Apps File Uploads - Create folders and set metadata

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ต.ค. 2024

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

  • @jefflund5685
    @jefflund5685 4 หลายเดือนก่อน +3

    Nice video. The only thing I question is the extended "If" logic with the blank "Project Number". Why not set the DisplayMode of the File Upload control to "Display" when either condition is blank, and "Edit" when both are not? That way, they could not select a file until the required information is already entered, and it simplifies the logic in the addfile routine.

    • @ShanesCows
      @ShanesCows  4 หลายเดือนก่อน +2

      I don't hate that Jeff. 🤩 The fun of Power Apps, there is usually 10 ways to do everything.

  • @spen2431
    @spen2431 4 หลายเดือนก่อน +1

    Nice one. Saved/Bookmarked for reference in the future. As always, thanks for sharing Shane. 💥💥

    • @ShanesCows
      @ShanesCows  4 หลายเดือนก่อน +1

      You bet!

  • @facun_OK
    @facun_OK 4 หลายเดือนก่อน +1

    Thanks for this amazing video! I have a question... Has anyone tested the attachment control related to how many files and size can be uploaded to a library at once?

  • @dougydoe
    @dougydoe 4 หลายเดือนก่อน +1

    Great video. I really enjoyed that and picked up a number of tips. Thanks

    • @ShanesCows
      @ShanesCows  4 หลายเดือนก่อน +1

      Glad it was helpful!

  • @alexandermcmurrin5602
    @alexandermcmurrin5602 4 หลายเดือนก่อน +1

    Hey Shane - I have a question on storage solutions for uploads. Which is better using Dataverse to store documents (PDF's, TIF's, etc) as an attachment or using Sharepoint? I love your videos they have meant the world to me in my quest to become a better powerapps developer. You are always at the top of my feed to watch. Thank you for all that you do and share with the community.

    • @ShanesCows
      @ShanesCows  4 หลายเดือนก่อน +1

      I think it is easier and cheaper to store them in SharePoint. :) Of course depends on exactly what you are building but that is where I start from.

    • @alexandermcmurrin5602
      @alexandermcmurrin5602 4 หลายเดือนก่อน

      @@ShanesCows I'm developing my project using dataverse and the expense side isn't the main concern. I'm shooting for something that is a document management solution for our AP / AR system so parties with buy in to the documents can view documents on the fly for approvals or general information. So i wasn't sure which solution would be more responsive and allow for dynamic uses down the road. Think attaching proof of receipt to invoices when we invoice customers.

  • @devisettychandu9880
    @devisettychandu9880 17 วันที่ผ่านมา

    Hi Raza Dorrani, I want the document library app that you showed in the last video ending. Is there any way to get that app, or do you have a link to share with me? It would be helpful to me.

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

    Thanks, your videos have really helped my understanding of Power Apps. Is there any way of sending multiple person records to a Person or Group field as meta data fields when uploading a file in sharepoint using flow? I've previously done it with patch?

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

      Yes, it is the very similiar. Go to flow, add the multi-person field to the action and manually configure it. Then look at the Code view. It will show you what it needs. Then you need to send the info over in that format so you can plug it in. :)

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

      @@ShanesCows Thanks for the speedy response, I will give it a try. As you say - It keeps getting angry at me!! :)

  • @temidayolonge4566
    @temidayolonge4566 4 หลายเดือนก่อน +1

    Great Shane. Nice touch on Buddy Pics😂

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

      Thanks! Always like to sneak in the dog 🐶

  • @oluwatobiyusuf
    @oluwatobiyusuf 14 วันที่ผ่านมา +1

    Thank you Shane

    • @ShanesCows
      @ShanesCows  14 วันที่ผ่านมา

      Happy to help. Have a great week!

  • @janicemendoza376
    @janicemendoza376 2 หลายเดือนก่อน +1

    Great content as always! I have a question. I have a toggle button before attaching the files. When toggle is on, create the folder / file on this SP folder. If toggle is off then create it on this other SP folder. Sounds simple but not sure how to incorporate in the flow. Appreciate your help Shane! :)

    • @janicemendoza376
      @janicemendoza376 2 หลายเดือนก่อน +1

      Oh I figured out a workaround by creating 2 flows and using value of toggle to set visibility of flows! :) I have another question...if I want to share the folder link instead of the file link? How can that be achieved? Thank you!

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

      Love it. Good job

  • @TeslaZx28
    @TeslaZx28 4 หลายเดือนก่อน +1

    Shane thank you for this video, May I ask, I want to use a toggle button in Power Apps to upload an attachment to an Attachments element before sending an email, so I don't have to upload it every time. How can I do this?

    • @ShanesCows
      @ShanesCows  4 หลายเดือนก่อน +2

      Sorry, I am not following. Can you try explaining again?

    • @TeslaZx28
      @TeslaZx28 4 หลายเดือนก่อน

      @@ShanesCows sorry shane for my bad English, "I have a predefined email directly in PA that sometimes needs to include a PDF file 'Doc1'. I want to have a toggle next to it that attaches the file when pressed, so the end user doesn't have to upload the file each time."

  • @josecarlosbenitezmeyer645
    @josecarlosbenitezmeyer645 4 หลายเดือนก่อน +1

    Amazing Video,
    Is it possible to check how many items are in a folder and if the quantity of items its the same doesnt let the user save a form? And is it possible to check a folder inside a folder for the same reasons?
    Thanks Shane you have help me severous times!

    • @ShanesCows
      @ShanesCows  4 หลายเดือนก่อน +1

      Yes. The best I can offer to help is this video where I built a document library explorer. You will see how I dealt with folders. th-cam.com/video/u-b8w9ea1kk/w-d-xo.html

  • @Y0urN3m3sis
    @Y0urN3m3sis 4 หลายเดือนก่อน +1

    Is there a way to get internal file metadata of uploaded files? The use case I’m looking for is for PDF files to get internal file metadata to understand if the file was modified after creation

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

      Maybe, but I have never done it or tried, so I don't know.

  • @usamapowerplatform007
    @usamapowerplatform007 4 หลายเดือนก่อน

    Is there any way we can get excel sheet in power automate for comparing the headers value for two different sheets without being formatted as table?

  • @NKBobcat
    @NKBobcat 4 หลายเดือนก่อน +1

    I developed an app that needs access to upload files to a SharePoint document library, in a folder with the ID of the form as the folder name. I created the record and then navigate to a popup like screen with a button that kicks off a flow to create the folder. I used to create the folder on the creation of the form record, but the customer didn't want to have to reopen the form to upload files. I will watch this and hopefully just navigate them to an upload screen post form creation. Until now, I had a hard time uploading to a folder using the form ID as the name.

    • @ShanesCows
      @ShanesCows  4 หลายเดือนก่อน +2

      Hopefully this gets you everything you need. 😎

    • @NKBobcat
      @NKBobcat 4 หลายเดือนก่อน

      @ShanesCows It does. I am very happy. Thanks, Shane!

  • @maksimdmitrenko
    @maksimdmitrenko 4 หลายเดือนก่อน +1

    Hello! At 18:14 we can see a new green icon "+" (not Paper clip). How did you change the icon?

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

      It is an Icon on top of an invisible paper clip. I show doing that in this video I am pretty sure. th-cam.com/video/cjcDH7_v6cE/w-d-xo.html

  • @krishnankuppaswamy7553
    @krishnankuppaswamy7553 10 วันที่ผ่านมา +1

    Helpful 🎉

    • @ShanesCows
      @ShanesCows  10 วันที่ผ่านมา

      Glad it was helpful!

  • @AMindGame
    @AMindGame 4 หลายเดือนก่อน +1

    Is there a way to make the file automatically save to my split when a user add a file as file attachement, where they won't have to click Save/Submit?

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

      Yes, I show it in this video th-cam.com/video/cjcDH7_v6cE/w-d-xo.html
      The key is you put the code you ahve in the Save button in the OnFileAdd property of the attachment control

  • @LaurenBolin
    @LaurenBolin 4 หลายเดือนก่อน +1

    Will this also work with multiple -file uploads? Excellent video.

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

      Yes it will. I am pretty sure I cover multi in this video th-cam.com/video/cjcDH7_v6cE/w-d-xo.html

    • @LaurenBolin
      @LaurenBolin 4 หลายเดือนก่อน

      @@ShanesCows Yes, I have watched that video as well. I am just having trouble translating that code to a button control like the other video.

    • @radhikaseetharaman1772
      @radhikaseetharaman1772 4 หลายเดือนก่อน

      Hi @LaurenBolin do you have solution for multiple file uploads??

    • @LaurenBolin
      @LaurenBolin 4 หลายเดือนก่อน

      @@radhikaseetharaman1772 if I under stand what your asking yes. This is the code I have in my on select button that I would like for it to activate on. I’m and getting errors on Last(FILE).Value & Last(FILE).Name & Reset(Self)
      ForAll(Attachmen_1_DatacardValue_4.Attachments As FILE,
      CARAttachmentFlow.Run(
      inpFN.Text,
      InpPN.Text,
      {
      file:{
      contentBytes:Last(FILE).Value,
      name: Last(FILE).Name
      }
      }
      ));
      Reset(Self);

    • @wendymeyer1250
      @wendymeyer1250 4 หลายเดือนก่อน

      @@radhikaseetharaman1772 Remove the word "Last" and the brackets around "FILE", so that part of your formula will read like this: contentBytes:FILE.Value, name:FILE.Name

  • @pabeader1941
    @pabeader1941 4 หลายเดือนก่อน +1

    Could you do a video showing how to do this using OneDrive for Business storage? I'm trying to duplicate the same thing that the Site Inspection template app does. I've been trying to understand this for about 2 weeks and I just can't figure out how it's doing it. The app uses a folder in OneDrive to hold the pictures and an Excel file to store the path to the pictures. This is my white whale. As far as I can tell, it does not use Power Automate or a Flow.

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

      Excel has an image column type. If you set that up in your Excel then Power Apps understands it.

    • @pabeader1941
      @pabeader1941 4 หลายเดือนก่อน

      @@ShanesCows That's useful info but I'm not sure how it applies to my question. Are you thinking that the image is being stored in the excel file?? Thanks for the quick reply!!!!

    • @pabeader1941
      @pabeader1941 4 หลายเดือนก่อน

      @@ShanesCows I just dug through a download of the app and found that they are using api calls to do the onedriveforbuisness calls. Cheaters!!!

  • @THEDTSMAN
    @THEDTSMAN 4 หลายเดือนก่อน

    :( I so wanted this to include some clever stuff for creating folders in an on premise environment :(
    aka file system "create folder"

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

      Does creating folders on-prem not work the same way as online? I have never had to work with on-prem SP and flow.

    • @THEDTSMAN
      @THEDTSMAN 4 หลายเดือนก่อน

      @@ShanesCows Theres no specific file system function for "Create Folder" when writing to an on-prem network via the gateway. Kinda annoying. I did some digging around and cannot see a work around at all. The path is the final destination so you cant even tag a folder into the path. C:\My Folder\FolderName\FolderPath

  • @MachineMirth
    @MachineMirth 4 หลายเดือนก่อน +1

    Interacting with files desperately needs a revamp. Using power automate to upload files is not ideal. Once a file is uploaded, we should have a way to rename them within the power app. We have a solution where users need to change the date embedded in the file name, but we want to keep the file uploaded date to stay the same. There are so many features lacking. Licensing also really needs to be a lot easier. As much as this is all good, we would be satiated by having more robust features when it comes to files. Thanks for sharing this info, it’s great but I can’t wait to see Microsoft make some really useful changes.

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

      Making uploads easier, I think we would allow vote for that feature. 🙂

    • @jray1429
      @jray1429 4 หลายเดือนก่อน

      @MachineMirth - FYI: You don’t need to use a flow to upload to SharePoint docs library. You may have known that already. This is just another way of doing it, which looks pretty nice. Thanks Shane!