Power Apps Attachment Control Tutorial | Multiple Attachment Controls | Tag SharePoint attachments

Поделиться
HTML-код
  • Опубликовано: 4 фев 2025

Комментарии •

  • @NKBobcat
    @NKBobcat 3 года назад +6

    I love watching your videos. It would be a dream to be able to have you as a resource when I'm developing complex apps and flows. You would help me save so much time!

  • @shaiksamad1562
    @shaiksamad1562 3 года назад +1

    I missed your videos as I was busy with PL-100 Certification. I had passed the PL-100 this week. I already cleared my PL-200 and PL-900 also.
    Now I have to complete the pending videos which I have left. Thanks for your time and efforts on sharing valuable tips. As always you are my super hero.... Reza..

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Congrats on passing PL-100, PL-200 & PL-900.
      Hope you enjoy all my latest videos.

  • @moyura2
    @moyura2 Год назад +1

    Thanks for provided the MS doc link and putting it in the description. It's helpful and saves me time from Googling when I want to know more about the topic and I always come back to your videos to refresh my memory.

    • @RezaDorrani
      @RezaDorrani  Год назад

      Glad to hear that! I pack my video descriptions with useful links and more.

  • @chrisproctor2854
    @chrisproctor2854 Год назад +2

    As someone who uses the attachment control often--this tutorial still blew my mind!

  • @frenske2002
    @frenske2002 2 года назад +1

    Reza, great video! Was looking for the a long time
    Love watching your videos

  • @sueamin2788
    @sueamin2788 Год назад +1

    Once again, thank you for providing this very valuable and useful concept with clear explanations and nicely paced format. We appreciate you sharing your knowledge with all of us.

  • @aaron6516
    @aaron6516 3 года назад +1

    Once again proving your are a power apps master Jedi!!! 🙌

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Wow! High praise there. Thank you so much.

  • @AkishaAnthony
    @AkishaAnthony Год назад

    Once again, you have the solution I needed to solve a problem. Thank you for putting this video together.

  • @khanlee82
    @khanlee82 2 года назад +2

    Great video and really helpful! I have used it a couple times and today I was trying again and for some reason I could not get my documents to save in my list (although they would tag in the app fine). I finally decided to change the name of my collection (I had made it a little long but nothing too crazy...or so I thought lol) That fixed it! So if anyone is having issues with the files not saving, maybe try shortening the collection name you are using to hold the attachments.

  • @vinaykothari434
    @vinaykothari434 11 месяцев назад +1

    Great Video, Fantastic Apps. Reza you are the best man, love your videos and your tutorials ❤❤

  • @sofiaali2602
    @sofiaali2602 3 года назад +1

    You are amazing!!! Watching your video taught me so much I can't even tell you. Thank you so much for all this!

  • @imran0305
    @imran0305 Год назад +1

    this is really helpful and relevant today as well 👍
    thank you for creating such helpful and brilliant contents for the whole community out there. Thanks Reza .

    • @RezaDorrani
      @RezaDorrani  Год назад

      You’re most welcome and thanks for watching

  • @oricchannel2811
    @oricchannel2811 2 года назад +1

    Allway learning with you, Reza. Thank you for sharing !!!!

  • @mohamedyusuf9446
    @mohamedyusuf9446 Год назад +1

    Outstanding solution and excellent guidance on to use your solution.

  • @oluwatobiyusuf
    @oluwatobiyusuf 3 года назад +1

    Happy new year Reza. Starting the year with this tutorial video. New knowledge gained

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      Awesome! Glad to hear that.
      Have a great new year!

  • @AndrewFairley-j9e
    @AndrewFairley-j9e 4 месяца назад +1

    Thank you Reza. This was very helpful

  • @jamesclark2020
    @jamesclark2020 2 года назад +1

    Thank you for sharing this lesson. So helpful. 😊

  • @crisgath3512
    @crisgath3512 3 года назад +1

    🔥🔥. Excellent Reza. Thanks again for sharing

  • @adanielmacedo
    @adanielmacedo 3 года назад +1

    Congrats Reza, very useful...

  • @PowerAppsTutorial
    @PowerAppsTutorial 3 года назад +1

    Happy Monday, Reza!

  • @MrShrikantsawant
    @MrShrikantsawant Год назад +1

    Really very nicely described video.

  • @jray1429
    @jray1429 3 года назад +1

    Great job, very helpful and well done 👍
    Thank you.

  • @giampaolocarli4728
    @giampaolocarli4728 2 года назад +1

    Ops Amazing Reza... Thanks So much

  • @AudioBulldog
    @AudioBulldog Год назад +1

    this was super helpful thank you soooo much

  • @laszlogyor6628
    @laszlogyor6628 10 месяцев назад +1

    It is a very useful video, thank you.

  • @XiaoHC
    @XiaoHC 2 года назад +1

    Boss tNice tutorials mate, thanks

  • @sankhlayashraj
    @sankhlayashraj 2 месяца назад +1

    Thanks Reza for a great video. Loved the way this video was done. I had one question - In my use case, I upload a picture of an employee on my app. I would like to rename the picture name based on another control in form control before the form is saved. Is there way to achieve the same?

    • @RezaDorrani
      @RezaDorrani  2 месяца назад

      Most welcome!
      I would say it's possible but not something I have tried or have a video reference for. I will recommend checking or posting your query on forums in case someone has done something similar
      community.powerplatform.com/

  • @nilesh2874
    @nilesh2874 Год назад +1

    It is really awesome video and helped me to rename the file in attachment control as the per the category.
    But I observed one issue - When I add first all files and delete any already existing file (present in the SP list) and save the record, then it properly delete existing file from control. If I delete any existing file and then add new file and save the record, then it don't delete existing file from SP list and keep as it is. As per my understanding it happened because the collection get refresh in onAddFile event.
    Do you have any suggestion to resolve this issue?
    Thank you in advance.

    • @RezaDorrani
      @RezaDorrani  Год назад

      The limitation of this approach is that it does not delete during edit mode of form.

  • @YopiKabayan
    @YopiKabayan Год назад +1

    Love your videos Reza 😍

  • @saherkhatani
    @saherkhatani 2 года назад +1

    Hi Reza, helpful video! When I get to the part about clearing the attachments when it comes to adding a new form, I get stuck. When I add a new SharePoint list item, the attachments from the previous item remain on the new list item. I do not have my app set up to allow a new item to be created through the app. I create a new list item on the SharePoint list directly. Will the clearing of attachment step only work if the ability to create a new item is available through the app directly?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Video description has link to download sample App.
      As for your issue, I will have to look at your App in action to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @practicalpowerapps
    @practicalpowerapps 2 года назад +1

    Hi Reza,
    Great innovation (as usual). Small issue - if used on Integrated Form, Collection does not like triggering consistently on screen OnVisible, OnNew, OnEdit or OnView. Small adjustment on Items of Attachment control
    If(
    CountRows(colAttachments) = 0,
    ThisItem.Attachments,
    colAttachments
    )
    I also have the DisplayMode of the Attachment control
    If(
    Len(ddAttachName.Selected.Value) = 0,
    DisplayMode.View,
    Parent.DisplayMode
    )
    which forces the user to select an item before "Attach file" is available.
    Great resource and I have used it a lot.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Hey Warren,
      Thank You so much for sharing the info 🙏🙏

    • @divyanshugupta4992
      @divyanshugupta4992 2 года назад +2

      Hey Warren & Reza,
      I tried this code, but the problem is with my Sharepoint list item. If I publish this to sharepoint list Item the attachment field is working, renaming is working however, once I save the item, the attachments are not saving.
      It is Mandatory that list items gets saved with attachment as I have configured Approval flow using power flow

    • @arunn87
      @arunn87 9 месяцев назад

      @@divyanshugupta4992 Hi Divya/Warren, did you get the solution to save the attachment? I'm stuck on same

  • @alexcassie7712
    @alexcassie7712 6 месяцев назад +1

    Hi, thank you for this great video. One question, do you have separate videon on multiple attachment control (last part). Thank you

    • @RezaDorrani
      @RezaDorrani  6 месяцев назад

      Welcome!
      I do not have a separate video on last part. Video description has link to download app shown in video.

  • @aisyahshirincahyani6782
    @aisyahshirincahyani6782 5 дней назад

    I have condition form like 14:23, then the attachment file who comes to my SharePoint list is just one file, what should i do?
    Thanks Reza!

    • @RezaDorrani
      @RezaDorrani  5 дней назад

      I have not experienced this issue, hence not sure. Video description may have link to download sample app. You can check the code there.

  • @moyosorestephen1925
    @moyosorestephen1925 2 года назад +1

    Hi Reza,
    Thank you for your insightful video as always.
    I have an App with multiple attachments. Thanks to your tip. One question please
    When i click on submit, My form does not submit to SharePoint. Is there anything specifically that i need to do for it to submit?
    Also if it submits, will only the FinalAttachment Collection submit to SharePoint?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I will have to look at your App in action to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @wongshimun1433
    @wongshimun1433 Год назад +1

    Hi Reza,
    Thanks a ton for this! I am facing issues whereby attachment cannot be found on the right-side control panel. I have create an app which enable one to add new documents into the sharepoint document library via Msteams. However, as i was creating the app, the attachment field cannot be found for my document library even though it does for my 2 lists. what can i do such that i can attach a file while creating a document record for my document library?

    • @RezaDorrani
      @RezaDorrani  Год назад

      Video description has link to download sample app.
      I have not come across the mentioned issue and hence not sure what the cause could be.
      I recommend posting your issue on forums in case someone has experienced something similar powerusers.microsoft.com

  • @saqnevermind
    @saqnevermind 2 года назад +1

    Hi Reza, Tha ks for the video...One question though, I was looking at the multiple attachments application which you explained at the end. How can I delete the attachments there.

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      Delete is not supported since for delete user will need to work with a single attachment control.

  • @Abdulkhaleq-cb5sb
    @Abdulkhaleq-cb5sb 8 месяцев назад

    fantastic work Raza, I need a detailed explanation for the latest multiple attachment options in one form

    • @Abdulkhaleq-cb5sb
      @Abdulkhaleq-cb5sb 8 месяцев назад

      video 14:23 mint

    • @RezaDorrani
      @RezaDorrani  8 месяцев назад

      I don’t have any latest explanations. This video is the only reference I have. Video description has link to download apps shown in video.

  • @annyanand4689
    @annyanand4689 Год назад

    Loved the way explained "Thags"

  • @robertopolo3073
    @robertopolo3073 2 года назад +1

    Thank you very much for your videos, they have helped me a lot. I have a question, how can i show in this control the file of a note table record? this table does not have a column of type "file" it only stores the base64 content of the file in a column of type "text"

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I do not have a video reference on this scenario and would have to try it out to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @mani0536
    @mani0536 Год назад +1

    Thanks you so much for sharing knowledge.. learnt much from your tutorial. I have a question like What if i wanted to remove only attachments by keeping the rows in SharePoint ... Is it possible through buttons in power apps

    • @RezaDorrani
      @RezaDorrani  Год назад

      You can remove attachments from attachment control.

    • @mani0536
      @mani0536 Год назад

      @@RezaDorrani Thanks much for reply ... After deleting and submitting the form... It is not getting deleted in SharePoint .. again if i fetch all of them are loading again... Am I missing something here ... I'm loading attachments through collections in the gallery using the remove function... It is getting deleted in gallery as well as attachment but not is SharePoint

    • @RezaDorrani
      @RezaDorrani  Год назад

      @@mani0536 Im not sure if you are missing something as I cannot see your App. Video description has link to download sample apps. Certain limitations are in play with this approach. Its been a while since I did this video hence do not recollect much. Worst case scenario you can always leverage flow to delete all the attachments.

    • @mani0536
      @mani0536 Год назад +1

      @@RezaDorrani Sure .. Thanks...

  • @jray1429
    @jray1429 2 года назад +1

    You can use attachment controls outside of regular forms too! Even uploading to Sharepoint doc libraries

    • @RezaDorrani
      @RezaDorrani  2 года назад

      ruclips.net/video/r3UC3TMXhlI/видео.html

  • @YuHan-u5x
    @YuHan-u5x Год назад +1

    Great Video! This is the solution that I have been searching. But may I know how do I add multiple attachment data card in a form?

    • @RezaDorrani
      @RezaDorrani  Год назад

      Thanks!
      Video description has link to download sample apps. You can check the logic in it.

  • @fanko81
    @fanko81 Год назад +1

    I Reza, awesome job!! A question: if I have only one attachment in a record, and i want to remove it (without replacing it with a new one), the collection is not refreshed, and the "edit" on the list is not performed! Any suggestion? Really thanks for all!!

    • @RezaDorrani
      @RezaDorrani  Год назад

      I will have to look at your app in action to provide guidance. I recommend posting your query with screenshots on the forums at powerusers.microsoft.com

  • @MTaj-xb7js
    @MTaj-xb7js Год назад +1

    Hi Reza, Thanks for sharing this informative video
    just one help I need within second App (14:23 - Multiple Attachment Controls in Power Apps)
    You didn't explained how to do this, is there any other video to refer please comment link of it.
    I have tried with your given code but Attachment not uploading to Share Point list.

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      Video description has links to download both the Apps. You can check the code in there.

    • @MTaj-xb7js
      @MTaj-xb7js Год назад

      @@RezaDorrani i have downloaded
      Also created same thing but not able to upload
      Need some explanation regarding how do you take separate attachment controls and how do you removed attach control from final attachment

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      @@MTaj-xb7js Honestly, its been a while since I did this. I have made the entire app available for users to check the code within it.

    • @MTaj-xb7js
      @MTaj-xb7js Год назад

      @@RezaDorrani Thanks for reply

    • @MTaj-xb7js
      @MTaj-xb7js Год назад +1

      Hi thanks @RezaDorrani , I have got the solution
      now able to upload attachments.
      Once again Tanks Lot!

  • @shaggygraves
    @shaggygraves 3 года назад +1

    Great Video! Thank you.

  • @mahesh1322
    @mahesh1322 2 года назад +1

    Hi @reza ,
    Great video ...
    In the last example how you disabled - not to add any attachments to final collection attachments ?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I do not remember to be honest :)
      Video description has links to download the sample App. Check the code in there please :)

    • @vikrantprashantgurav9811
      @vikrantprashantgurav9811 Год назад

      If you found out, please let me know, much appreciated !

  • @GamingisourDestiny
    @GamingisourDestiny 7 месяцев назад +1

    Hi Reza, Good morning. Great video. Helped me a lot. But one question I have regarding multiple attachment, that if the user wants to remove one attachment they cannot directly remove from their own attachment section "For ex:- Project Attachments" and they need to directly remove them from main attachment. I guess for that purpose you've added that rectangle bar on each section. So, is their anyway that the user can remove the attachment directly from their own section attachment? Once again thanks reza:).

    • @RezaDorrani
      @RezaDorrani  7 месяцев назад +1

      That is the reason I added the rectangle bar. I am not aware of any other workarounds

    • @GamingisourDestiny
      @GamingisourDestiny 7 месяцев назад +1

      @@RezaDorrani Got it reza. Thanks for the timely response☺️

  • @taruntarun00198
    @taruntarun00198 Год назад +1

    Thanks for the video Reza, I have a question on the file sizes, Can we upload large files of more than 100 MB from Powerapps to ADLS or Sharepoint Document Library?

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      Power Apps is designed keeping mobile experiences in mind. Large files is not an option + even if there are workarounds it would impact performance.

  • @mikemarzano4958
    @mikemarzano4958 Год назад +1

    This is great. It helps out immensely. Is it possible to have the OnAdd action also add a 2nd copy of the file renamed with "-Original" added in? Like the user attaches 12345.txt and on the list (and uploaded) the user sees/gets 12345.txt and 12345-ORIGINAL.txt?

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      Not sure if that's an option. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

  • @kuldeepsingh114
    @kuldeepsingh114 2 года назад +1

    Thanks for the video!! didn't know that it's possible in PowerApps before seeing this video, i tried the same thing in one of my test apps where i created three attachments fields and passing the final variable to my main attachment field in edit form where i am able to upload new files but while removing any file from the attachment fields it's not saving. dont know if i am doing anything wrong!!

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      Deleting attachments while editing list item is a limitation with this approach.

  • @gabrielaesquivel4587
    @gabrielaesquivel4587 2 года назад +1

    Thanks for teaching us the ways to improve our power apps! a question popped up in my head after watching your video, would you say it is likely to apply this attachment control but in a component? So it can be resusable

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Nice idea! Would be a good one to try and find out.

  • @xxfodxelementxx
    @xxfodxelementxx 2 года назад +1

    Great video as always.
    Quick question.
    This seems to only work for new attachments, have you found a way to do this with items already attached? You example looks like it's going to work, it even adds new files as expected, however, the attached file is left untouched.
    In my case, the users upload an Excel file and make changes to it, however once they are ready to submit the file, I want to add file-Final to the file name.
    I can do it with flow, but would much rather avoid using flow. 🤮

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I have not tried with existing attached items. I would say possible but not something I have explored.

  • @Prasanna1998
    @Prasanna1998 Год назад +1

    @RezaDorrani
    Thank you for creating such amazing content
    Is there a way for using a icon to add attachments ?
    Also could you share the video for making the form thats made in the last section of this video

    • @RezaDorrani
      @RezaDorrani  Год назад

      I am not aware of an option to do that.
      I have done 200+ videos and do not remember in which video I covered it.

  • @stlaurent26
    @stlaurent26 Год назад +1

    Great video as always, one thing is not clear though is that how can you change category of attachment, for example, an attachment was wrongly classified as "invoice" instead of "project"

    • @RezaDorrani
      @RezaDorrani  Год назад

      User would need to remove it and then add it again.

  • @manospsarakis8586
    @manospsarakis8586 2 года назад +1

    Hello, Mr. Reza, thank you for the video. I have a question though. For the Multiple Attachment Controls Form in the last part of the video when you try to edit the item you choose from the gallery and hit the submit button again to make your changes it doens't work. The initial submission works just fine though.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Video description has link to download sample App.
      As for your issue, I will have to look at your App in action to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @eyoborelvis8224
    @eyoborelvis8224 8 месяцев назад

    Rezah!!! You're amazing😍😍🥰🥰😘😘

  • @stefancochrane2723
    @stefancochrane2723 3 месяца назад

    Many thanks! I have a PowerApps form that saves to SPO and it includes attachments. Users should only have the "Add" permission, not "Edit". It appears that for SPO list item attachments, the list item gets created first and saved, then the attachments are added. Do you have any recommendation on how to save attachments to a list item thru PowerApps (likely with Power Automate) even if the user cannot "Edit" the form?

    • @RezaDorrani
      @RezaDorrani  3 месяца назад

      I do not have a specific video reference on the mentioned scenario and would have to try it out to provide guidance.
      I will recommend checking or posting your query on forums in case someone has done something similar powerusers.microsoft.com

  • @dabketroop
    @dabketroop Год назад +1

    Great video. Thank you. How to get contents of an image Attachment of SharePoint to MS Word?

    • @RezaDorrani
      @RezaDorrani  Год назад

      I have no idea how to do that. I would recommend checking on forums in case someone has done something similar
      powerusers.microsoft.com

  • @cromagnon71
    @cromagnon71 2 года назад +1

    Reza you are awesome!!!!!!!!!!!!!!

  • @tonicassis619
    @tonicassis619 2 года назад +1

    Reza, Thank you so much for this control. I'm having trouble with the position. It won't scroll with the form. It's not staying at the position I want which is to the right of the attachments card. Yes I'm a powerapps newbie.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I would have to look at your App in action to provide guidance. I would recommend to post your issue with screenshots on the forums at powerusers.microsoft.com

    • @tonicassis619
      @tonicassis619 2 года назад +1

      @@RezaDorrani thank you for your reply. I ended up using another form to show the attachment viewer and that works. I did try to put the viewer in a custom card but it wouldn't take it.

  • @Month-sq9sf
    @Month-sq9sf Год назад +1

    Hi Reza, wonderful video. I do have a question though. In my powerapps form integrated to sharepoint, I am able to attach the files normally in new form mode but in edit mode, the file attached is not being saved. In the edit mode of the app, there are no runtime errors but as soon as I open the edit form, run time error occurs on the attachment section. I have tried refreshing the SP list, delete and add the attachment column but nothing works. Can you please help me on this? The error says unknown error occured

    • @RezaDorrani
      @RezaDorrani  Год назад

      I will have to look at your App in action to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @georgehouston7256
    @georgehouston7256 2 года назад +1

    Thank you very much for another brilliant video! Any idea why I am getting the dreaded "Incompatible types for comparison. These types can't be compared: Enum, Text." in the Items property for the Attachments Control? The view form lists all the items but it just won't filter like your solution is doing. Thanks again.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Video description has links to download sample Apps.
      As for your issue, I will have to look at your App in action to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @akurzphysik
    @akurzphysik Год назад +1

    Hi Reza, first of all great tutorial and design! I am struggling with a slight modification of the file name, as I do not want to use a dropdown, but a text input instead. Unfortunately, then all files are always labelled with the latest textinput, so they have all the same filename. Do you have any idea how to fix this?

    • @RezaDorrani
      @RezaDorrani  Год назад

      The technique shown in video does not put out same file names. It does not matter if its dropdown or text input. There must be something thats not done correctly at your end. Video description has link to download the app showcased in video I believe.

    • @akurzphysik
      @akurzphysik Год назад

      @@RezaDorrani Thank you for the quick reply, that is awesome! Unfortunately, I am still stuck here. With the dropdown it works for me. I need to keep the file extension when renaming the file. Therefore I split the original name and replace the part before the extension. I assume here comes the trouble, but I did not find the key issue yet...

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      @@akurzphysik I do not have a video reference on this scenario and would have to try it out to provide guidance. I recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

  • @lpp3923
    @lpp3923 3 года назад +2

    Hello Reza, really nice video, super helpful. In the multiple attachments implementation, do you know how can I delete a file from the SP list when I delete it from the childs? Thank you!

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      You will have to delete it from the main attachments section. That is the reason why I added a rectangle control on top of the attachment type sections to avoid user from deleting there.

    • @mikhan2665
      @mikhan2665 3 года назад

      @@RezaDorrani There is still an issue of showing the removed item from the main attachment section in the respective child attachment section. Example, if i remove a travel attachment from the main attachment section, it still shows in the travel attachments section. Any idea how to not show the removed items in the child sections as well ? Obviously, the child attachments reflect correctly after the form is submitted and clearcollect for each attachment section is done on submit or by returning to the dashboard screen, but I would like to show even before submitting the correct attachments in each section.

    • @RezaDorrani
      @RezaDorrani  3 года назад

      @@mikhan2665 I would have to try that out. Im not sure if there is a good option for this scenario.

  • @drinigjoni9089
    @drinigjoni9089 2 года назад +2

    Hello Reza I love your videos , they helped me a lot on my current job . Thank you
    I also have a gentle request, can you elaborate more on multiple attachment controls . I want to create 6 separated controls for attachments. Do you have any tutorial for that? Thanks again

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Thanks for watching and liking my videos.
      The multiple attachment control's part is a bit complex and again works on naming standards to define the location of attachments.
      Video description has link to download the sample App for multiple attachments. All the code is in there :)

    • @tihralahn
      @tihralahn Год назад

      @@RezaDorrani I tried to import the app but it gives an error :(

    • @RezaDorrani
      @RezaDorrani  Год назад

      @@tihralahn App will not work directly. Data sources will have to be connected. Best to post your issue with screenshots on forums at powerusers.microsoft.com

    • @tihralahn
      @tihralahn Год назад

      @@RezaDorrani done :) it’s called multiple attachment wizardry

    • @RezaDorrani
      @RezaDorrani  Год назад

      @@tihralahn great title:)
      There are many experts on the forums who assist in their free time. I only go to Forums in my free time :-)

  • @lachuynh85
    @lachuynh85 11 месяцев назад +1

    Thanks so much RD!

  • @duythinh252
    @duythinh252 2 года назад +1

    Hi Reza,
    As I follow this video, I notice that you don't show us on how to remove the attachment in case of misuploading at the new form. I searched through this comment section and found that removing unwanted attachment is unavailable with this approrach. Is that correct ? Because unable to remove misuploading attachment is quite annoying even though we can temporary fix this with the "remove all" button (call the Clear() function) but that isn't the best experience for the user, since the "X" button to remove still visible and when click on it, it remove the item visually but not in the collection behind

    • @RezaDorrani
      @RezaDorrani  2 года назад

      You can delete attachments when adding a new item.
      When editing an item, delete attachments would not work. You would need to call flow to do that.

  • @thirumaleshm2137
    @thirumaleshm2137 3 года назад +1

    Thank you so much for the great demo. I'm not a super user and unable to get to how to add multiple attachment control that you created in this video in the end? Can you please help me.
    Thank you in advance!

    • @RezaDorrani
      @RezaDorrani  3 года назад

      The video description has links to download both the sample Apps.
      To add multiple attachment controls, you can unlock the attachments data card in form control and then go to fields and add another one.

    • @thirumaleshm2137
      @thirumaleshm2137 3 года назад +1

      @@RezaDorrani thank you 😊

  • @RamyaSahu
    @RamyaSahu 2 года назад +1

    Awsome Video. How to validate 0 byte attachment while filing the form?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I am not sure how to do that. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

  • @stevenaxelwilliams1983
    @stevenaxelwilliams1983 Год назад +1

    Good video, a question. I need to be able to extract the path and name of a file that is on a local server. Can I apply something similar to obtain these values? At first glance, I can easily obtain the name but not the path.

    • @RezaDorrani
      @RezaDorrani  Год назад

      I have not tried extracting the path hence not sure. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

  • @GiaGao-p8o
    @GiaGao-p8o Год назад +1

    Thank you for your videos. It did help a lot. But how to remove the attachment file from attachment control and also from sharepoint list?

    • @RezaDorrani
      @RezaDorrani  Год назад

      I believe I mentioned in video that removal is a challenge.

  • @ArijitDas-fr8ss
    @ArijitDas-fr8ss 4 месяца назад

    Hi Reza, hope you are doing well. One question - Can we check attachment size using any power Fx formula to validate if attachment has any content in it ? Can we do it using powerapps only without exploring the power automate route ?

    • @RezaDorrani
      @RezaDorrani  4 месяца назад

      I don’t think so. May be check on forums in case someone has done something similar.

  • @polokodd3845
    @polokodd3845 2 года назад +1

    Hi Reza, great video, I followed it and got my tagging working very well but my design is on the form itself not the gallery as is your instance. I can add and also clear the collection but when I open or view a list item, the attachments are not loaded. I have cracked my head but unable to resolve this issue. How do I load the attachments with the SharePoint menus: edit and view for the selected item? Your support is much appreciated.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I will have to look at your App in action to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @CarlosRodriguez-he7fb
    @CarlosRodriguez-he7fb Год назад +1

    Hi Reza, Very nice video, thank you very much!, One question. I've tried this function with PDF files, and i'm not getting the categorization in the name file... do you know why? When I use another type of file it does... Then only file type that is not working is with PDFs...

    • @RezaDorrani
      @RezaDorrani  Год назад

      I have not come across this issue hence not sure. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

  • @impulzer5850
    @impulzer5850 6 месяцев назад

    Hi Reza, great video as always. One question though, I have multiple Attachment controls and multiple collections. How can I tell PowerApps what collection should be submitted to Sharepoint? It uploads the wrong collection now (not the FinalCollection with all attachments in it).

    • @RezaDorrani
      @RezaDorrani  6 месяцев назад +1

      Video description has link to download sample app. It includes all the logic I showcased in the video.

  • @aminahamilton1790
    @aminahamilton1790 2 года назад +1

    Thanks for the video Reza. I'm having issues with my attachments. I have two buttons on my forms "Save in Draft" and "Submit". When I click either button, and go back and view or edit the form, the attachments are not saving to the record. I have an edit icon on gallery, and set the OnSelect property of the Icon, I listed the following formula: Can you tell me what I'm doing wrong?
    Set(
    varFormMode,
    FormMode.Edit
    );
    Set(
    varItem,
    ThisItem
    );
    Navigate(CreateNew);
    ClearCollect(
    colAttachments,
    ThisItem.Attachments
    )

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      I will have to look at your App in action to provide guidance. Video description does have links to download and try out the sample App. You can look at the code base there. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com. Screenshots are very important to set context.

  • @julien8979
    @julien8979 2 года назад +1

    Very nice video. I think also we can control the security of the attachment based on the tagging. Example: If you have previously uploaded attachments, a manager can delete them for you if he will be having the access to edit the form. So by tagging, you can filter what to display even if he is a manager to avoid deleting the attachments. Will that work?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Might work! Have not tried it so not sure.

  • @fvvk3005
    @fvvk3005 3 года назад +1

    Thanks for this, Reza!
    One of the drawbacks of this attachment control is that attachments (i.e. a PowerPoint file) cannot be edited anymore as can be done in the standard SharePoint interface: the attachment control requires the files to be downloaded, edited locally before being uploaded again.
    QUESTION: is there a way to edit attachments without needing to download them?
    Maybe an idea for a next video :-)

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Editing of attachment is not possible in Power Apps. Only option would be for user to download file, make changes and upload with same name.

    • @vigneshbasuthkar1532
      @vigneshbasuthkar1532 Год назад

      ​@@RezaDorrani Hello, I want to show the attachment as a preview when a user clicks on it, without downloading it. How can I do this?

    • @RezaDorrani
      @RezaDorrani  Год назад

      @@vigneshbasuthkar1532 I think I did a video on attachment viewer component. Check that out.

  • @bobblandeburgo3842
    @bobblandeburgo3842 Месяц назад

    Thanks Reza - is it possible to open the attachments in the respective 365 web and/or desktop app instead of downloading when selected?

    • @RezaDorrani
      @RezaDorrani  Месяц назад

      I believe it only downloads

    • @bblande
      @bblande Месяц назад

      @@RezaDorrani Darn. Thanks...I noticed when clicking the attachment for a list item when viewing the actual list, it opens the file in a new tab.

    • @RezaDorrani
      @RezaDorrani  Месяц назад

      @@bblande It does may be based on browser settings. Not an area I have investigated much in.

  • @mohammednizamuddin1348
    @mohammednizamuddin1348 Год назад

    Hello Reza, Thanks for the videos! Super helpful. I have a question - Is it possible to send the attachments to flow instead of SP?

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      Yes, I have done videos on sending files to flow.

    • @mohammednizamuddin1348
      @mohammednizamuddin1348 Год назад

      @@RezaDorraniSorry, I tried looking for them. Could you please share the link for one of them? Appreciate your help.

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      @@mohammednizamuddin1348 I myself do not remember. You would need to check for it or alternatively try checking on forums powerusers.microsoft.com/

  • @ronalddejesus6426
    @ronalddejesus6426 11 дней назад

    Hi Reza, this is great! May I know what the code is for submitting the tagged attachments to a sharepoint list? Thanks.

    • @RezaDorrani
      @RezaDorrani  11 дней назад

      I did this video years ago. Video description may have link to download sample app. You can try and check.

  • @nandu8598
    @nandu8598 2 года назад +1

    I have a doubt in the multiple attachments app. when we edit a record, can we remove an attachment that is already patched to the list

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I believe I did show that in the video. Video description has links to download sample apps.

    • @nandu8598
      @nandu8598 2 года назад

      @@RezaDorrani If I remove the attachment directly from the finalattachment datacard it works fine. But if I remove the attachment from other attachment cards, the file removes from final attachment card as well but it won't remove the file from sharepoint list.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      @@nandu8598 I believe that is a limitation with this approach.

  • @salrathor1
    @salrathor1 6 месяцев назад

    Hi Reza,
    Thanks for the video.
    Quick question, is it possible to edit the attachments by deleting them and adding more to the same SharePoint list item? I seem to be struggling using this method.

    • @RezaDorrani
      @RezaDorrani  6 месяцев назад

      I don’t remember if I covered that in video.
      Video description has link to download sample app shown. You can check the code in it.

    • @salrathor1
      @salrathor1 6 месяцев назад

      @@RezaDorrani Yes, it's not in this video but you have another video where you show how to add tags into the names of attachments by using a custom collection 'colAttachments'. I don't believe this works when attachments in SharePoint. i.e. deleting and adding different ones.
      I was hoping you could confirm if I'm correct so I don't keep searching for a non-existent solution :)

    • @RezaDorrani
      @RezaDorrani  6 месяцев назад

      @@salrathor1 I don’t remember to be honest as I did these videos years ago

  • @Andr3s3s001
    @Andr3s3s001 Год назад

    Hi Reza thank you for all your help, I have an issue and maybe you know, I have a custom sharepoint list form with poweapps but when I click on the EditForm and then Edit Fields I cannot find the attachments control in there to add it to the form, it simply does not exist, and I don't find anyone else having this probablem. Hope you know why.

    • @RezaDorrani
      @RezaDorrani  Год назад

      Count me in that anyone else :)
      I have not experienced this issue either

  • @sharma_gaurav
    @sharma_gaurav 3 года назад +1

    Hi Reza,
    Thanks for the content. I really appreciate your hard work. Can you please create some videos related to Mix reality and PowerApp.

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Thanks Gaurav.
      I will add it to my backlog. I did a few mixed reality based videos for user groups a year ago. Check ruclips.net/video/1KhQyhhMvYE/видео.html

  • @mashohbd5838
    @mashohbd5838 2 года назад +1

    Hi Reza, thank you so much for all the wonderful videos you make. They always are helpful. My Question, you have used the tag dropdown button outside of the form control, since your form is not scrollable it works great. In my case my form scrolls because I have more fields, and hence the problem is the tag control doesn't stay in place. Any suggestion to overcome this issue? Thanks in advance!

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Reason I put it out of form control is because when form is in view mode, it will not be editable for refining.
      For new and edit forms you can place it in your form.

    • @mashohbd5838
      @mashohbd5838 2 года назад

      @@RezaDorrani Thank you so much for the prompt response. I need mine also to be Editable for refining , is there a way i can manage the control to stay in a specific Y position while the form scrolls?

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      @@mashohbd5838 I would have to try it out to provide guidance. I will recommend posting your query on forums at powerusers.microsoft.com/ May be someone has a solution for this.

    • @mashohbd5838
      @mashohbd5838 2 года назад +1

      @@RezaDorrani Thanks , I will do That!

    • @denis7369
      @denis7369 Год назад

      I would split the form in different tabs, so you don't have to scroll to reach all fields

  • @ishdoss7207
    @ishdoss7207 9 месяцев назад

    Hi Reza, You're videos are the Go-to videos for me as I start my power platform journey now. Thanks a lot! I've a scenario where my SP list is split in to 3 forms in 3 different tabs and each tab has a form with different attachment fields. On submit in the 3rd tab, I've to patch all the values to SP list. All attachments in all 3 forms should be linked to one attachment field in my SP list so that the user can see the proof documents for that request. Is it possible to do this way?

    • @RezaDorrani
      @RezaDorrani  9 месяцев назад

      Most welcome!
      Should be possible but not something I have tried or have a video reference for.

  • @charlesdawnbeltran9603
    @charlesdawnbeltran9603 2 года назад +1

    As usual great informative video. But i have problem with the attachments.
    The attachments are being uploaded if i use the collection (colAttachment) as items but if i use Parent.Dafault then it's working.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I will have to look at your App in action to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @slinktus
    @slinktus 2 года назад

    Is there a video somewhere for the demo you showed at the end?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      No. However, video description has a link to download both the sample Apps.

  • @yajutakajale7899
    @yajutakajale7899 2 года назад

    Great Video! i have a small doubt , in edit mode if we remove some attachment how do we manage it? I am not able to implement the same

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Remove is not supported with this technique.

    • @charlesdawnbeltran9603
      @charlesdawnbeltran9603 2 года назад

      I have the same issue. Would there be a way to remove the attached files in edit mode?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      @@charlesdawnbeltran9603 That is a limitation. I have not found a way.

  • @qwertyuiop12335
    @qwertyuiop12335 Год назад

    hi reza, thank you so much for your demo. one question, lets say the user come back to the form and delete one attachment, is it the deleted attachment will also be deleted or remove in the sharepoint list?

    • @RezaDorrani
      @RezaDorrani  Год назад

      From what I remember of this video - Yes.
      Video description has link to download sample app. You can try it out and check.

  • @yahuili8410
    @yahuili8410 9 месяцев назад

    Hi Reza,
    Thank you so much for your hard work. Do you have example how to patch attachments as collection into new submit form for creating a sharepoint item in powerapps instead of editing the existing item? Always appreciate your help.

    • @RezaDorrani
      @RezaDorrani  9 месяцев назад

      Patch function does not support attachments.
      Technique shown in video is the approach I know of.

    • @yahuili8410
      @yahuili8410 9 месяцев назад +1

      @@RezaDorrani Thank you so much for your quick response. Appreciate it very much!

  • @sathyashiva1373
    @sathyashiva1373 3 года назад +1

    Hi Reza, Happy New Year,
    Good video and nice explanation. I am having doubt at 10.40. How you are adding the attachments inside the collection using ThisItem.Attachments. In my case, I am not getting the attachments column in the suggestion after typing ThisItem.

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      Happy new year!
      If your gallery is connected to a SharePoint list directly, then you should get ThisItem.Attachments.
      Another reason could be that you might not be in the right context of the code (context of gallery).
      I would also recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

    • @sathyashiva1373
      @sathyashiva1373 3 года назад

      @@RezaDorrani Hi Reza,
      I written the same code what you have written at 9.20 . My issue is that the tags are repeating..
      For ex : If tag selected is PowerApps and file name is Hello.
      Uploading 1st time : PowerApps-Hello
      Uploading 2nd time : PowerApps-PowerApps-Hello.
      Each time while uploading, all the files in the collection are getting updating . Am I missing anything ?

    • @RezaDorrani
      @RezaDorrani  3 года назад

      @@sathyashiva1373 I will have to look at your App in action to know exact cause of your issue. I will recommend posting your issue with screenshots on the forums

    • @sathyashiva1373
      @sathyashiva1373 3 года назад +1

      @@RezaDorrani Hi Reza,
      I made a mistake on my side. I missed a ".Value " after typing the tag collection name in the onaddfile property of attachment control. So it started creating multiple duplicate tags. Now its working fine. Thanks for this amazing video.

    • @RezaDorrani
      @RezaDorrani  3 года назад

      @@sathyashiva1373 Glad it worked!

  • @Nah6234
    @Nah6234 2 года назад +1

    Hi Reza,
    I've tried this function in an app that I'm building and seems amazing!
    I have 2 questions (and let me introduce a little bit): This app will have multiple screens and I'm adding the attachments field to all of them, but on each screen, the field is renaming all the files attached again. So:
    Q1: How can I fix the name of the files already added and don't rename them when I add a new one on another screen?
    Q2: It's possible to use the Patch function and keep all the attachments of all screens?
    Thanks a lot for all knowledge you share with us! It's truly helpful.

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      1 - I have not tried with multiple screens so not sure. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com
      2 - Patch does not support attachments

  • @lohdaijiu
    @lohdaijiu 3 месяца назад

    Hey Reza, first of all thank you for your video. I am trying to implement a version of your solution but when I attempt to download the files from the canvas app, I am unable to do so and I see a “Couldn’t download - No file”. May I ask if you had any experience with this issue? Thank you!

    • @RezaDorrani
      @RezaDorrani  3 месяца назад

      I have had no issues with it

  • @imranpearl
    @imranpearl Год назад

    Thank you so much for this wonderful video. While tagging attachment i am unable to reference displayname in the updateif. If I only update the name field, then I see it getting renamed in the collection. Will it be possible for you to recheck if new update of powerapps has given away with displayname in attachments control.

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      There is no update that has affected this behavior. Video description has link to download sample app. Try checking the logic there.

    • @imranpearl
      @imranpearl Год назад

      @@RezaDorrani them you so much for replying...the sample app works but if I create a new app and then use the attachment control -on add file-updateif doesn't find the display name field.
      I even copied your updateif script as it is..yet it isn't working...if you have little time will it be possible to try with a new list in a new app...

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      @@imranpearl I will not have the bandwidth to test it out with new app. I would recommend posting your query on forums powerusers.microsoft.com

    • @imranpearl
      @imranpearl Год назад +1

      @@RezaDorrani thank you bro..will do that. You are a superstar can't thank u enough for sharing your expertise with all of us 😍

  • @prabhattiwari3230
    @prabhattiwari3230 4 месяца назад

    Hi , Reza
    Any advice on that i want fields with attachment or url(link to file) , so how can i achieve both on same field when data source is SharePoint list.
    or i can create a choice make use select to whether it url or attachment, if url then field appear to get URL and if attachment then ask them to add to main attchment field.
    How to do this better with creating toi much extra field..need help

    • @RezaDorrani
      @RezaDorrani  4 месяца назад

      I have no idea about this, as it is not something I have tried. I would recommend checking or posting your query on forums in case someone has done something similar powerusers.microsoft.com/

  • @krupeshpatel9173
    @krupeshpatel9173 4 месяца назад

    Hello Reza - First of all thank you for your video.
    I was able to make this work with 2 attachments control and auto tagging them - I read thru your messages and looks like delete is currently not supported and so you have added the Blue Bar.
    Can you please help me find some work around for this also not messing up the End users experience? I really appreciate your help?
    The 3rd control you have that allow to delete and without adding new to collection it does remove the attachments. Is there something we can do when removing from the collections, we will remove from the finalattachments collection and save the form or something...

    • @RezaDorrani
      @RezaDorrani  4 месяца назад

      Most welcome!
      I am not aware of any other workarounds. This video is the best reference I have.

    • @krupeshpatel9173
      @krupeshpatel9173 4 месяца назад

      @@RezaDorrani
      So here is my req. I want only 1 document that I want user to add/edit and tag for signature and other documents i wanted keep them as supporting documents for that request.
      It’s 1 SharePoint list how can I allow them to put them multiple attachment but allow them or pick one for signature purpose only ?

    • @RezaDorrani
      @RezaDorrani  4 месяца назад

      @@krupeshpatel9173 I would have to try this out to know how. I would recommend checking or posting your query on power apps community forum in case someone has done something similar

  • @nureignabiodun8180
    @nureignabiodun8180 Год назад

    Thanks always Reza. Can you assist with the video link that display how you achieve the multiple attachments

    • @RezaDorrani
      @RezaDorrani  Год назад

      Video description has link to download sample app. You can check the code in it .

  • @Lukas-xd9oz
    @Lukas-xd9oz 18 дней назад

    Hi Reza, very good solution I use since many months but it turns out, that removing attachments from such sub-lists of attachments does not remove them from the sharepoint list element. Only removing from the full list of attachments removes them from the source. Do you have any advice how I can make removing working if I want to avoid showing the full list?

    • @RezaDorrani
      @RezaDorrani  18 дней назад +1

      I belive that was the limitation I shared in this video. I'm not aware of how to avoid showing full list.