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

  Рет қаралды 156,696

Reza Dorrani

Reza Dorrani

Күн бұрын

Пікірлер: 639
@NKBobcat
@NKBobcat 3 жыл бұрын
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!
@RezaDorrani
@RezaDorrani 3 жыл бұрын
Wow, thanks Bob!
@jasmingutierrez9280
@jasmingutierrez9280 2 жыл бұрын
@@RezaDorrani I highly agree!😁
@shaiksamad1562
@shaiksamad1562 3 жыл бұрын
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.
@chrisproctor2854
@chrisproctor2854 Жыл бұрын
As someone who uses the attachment control often--this tutorial still blew my mind!
@RezaDorrani
@RezaDorrani Жыл бұрын
👍
@moyura2
@moyura2 Жыл бұрын
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.
@sueamin2788
@sueamin2788 Жыл бұрын
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.
@RezaDorrani
@RezaDorrani Жыл бұрын
You're very welcome!
@AkishaAnthony
@AkishaAnthony 10 ай бұрын
Once again, you have the solution I needed to solve a problem. Thank you for putting this video together.
@RezaDorrani
@RezaDorrani 10 ай бұрын
You're most welcome!
@aaron6516
@aaron6516 2 жыл бұрын
Once again proving your are a power apps master Jedi!!! 🙌
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Wow! High praise there. Thank you so much.
@khanlee82
@khanlee82 Жыл бұрын
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.
@RezaDorrani
@RezaDorrani Жыл бұрын
Thanks for sharing.
@frenske2002
@frenske2002 2 жыл бұрын
Reza, great video! Was looking for the a long time Love watching your videos
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Glad to hear!
@imran0305
@imran0305 Жыл бұрын
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
@vinaykothari434
@vinaykothari434 9 ай бұрын
Great Video, Fantastic Apps. Reza you are the best man, love your videos and your tutorials ❤❤
@RezaDorrani
@RezaDorrani 9 ай бұрын
Thank you so much
@sofiaali2602
@sofiaali2602 3 жыл бұрын
You are amazing!!! Watching your video taught me so much I can't even tell you. Thank you so much for all this!
@RezaDorrani
@RezaDorrani 2 жыл бұрын
You are so welcome!
@saherkhatani
@saherkhatani 2 жыл бұрын
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
@oluwatobiyusuf
@oluwatobiyusuf 2 жыл бұрын
Happy new year Reza. Starting the year with this tutorial video. New knowledge gained
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Awesome! Glad to hear that. Have a great new year!
@nilesh2874
@nilesh2874 Жыл бұрын
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.
@mohamedyusuf9446
@mohamedyusuf9446 10 ай бұрын
Outstanding solution and excellent guidance on to use your solution.
@RezaDorrani
@RezaDorrani 10 ай бұрын
Glad it was helpful!
@oricchannel2811
@oricchannel2811 2 жыл бұрын
Allway learning with you, Reza. Thank you for sharing !!!!
@RezaDorrani
@RezaDorrani 2 жыл бұрын
You are most welcome
@duythinh252
@duythinh252 2 жыл бұрын
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.
@sankhlayashraj
@sankhlayashraj 9 күн бұрын
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 9 күн бұрын
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/
@wongshimun1433
@wongshimun1433 Жыл бұрын
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
@adanielmacedo
@adanielmacedo 3 жыл бұрын
Congrats Reza, very useful...
@RezaDorrani
@RezaDorrani 3 жыл бұрын
Thank You
@manospsarakis8586
@manospsarakis8586 2 жыл бұрын
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
@crisgath3512
@crisgath3512 3 жыл бұрын
🔥🔥. Excellent Reza. Thanks again for sharing
@RezaDorrani
@RezaDorrani 3 жыл бұрын
Thanks Cris
@jamesclark2020
@jamesclark2020 2 жыл бұрын
Thank you for sharing this lesson. So helpful. 😊
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Thanks for watching
@Month-sq9sf
@Month-sq9sf Жыл бұрын
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
@AndrewFairley-j9e
@AndrewFairley-j9e 2 ай бұрын
Thank you Reza. This was very helpful
@RezaDorrani
@RezaDorrani 2 ай бұрын
Most welcome
@saqnevermind
@saqnevermind 2 жыл бұрын
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 жыл бұрын
Delete is not supported since for delete user will need to work with a single attachment control.
@aminahamilton1790
@aminahamilton1790 2 жыл бұрын
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 жыл бұрын
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.
@YopiKabayan
@YopiKabayan Жыл бұрын
Love your videos Reza 😍
@RezaDorrani
@RezaDorrani Жыл бұрын
Thanks
@alexcassie7712
@alexcassie7712 5 ай бұрын
Hi, thank you for this great video. One question, do you have separate videon on multiple attachment control (last part). Thank you
@RezaDorrani
@RezaDorrani 5 ай бұрын
Welcome! I do not have a separate video on last part. Video description has link to download app shown in video.
@stefancochrane2723
@stefancochrane2723 Ай бұрын
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 Ай бұрын
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
@fanko81
@fanko81 Жыл бұрын
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
@PowerAppsTutorial
@PowerAppsTutorial 3 жыл бұрын
Happy Monday, Reza!
@RezaDorrani
@RezaDorrani 3 жыл бұрын
Happy Monday!
@moyosorestephen1925
@moyosorestephen1925 2 жыл бұрын
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
@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.
@practicalpowerapps
@practicalpowerapps 2 жыл бұрын
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 Жыл бұрын
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 8 ай бұрын
@@divyanshugupta4992 Hi Divya/Warren, did you get the solution to save the attachment? I'm stuck on same
@georgehouston7256
@georgehouston7256 2 жыл бұрын
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
@xxfodxelementxx
@xxfodxelementxx Жыл бұрын
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 Жыл бұрын
I have not tried with existing attached items. I would say possible but not something I have explored.
@mahesh1322
@mahesh1322 2 жыл бұрын
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 !
@robertopolo3073
@robertopolo3073 2 жыл бұрын
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
@nandu8598
@nandu8598 2 жыл бұрын
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.
@stevenaxelwilliams1983
@stevenaxelwilliams1983 Жыл бұрын
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.
@lpp3923
@lpp3923 3 жыл бұрын
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 жыл бұрын
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 2 жыл бұрын
@@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 2 жыл бұрын
@@mikhan2665 I would have to try that out. Im not sure if there is a good option for this scenario.
@MrShrikantsawant
@MrShrikantsawant Жыл бұрын
Really very nicely described video.
@RezaDorrani
@RezaDorrani Жыл бұрын
Thank You so much
@akurzphysik
@akurzphysik Жыл бұрын
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 Жыл бұрын
@@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.
@mikemarzano4958
@mikemarzano4958 Жыл бұрын
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 Жыл бұрын
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.
@taruntarun00198
@taruntarun00198 Жыл бұрын
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 Жыл бұрын
Power Apps is designed keeping mobile experiences in mind. Large files is not an option + even if there are workarounds it would impact performance.
@polokodd3845
@polokodd3845 2 жыл бұрын
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
@thirumaleshm2137
@thirumaleshm2137 3 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
@@RezaDorrani thank you 😊
@CarlosRodriguez-he7fb
@CarlosRodriguez-he7fb Жыл бұрын
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
@XiaoHC
@XiaoHC 2 жыл бұрын
Boss tNice tutorials mate, thanks
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Most welcome
@lohdaijiu
@lohdaijiu Ай бұрын
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 Ай бұрын
I have had no issues with it
@eyoborelvis8224
@eyoborelvis8224 6 ай бұрын
Rezah!!! You're amazing😍😍🥰🥰😘😘
@RezaDorrani
@RezaDorrani 6 ай бұрын
Thanks
@thiaklixing
@thiaklixing 6 ай бұрын
hello! can i ask whats the expression to include for OnRemoveFile?
@RezaDorrani
@RezaDorrani 6 ай бұрын
Video description has link to download sample app. You can check the code in it.
@stevebekele4083
@stevebekele4083 Жыл бұрын
Hi Reza, I have a Power Apps app with a SharePoint list as a backend. Users of the App add attachments iteratively (they attach when the form is initially submitted, approvers attach another file to that specific item when they approve the request...). Now, the business asked me to sort the attachments based on their time of attachment. I couldn't find a way to do that. Is there any recommendation you could give me? Many thanks.
@RezaDorrani
@RezaDorrani Жыл бұрын
There is no metadata stored for attachments. One option would be to name the files based accordingly and sort them. Example currentdateandtime_filenname. Then you could sort based on the attachments name.
@stevebekele4083
@stevebekele4083 Жыл бұрын
Thank you,@@RezaDorrani. I suggested that, however different users may attach files at the same time...they had a Nintex solution customized that does this sorting. They wanted to replicate exactly in Power Apps.
@RezaDorrani
@RezaDorrani Жыл бұрын
@@stevebekele4083 Date and time (to the secs) will handle uploading at similar times.
@giampaolocarli4728
@giampaolocarli4728 2 жыл бұрын
Ops Amazing Reza... Thanks So much
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Most welcome
@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.
@gabrielaesquivel4587
@gabrielaesquivel4587 2 жыл бұрын
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.
@ArijitDas-fr8ss
@ArijitDas-fr8ss 3 ай бұрын
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 3 ай бұрын
I don’t think so. May be check on forums in case someone has done something similar.
@kuldeepsingh114
@kuldeepsingh114 Жыл бұрын
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 Жыл бұрын
Deleting attachments while editing list item is a limitation with this approach.
@caioariel84
@caioariel84 2 жыл бұрын
Great video. I just have a problem, I'm renaming attachments that are in a list in sharepoint and for some reason it's losing the path to save the file, do you have any tips on what might be happening?
@RezaDorrani
@RezaDorrani 2 жыл бұрын
I have not faced this issue, so not sure. I will recommend posting your issue with screenshots on the forums at powerusers.microsoft.com
@jray1429
@jray1429 2 жыл бұрын
You can use attachment controls outside of regular forms too! Even uploading to Sharepoint doc libraries
@RezaDorrani
@RezaDorrani 2 жыл бұрын
kzbin.info/www/bejne/qGS4dGaKgr2boqs
@fvvk3005
@fvvk3005 3 жыл бұрын
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.
@AudioBulldog
@AudioBulldog Жыл бұрын
this was super helpful thank you soooo much
@RezaDorrani
@RezaDorrani Жыл бұрын
You're so welcome!
@ishdoss7207
@ishdoss7207 7 ай бұрын
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 7 ай бұрын
Most welcome! Should be possible but not something I have tried or have a video reference for.
@peterbroeckx
@peterbroeckx Жыл бұрын
Hello Reza, thank you for the video. i am having trouble with the formula for the OnAddFile for the attachment. drpAttachTag is giving 'name isn't valid, not recognized'. Any idea what i am doing wrong? Thx.
@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
@prabhattiwari3230
@prabhattiwari3230 2 ай бұрын
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 2 ай бұрын
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 2 ай бұрын
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 2 ай бұрын
Most welcome! I am not aware of any other workarounds. This video is the best reference I have.
@krupeshpatel9173
@krupeshpatel9173 2 ай бұрын
@@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 2 ай бұрын
@@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
@charlesdawnbeltran9603
@charlesdawnbeltran9603 2 жыл бұрын
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
@GamingisourDestiny
@GamingisourDestiny 5 ай бұрын
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 5 ай бұрын
That is the reason I added the rectangle bar. I am not aware of any other workarounds
@GamingisourDestiny
@GamingisourDestiny 5 ай бұрын
@@RezaDorrani Got it reza. Thanks for the timely response☺️
@salrathor1
@salrathor1 5 ай бұрын
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 5 ай бұрын
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 5 ай бұрын
@@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 5 ай бұрын
@@salrathor1 I don’t remember to be honest as I did these videos years ago
@martinvargas7956
@martinvargas7956 16 күн бұрын
Hi Reza, is there a way to remove the attachments where they are all stored and remove where they were uploaded?
@RezaDorrani
@RezaDorrani 16 күн бұрын
I am not sure of the possibilities here as I would have to try it out to know more
@daisyjoieviray328
@daisyjoieviray328 4 ай бұрын
Is there a way to make the height of the attachment field dynamic? Like if I attached 10 files, the height should automatically adjusted so there's no need to scroll down.
@RezaDorrani
@RezaDorrani 4 ай бұрын
Possible, I guess. You could check count of attachments in control and accordingly set the height. Not something I have tried though.
@mhizzudin
@mhizzudin Жыл бұрын
Reza, question here. Let say i have an attachment control in a form. OnRemoveFile property of the file i did a patch to update the form (to update attachment for the item). but after click X on the attachment, the attachment is grey out and there is an undo button. how to make sure when I click X, the row of item totally removed. not grey out like that.
@RezaDorrani
@RezaDorrani Жыл бұрын
Patch function does not support attachments :)
@stevebekele4083
@stevebekele4083 2 жыл бұрын
Hi @Reza, I have a scenario where Reviewers would like to add attachments in PowerApps. Currently, I am using Patch to update the record. How can I add attachments using Patch in one form? I see a work around using a separate form for the attachment only (which didn't help for my scenario). Datasource is SharePoint. Thanks
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Patch does not support attachments. Options are to use form control or call flow to add attachments.
@stevebekele4083
@stevebekele4083 2 жыл бұрын
@@RezaDorrani They needed to add attachments when they are editing the item. For the initial form submission, I use Submit form and it takes care of it. But when they are editing, I use Patch to set hard-coded values in addition to the attachment for the workflows running based on these hard-coded values. It is sad Patch doesn't support Attachment. Thank you for the swift response though.
@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
@laszlogyor6628
@laszlogyor6628 8 ай бұрын
It is a very useful video, thank you.
@RezaDorrani
@RezaDorrani 8 ай бұрын
Most welcome
@jray1429
@jray1429 3 жыл бұрын
Great job, very helpful and well done 👍 Thank you.
@RezaDorrani
@RezaDorrani 3 жыл бұрын
Your most welcome
@YuHan-u5x
@YuHan-u5x Жыл бұрын
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.
@MTaj-xb7js
@MTaj-xb7js Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@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 Жыл бұрын
Hi thanks @RezaDorrani , I have got the solution now able to upload attachments. Once again Tanks Lot!
@tonicassis619
@tonicassis619 2 жыл бұрын
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 жыл бұрын
@@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.
@yuvarajthangavel215
@yuvarajthangavel215 Жыл бұрын
Hi Reza, Thanks for your Idea. I want to remove the last attachment as it's failing the validation. I am able to remove all the attached files. But I am not able to remove a particular file from the attachment control in the form "OnAddFile" Event. Please advice.
@RezaDorrani
@RezaDorrani Жыл бұрын
I have not come across this issue hence not sure what the fix would be. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com
@slmltn
@slmltn Жыл бұрын
Hi Reza; Thanks. I've a question. How can I increase the category? When I add a special card, default and update are not displayed.
@RezaDorrani
@RezaDorrani Жыл бұрын
I will have to look at your app in action to know the reason for your issue. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com
@Prasanna1998
@Prasanna1998 Жыл бұрын
@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.
@Nah6234
@Nah6234 2 жыл бұрын
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 - 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
@dabketroop
@dabketroop Жыл бұрын
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
@alessiovacca2600
@alessiovacca2600 Жыл бұрын
Hi Reza, with this approach it is possible to let the user upload an excel file table in powerapps, save it in a collection and then patch it to sql server?
@RezaDorrani
@RezaDorrani Жыл бұрын
You cannot upload an excel table - you would be uploading an excel file. You would need to save the file and then read the table contents in a collection in order to patch to sql.
@cromagnon71
@cromagnon71 2 жыл бұрын
Reza you are awesome!!!!!!!!!!!!!!
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Thank uuuuu
@stlaurent26
@stlaurent26 Жыл бұрын
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.
@mani0536
@mani0536 Жыл бұрын
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 Жыл бұрын
@@RezaDorrani Sure .. Thanks...
@impulzer5850
@impulzer5850 5 ай бұрын
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 5 ай бұрын
Video description has link to download sample app. It includes all the logic I showcased in the video.
@mhizzudin
@mhizzudin Жыл бұрын
is there a way to view or launch the attachments you attach in the attachment control before you upload them in sharepoint (or Submit the form)?
@RezaDorrani
@RezaDorrani Жыл бұрын
I am not aware of a way to do that
@drinigjoni9089
@drinigjoni9089 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 :-)
@markm7013
@markm7013 2 жыл бұрын
Hi Reza, excellent content once again. In my scenario, the attached file's name does not start with the tag. Instead it is in the middle of the DisplayName. For example 31_10_2021-U-Food-Test.txt How can I modify your code: Filter(colattachments, drpAttachTag.Selected.Value="All" || StartsWith(DisplayName, drpAttachtag.Selected.Value & "-")) to find it in the middle of the DisplayName? I tried various combinations of Filter and Match to no avail. Thanks.
@RezaDorrani
@RezaDorrani 2 жыл бұрын
The file name is created (controlled) by us through the App. My scenario shows how we can add the tag to the front of the name and then we can use it to get the tag back. Video description has links to download the sample App. Give that a try.
@maruthikiran3429
@maruthikiran3429 2 жыл бұрын
Hi Reza, i'm unable to load all sharepoint list attachments to a collection as shown in the video. Here is my collection on start of the app ClearCollect(colAttachments,Defaults(List name).Attachments);. And also have issue with using "Thisitem.Attachement" for edit icon in a gallery. Please let me know where i'm i going wrong? Appreciate your great work on PowerPlatform.
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Video description has link to download sample Apps. Give that a try. 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
@gledsonsantos7518
@gledsonsantos7518 2 жыл бұрын
Hello Reza, is it possible keep the sequence of the attachments, for exemple, if I take a picture "B", and alfter that I add other picture "A", the sequence is first "B" and after "A". Because when I submit the form the sequence is inverted by default (ascending), and Ineed to keep the initial sequence.
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Not sure. I guess you could try and load the data reverse in a different collection and then patch or something or reorder the items in the collection.
@PierreBLIN
@PierreBLIN 8 ай бұрын
Hello, I have an application where I have a form, in which I have two "attachment" fields, each containing a pen input for a signature. When I submit my form, it's supposed to send me the two signatures as an image in my sharepoint list, in my "attachments" column. The problem is that it only returns one signature image out of the two. How can I get both signatures in my attachments column in my SharePoint list ?
@RezaDorrani
@RezaDorrani 8 ай бұрын
I do not have a video reference on this scenario and would have to try it out to provide guidance. I recommend checking or posting your query on forums in case someone has done something similar powerusers.microsoft.com
@divyanshusoni3448
@divyanshusoni3448 3 жыл бұрын
Hi Reza, just wanted to ask you that some people have made videos on powerapps login screen.. just want to ask why do we need a login form when we are already using active directory to login into the powerapps and using the applications.. i think there is no point of making a login form.. what is your point of view ?? It simply ends with dual login one while login in powerapps desktop application and other into the applications made using powerapps
@RezaDorrani
@RezaDorrani 3 жыл бұрын
Probably one of the reasons why I did not make a video on login screen. Power Apps login is via Azure AD. A secondary login screen is not needed
@lachuynh85
@lachuynh85 9 ай бұрын
Hi RD, it look like I have a stupid question but how to add 3 attachment data card to the form? I can add only 1 attachment data card to the form. Thanks so much!
@RezaDorrani
@RezaDorrani 9 ай бұрын
I think I show how to do 2 in video. Repeat same process for 3. Video description has link to download the apps shown.
@lachuynh85
@lachuynh85 9 ай бұрын
Thanks @@RezaDorrani ! I did it! :) .
@sueamin2788
@sueamin2788 Жыл бұрын
Hello Reza, I have a simple Attachment control in my form and it gives me message: ThisItem.Attachment = This formula uses scope which is not presently supported for evaluation. I understand the Form control does not support the Attachment table. I tried If(isBlank...) to no avail. BTW, the attachment functionality works perfectly but in design mode it gives red circle with white cross mark within to indicate an error. Is there a way around this (unknown) error? Please advise, if possible. Thank you.
@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
File Attachments in Power Apps - The best way to do them
23:05
Chino Does Stuff
Рет қаралды 106 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 21 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 57 МЛН
Power Apps Upload File v2 to SharePoint Document Library
20:07
Shane Young
Рет қаралды 69 М.
PowerApps upload file to SharePoint document library
28:21
Shane Young
Рет қаралды 281 М.
How to Manage Projects Like a Pro in Microsoft Teams
24:33
Bulb Digital
Рет қаралды 106 М.
Flow Approval Attachments - Power Automate Tutorial
29:04
Reza Dorrani
Рет қаралды 93 М.
Build a CHAT experience in Power Apps using SharePoint Lists
21:49
Reza Dorrani
Рет қаралды 13 М.
Sudden assault near Kursk / Putin's statement
13:04
NEXTA Live
Рет қаралды 921 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 21 МЛН