Upload files to Dataverse from Power Apps | Patch multiple files | File Column tutorial

  Рет қаралды 42,740

Reza Dorrani

Reza Dorrani

Күн бұрын

In this Power Apps tutorial video, you will learn about uploading files into Dataverse from Power Apps. We will be working with the Dataverse File Column, leverage the Patch function to patch attachments to Dataverse File Column, upload multiple files using a related Table with File column, Download Dataverse file attachments, download Dataverse files, view attached files using PDF viewer, delete & add files.
File columns store binary data. File columns may be in any custom or customizable Dataverse table.
Patch allows us to insert or update one or more records in a data source, or merge records outside of a data source.
Video will also showcase how to work with the form control experience in Power Apps to upload files thanks to the Attachments control.
Helpful Links 🔗:
Dataverse file columns
learn.microsoft.com/en-us/pow...
Use Dataverse file column data
learn.microsoft.com/en-us/pow...
#PowerApps #Dataverse #PowerPlatform #Patch #File
Table of Contents:
00:00 - Introduction to Patch (Upload files) to Dataverse from Power Apps
00:32 - Dataverse File Column Type
02:02 - Model-driven Power App - Working with the file column (Upload file)
03:56 - Canvas Power Apps - Upload file with Attachments control inside Form Control
06:36 - PowerApps Patch function to upload attachment to Dataverse file column
09:38 - Upload multiple files to Dataverse Related Table (File Column) from Power Apps
17:52 - Delete files from Dataverse Table using Power Apps
20:00 - View Dataverse files (PDF) in Power Apps with PDF Viewer Control
20:47 - Subscribe to Reza Dorrani channel
🤝 Let’s connect on social:
🔗 Reza Dorrani LinkedIn: / rezadorrani
🐦 Reza Dorrani Twitter: / rezadorrani

Пікірлер: 207
@dougydoe
@dougydoe Жыл бұрын
This is brilliant, Reza, especially the multiple file uploads. Thanks for sharing. I'll definitely play around and experiment with this soon.
@RezaDorrani
@RezaDorrani Жыл бұрын
Glad to hear that! Let me know how it goes and thanks for watching
@RezaDorrani
@RezaDorrani Жыл бұрын
@@elieawad7323 I make videos when I get multiple requests on a particular topic. Every quarter I ask subscribers for topic suggestions on the Community Tab of my KZbin channel. Subscribers vote for topics and the highest voted topics get added to my backlog. Make sure you post this in the next topic suggestion post. If it gets a lot of votes, I will add it to my backlog.
@busyshah
@busyshah Жыл бұрын
Bro, you are the best out of all the content available out there. What I like the most is that (90% of times) you already have a video on something we are struggling with no matter how strange the problem is.
@RezaDorrani
@RezaDorrani Жыл бұрын
Thank You so much! I am always listening to signals from subscribers related to common challenges and aim to create those type of videos.
@arvindbhat8753
@arvindbhat8753 Жыл бұрын
Lovely to see someone who had a possibly humble beginning in Rizvi make such rapid strides internationally! Canvas apps would have been lot tougher without you. Keep doing great work!
@RezaDorrani
@RezaDorrani Жыл бұрын
Thanks Arvind. Its been some journey and I hope it’s only started.
@madhuradamle
@madhuradamle Жыл бұрын
Great video as usual, Reza! Thank you for sharing your knowledge in the simplest way possible!
@RezaDorrani
@RezaDorrani Жыл бұрын
Most welcome! Thanks so much for watching.
@magepa
@magepa Жыл бұрын
I was looking for a way to load multiple files in Dataverse and your solution is brilliant!!! Thanks Reza
@RezaDorrani
@RezaDorrani Жыл бұрын
Most welcome and thanks so much for watching
@SIDDHIRACEROGERS
@SIDDHIRACEROGERS Ай бұрын
You are an absolute legend Reza. Thank you!
@RezaDorrani
@RezaDorrani Ай бұрын
Most welcome
@oluwatobipaul6171
@oluwatobipaul6171 Жыл бұрын
Thanks so much Reza. I learnt a lot from the multiple file upload.
@RezaDorrani
@RezaDorrani Жыл бұрын
Glad it was helpful!
@kireetiyakkali
@kireetiyakkali Жыл бұрын
Thanks a lot Reza! Great explanation as always.
@RezaDorrani
@RezaDorrani Жыл бұрын
Most welcome
@ronn_zw
@ronn_zw Жыл бұрын
As always, thank you so much for sharing.
@RezaDorrani
@RezaDorrani Жыл бұрын
My pleasure!
@elizabethtrent
@elizabethtrent 6 ай бұрын
This is so very helpful! Thank you!
@RezaDorrani
@RezaDorrani 6 ай бұрын
You are most welcome!
@yehunlavolontededieu322
@yehunlavolontededieu322 Жыл бұрын
Click - oh the wrong door...Sorry I will come back when when i work for an org who wants/afford data verse 😊...so far we good with mama SP. Thanks Reza for the quick review of the video that you give us it helps a lot to take a glance of the outcome ....
@RezaDorrani
@RezaDorrani Жыл бұрын
😊
@stephendemanovich3974
@stephendemanovich3974 Жыл бұрын
Thank you Reza for yet another outstanding video. You have a solution for pretty much everything I encounter and I appreciate what you do!
@RezaDorrani
@RezaDorrani Жыл бұрын
Glad to hear that! Thanks for watching and liking the videos.
@stephendemanovich3974
@stephendemanovich3974 Жыл бұрын
@@RezaDorrani For the life of me I cannot resolve this error when trying to patch attachments into the supporting documents table... Invalid argument type. Expecting a Record value but of a different schema. Incompatible type. The 'Status' column in the data source you're updating expects a 'OptionSetValue' type and you're using a 'OptionSetValue' type. Not sure what I'm doing wrong.
@RezaDorrani
@RezaDorrani Жыл бұрын
@@stephendemanovich3974 No idea. I have not come across this issue. I would recommend posting this issue on forums powerusers.microsoft.com
@munyivangea
@munyivangea Жыл бұрын
Thanks for this, this sorted my edit issue.
@RezaDorrani
@RezaDorrani Жыл бұрын
Glad it helped!
@SauloOliveira
@SauloOliveira Жыл бұрын
I'm going to use this multiple attachments strategy in my project. Thank you Reza
@RezaDorrani
@RezaDorrani Жыл бұрын
Most welcome
@joaodickinson
@joaodickinson 7 ай бұрын
Great video, thanks!
@RezaDorrani
@RezaDorrani 7 ай бұрын
Glad you liked it!
@user-ne9tr4zk6u
@user-ne9tr4zk6u Жыл бұрын
Thanks a lot! You helped me a lot.
@RezaDorrani
@RezaDorrani Жыл бұрын
Glad it helped!
@vikramsingh-yl8rl
@vikramsingh-yl8rl Жыл бұрын
Thank you Reza for Great explanation....
@RezaDorrani
@RezaDorrani Жыл бұрын
You're most welcome
@Jaisreeradhekrishna
@Jaisreeradhekrishna Жыл бұрын
Man you are brilliant
@RezaDorrani
@RezaDorrani Жыл бұрын
Thanks
@DroneEyes
@DroneEyes Жыл бұрын
Another great video Reza!
@DroneEyes
@DroneEyes Жыл бұрын
Is it possible to share the power app file with us by making available to download?
@RezaDorrani
@RezaDorrani Жыл бұрын
Thanks
@RezaDorrani
@RezaDorrani Жыл бұрын
The App was built step by step in video.
@nihar4713
@nihar4713 Ай бұрын
amazing!!
@RezaDorrani
@RezaDorrani Ай бұрын
Thanks!!
@steventhawe1598
@steventhawe1598 Жыл бұрын
Good content as always Reza, Quick question, i always use the attachments feature by enabling attachments on a Dataverse table and all files are stored as notes. What is the advantage of defining the attachments the way you have demonstrated here as opposed to the way I manage attachments?
@RezaDorrani
@RezaDorrani Жыл бұрын
Notes comes with a lot of additional capabilities. This is purely file storage.
@karukarthi2609
@karukarthi2609 Жыл бұрын
Thanks for sharing, Reza. Really insightful. The same patch functions can be leveraged to store attachments in the list item with SharePoint as a Data Source?
@RezaDorrani
@RezaDorrani Жыл бұрын
It will not work for SharePoint. I have done several videos on SharePoint list item attachments. Check my playlist on it.
@sakshisachdeva5382
@sakshisachdeva5382 Жыл бұрын
Hi Reza, Thank you for all the video's, they are very informative and easy to follow. My question is regarding Microsoft forms. Is it possible to fetch total score from Microsoft forms and display it in a Microsoft list? OR through any means can the score be fetched from Microsoft forms and displayed somewhere.
@RezaDorrani
@RezaDorrani Жыл бұрын
Check Microsoft Forms playlist on my channel.
@nebeir
@nebeir Жыл бұрын
Hello Reza, great video, thanks 🤩 I see that the PDFViewer component has always been in "experimental" for many months, can we trust it to use it in a production environment? Among other things, starting today in various tenants I'm experiencing extreme slowness in viewing documents, but in this case the datasource is SharePoint and not the Dataverse.🤕
@RezaDorrani
@RezaDorrani Жыл бұрын
Pdfviewer have been experimental ever since its existence. There is always some risk with experimental features when using it in production. I have used it in production apps with the understanding that there could be potential updates needed in future. I have not experienced any slowness today with apps.
@itubeHirschberg
@itubeHirschberg Жыл бұрын
Hallo Reza - sehr gut - Danke
@RezaDorrani
@RezaDorrani Жыл бұрын
Sehr willkommen
@alexsegal5397
@alexsegal5397 Жыл бұрын
Thank you @RezaDorrani - great resources. Question about the dataverse - how do we remove a lookup column? I cannot seem to find the way because of all the dependencies created due to the relations added. Thanks in advance!
@RezaDorrani
@RezaDorrani Жыл бұрын
Sorry but I am not aware of a way to resolve this. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.
@alexsegal5397
@alexsegal5397 Жыл бұрын
@@RezaDorrani - Thanks!! So what would you do - deleting the tables, rebuilding the solution? Just curious 😊- thanks again!
@RezaDorrani
@RezaDorrani Жыл бұрын
@@alexsegal5397 I have not come across this scenario :)
@mprosenica
@mprosenica Ай бұрын
Beautiful solution 🤩. I am just having a minor issue. Not sure if I did something wrong. However, if I upload a file, patch it, and want to add another file, the "For All" will pick previously saved file and the new one and patch it. This way, I will have 2x first file, and 1x new file. Maybe some logic needs to be added here to exclude patching the previously saved files?
@RezaDorrani
@RezaDorrani Ай бұрын
I have not come experienced this and hence not sure what is the cause for your issue. I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com
@RohanTyagi2008
@RohanTyagi2008 Жыл бұрын
Hi Reza, This is great as always, Is there a way to show/download default attachments from dataverse from Table ActivityMimeAttachments
@RezaDorrani
@RezaDorrani Жыл бұрын
I have not investigated with ActivityMimeAttachments Table, hence Im not sure. Il recommend checking on forums at powerusers.microsoft.com in case someone has done something similar
@amedeotalks
@amedeotalks 2 ай бұрын
damet garm reza jan
@RezaDorrani
@RezaDorrani 2 ай бұрын
Welcome
@barnaliroy8703
@barnaliroy8703 Жыл бұрын
Very helpful! but is there any way to save multiple docs through OnSelect of a button instead of using EditForm?
@RezaDorrani
@RezaDorrani Жыл бұрын
Not one that I am aware of. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.
@inam0001
@inam0001 Жыл бұрын
Hey Reza, wanted to suggest a how to video for a simple order app, with multiple parts to add on to a single order (one to many kind of relation). Similar to the "Power Apps working with SharePoint List Relationships" tutorial you gave, but maybe a single list containing those tasks? Essentially trying to move away from Nintex forms with allowed one entry to contain sub-entries of info. for my personal workflow..
@RezaDorrani
@RezaDorrani Жыл бұрын
I make videos when I receive multiple requests on a topic. Every quarter I ask subscribers for topic suggestions on community tab of my channel. Most voted topics get added to my backlog. Make sure to post your idea in the next topic suggestion.
@ASHISHKUMAR-fi2kn
@ASHISHKUMAR-fi2kn 11 ай бұрын
Thanks for the video. I want to upload an excel file in real-time and want to import data from that excel file to our Dataverse. What is the best approach on this case?
@RezaDorrani
@RezaDorrani 11 ай бұрын
This video is related to uploading files to Dataverse file type column. For importing data, look into dataflows.
@arrio
@arrio Жыл бұрын
Hi Reza, great video to explain the multiple files upload. Do you know how to do a Powerapps Download function on the Dataverse file column?
@RezaDorrani
@RezaDorrani Жыл бұрын
The attachments control itself can download the files. Simply click on the name of the file to download the file.
@arrio
@arrio Жыл бұрын
@@RezaDorrani Yes, I know that but I want to have both download and onscreen preview of files on a single list. I have created a gallery for this purpose and thought that I could have icon next to each listed item on the gallery for click and download.
@RezaDorrani
@RezaDorrani Жыл бұрын
@@arrio Im not aware of any other technique for downloading
@NunoNogueira
@NunoNogueira Жыл бұрын
Thanks Reza, but how do you allow the user to click on an attachment icon within a gallery and open it? Like the Launch function in Sharepoint lists.
@RezaDorrani
@RezaDorrani Жыл бұрын
I dont think there is a Launch like feature here. You should have the blob for the attachment and user can click on it to download.
@arrio
@arrio Жыл бұрын
Hi Rezza, the multiple files upload attachment control is outside the form control. Is there a way to put attachment control be within the form? I have try put it within doesn't seem to work.
@RezaDorrani
@RezaDorrani Жыл бұрын
I have not tried within. What’s the issue if its outside?
@dhayanandkalimidi67
@dhayanandkalimidi67 Жыл бұрын
Thanks Reza
@RezaDorrani
@RezaDorrani Жыл бұрын
Most welcome
@shivakumaryadav8997
@shivakumaryadav8997 11 ай бұрын
Simply superb! I am trying to save my attached file to sql server table using Patch function as shown in video. what should be the datatype of my column where i am storing this attached files ? or is there any other way to achieve this.
@RezaDorrani
@RezaDorrani 11 ай бұрын
I do not have a video reference on sql scenario and would have to try it out to provide guidance. I recommend checking or posting your query on the forums at powerusers.microsoft.com/ in case someone has done something similar.
@shivakumaryadav8997
@shivakumaryadav8997 11 ай бұрын
@@RezaDorrani A video on SQL with above scenario will be a great help. I have tried it using a few different approaches but no luck.
@RezaDorrani
@RezaDorrani 11 ай бұрын
@@shivakumaryadav8997 I make videos when I receive multiple requests on a topic. Every quarter I ask subscribers for topic suggestions on community tab of my channel. Most voted idea gets added to my backlog.
@daxteoh27
@daxteoh27 2 ай бұрын
Just wondering what if were to use another form for attachment, will that help to reduce the need of delete screen?
@RezaDorrani
@RezaDorrani 2 ай бұрын
Have not explored that option so not sure.
@Escillo
@Escillo 10 ай бұрын
Hello reza, Thank you for your video, and for download the file from dataverse, what's the solution ? I have a BlobNotFound error when I click on the file in the gallery ?
@RezaDorrani
@RezaDorrani 10 ай бұрын
I do not have a video reference on this scenario and have not tried it out hence not sure. I recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.
@danielchalkley1912
@danielchalkley1912 5 ай бұрын
Thanks Reza. This is a really useful video so thanks for posting it. I have been able to follow up until around 16:50 where you say it's important to change the settings in the Advanced tab. Those settings don't appear on my app though. I've searched and cannot seem to find where those properties are now. If I skip that step, the attachments show in the control perfectly fine, but when I try to download them it says 'Couldn't download - No file'. Do you have any suggestions? Thanks.
@RezaDorrani
@RezaDorrani 5 ай бұрын
Most welcome! 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
@christianharrington8145
@christianharrington8145 Ай бұрын
I got the same issue, did you figure it out by any chance? It seems it's uploading the file on dataverse, I can see it in the table, but when I click on it from the App, it says "File not available on site" So there might be some changes on PowerApps since this video was published. It's bad cause I really need the multiple files upload, and I feel I have 99% of it done.
@christianharrington8145
@christianharrington8145 Ай бұрын
Actually below on the comment we have this from @lemak89, which saved my life: In my case, there are no Name and Value parameters in the Advanced settings, which resulted in a 'no file' error. To solve it you need to go to the App Settings -> Upcoming features -> turn off Power Fx formula bar -> save and reopen an app. Now Name and Value parameters are visible for attachment control. After changing them, we can turn on Power Fx formula bar feature and relaunch an App again.
@2007pradipta
@2007pradipta Ай бұрын
Nice one Reza.. but when we edit and try to delete ( not with different screen) with same Attachment control it always delete the first item in the control
@RezaDorrani
@RezaDorrani Ай бұрын
I have not come experienced this issue and hence not sure what the cause for it could be. I will recommend posting your issue on forums in case someone has experienced something similar powerusers.microsoft.com
@mohamedaffi3816
@mohamedaffi3816 10 ай бұрын
thank you Reza, i create a workflow send me a email with attach file from dataverse table, but i can't open the file , with error message from outlook , impossible to open the file. any idea ? thx a lot
@RezaDorrani
@RezaDorrani 10 ай бұрын
I have not come across this issue and hence not sure what the fix for your issue is. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com
@MrAnonymous3333
@MrAnonymous3333 Жыл бұрын
Hi Reza, Thanks for the video. In my last project I worked with dataverse and encountered few problems and solutions I have couple of doubts 1. After uploading the documents into Dataverse Table using file upload, I cannot preview that file in the backend. To view that file I need to use Power app & download that file Is there any alternative method to view that file in dataverse table itself? 2. File Upload effects on Power Automate flows, especially with trigger conditions with flag set -> I used Dataverse rows modified trigger to run the flow. When I uploaded an empty file (0 Kb) the flow did not fire but when I uploaded a non-empty file the flow is successful. 3. If we use attachment controls and enable attach files in table, user can upload and store multiple files instead of creating lookup and adding many to one relationship. Thanks in advance! Always enjoyed your tutorials
@RezaDorrani
@RezaDorrani Жыл бұрын
1 - No option directly in UI 2 - I have not faced this issue so not sure. 3 - True but video covers File column type.
@MrAnonymous3333
@MrAnonymous3333 Жыл бұрын
@@RezaDorrani Thank U so much Reza
@mardithpascua8112
@mardithpascua8112 Жыл бұрын
Hi Reza, I would like to ask on how can I let end users use my published app with dataverse? My end user tried to access the published app with dataverse table however, they were prompted with "Error when trying to retrieve data from the network".
@RezaDorrani
@RezaDorrani Жыл бұрын
I have not come across this issue. As long as app is shared with them and they have a security role assigned which gives them access to the tables, there should not be a problem. Best to post your issue with screenshots on the forums at powerusers.microsoft.com
@charlesdawnbeltran9603
@charlesdawnbeltran9603 8 күн бұрын
Really helpful video. I have a question regarding patching data to dataverse. When I'm using a browser all the newly patched data automatically appears on my browse gallery however when i'm using an ipad/mobile the patched data do not appear even after clicking a button with refresh table fuction.
@RezaDorrani
@RezaDorrani 8 күн бұрын
Most welcome! I have not experienced the mentioned issue and hence not sure what the cause for it could be. I will recommend posting your issue on forums in case someone has experienced something similar powerusers.microsoft.com
@charlesdawnbeltran9603
@charlesdawnbeltran9603 7 күн бұрын
Really appreciate your response Reza. I'm also checking the possible reason is that I ticked the "Can be taken offline" option on my dataverse tables. Will try to untick this and see how it goes.
@charlesdawnbeltran9603
@charlesdawnbeltran9603 7 күн бұрын
Eventually the data will appear on browse after how few minutes. This is maybe because of the "sync interval" feature of the offline profile.
@amanyiredavid1635
@amanyiredavid1635 Жыл бұрын
Hallo Reza, Thanks for the video, I am interested in the part of PowerApps Patch function to upload attachment to Dataverse file column but am getting this error "Incompatible type. The 'Filename' column in the data source you're updating expects a 'Text' type and you're using a 'Error' type". Please assist and guide me.
@RezaDorrani
@RezaDorrani Жыл бұрын
I have not come across this issue hence not sure what the fix is. You can try replicating steps in the video again or try posting your issue with screenshots on the forums in case someone has done something similar powerusers.microsoft.com
@pranavkahol5925
@pranavkahol5925 Жыл бұрын
Hi Reza I hope you are doing well. I need your guidance on one thing. I have one use case where I have to run a Python Code from Power Apps or Power Automate whenever user clicks the button on Power Apps. Is there any possible way by using which we can make this possible???
@RezaDorrani
@RezaDorrani Жыл бұрын
I have no clue about this one. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.
@marcsigrist4556
@marcsigrist4556 Жыл бұрын
Thanks a lot! Absolutely brilliant! However, it seems that what you explain at 16:46 has completely vanished in a newer Power Apps Portal Studio Version. There is no option to configure the Name=Displayname and Value=Value under advanced settings and I cannot find it anywhere else either. Any ideas? Thanks a lot.
@marcsigrist4556
@marcsigrist4556 Жыл бұрын
I found it myself. It vanishes with the new Experimental Feature "New Power Fx Formula bar". Maybe this should be reported to Microsoft - because the download false without this setting and the setting is not available anymore. For now, I could turn the new Power Fx Formular bar off and now it works. Thank you.
@RezaDorrani
@RezaDorrani Жыл бұрын
Experimental features are risky and hence marked experimental
@mardithpascua8112
@mardithpascua8112 Жыл бұрын
Hi Reza, Thank you for this video. I have a question, I have an app where the VIDEOS will be uploaded in the dataverse and it needs to be sent as an attachment to e-mail via powerapps/power automate. Is there any workaround to surpass the attachment limit since the file will be videos?
@RezaDorrani
@RezaDorrani Жыл бұрын
I am not aware of any workarounds
@mardithpascua8112
@mardithpascua8112 Жыл бұрын
@@RezaDorrani do u recommend to attach vids as attachment to email for send email v2 or smtp?
@RezaDorrani
@RezaDorrani Жыл бұрын
@@mardithpascua8112 I have not tried this scenario so Im not sure what is best option.
@user-ci7dr8om2v
@user-ci7dr8om2v 9 ай бұрын
This really great. But I am trying to figure out how I can upload actual data into the Dataverse database, like the actual row data from an Excel file. Rather than uploading a file as an attachment, I need to populate the database table with data. I have a form to enter in new records individually, but I'd like to have a button that could initiate an Automate Flow that uploads all the column data from an excel file in bulk.
@RezaDorrani
@RezaDorrani 9 ай бұрын
This video is not about that. I have done videos on excel to Dataverse table data. Please check those videos.
@khasimshaik2606
@khasimshaik2606 Жыл бұрын
TQ reza it suits my requirement. Please Do a vedio on download dataverse table data from power aap in excel template format using download function
@RezaDorrani
@RezaDorrani Жыл бұрын
I make videos when I get multiple requests on a topic. Every quarter I ask for topic suggestions on community tab of my channel. Most votes topics get added to backlog.
@khasimshaik2606
@khasimshaik2606 Жыл бұрын
I know Reza You Have so many things to do... See once while you have a time. .. Because why iam asking so many times download a data from dataverse table is common thing for every application But I don't know there is no vedios to download table data in excel template format. (Csv iam getting) because it's takes so much time it takes add a row into excel(action) in power automate. Iam looking so many options but I did nt get any option
@khasimshaik2606
@khasimshaik2606 Жыл бұрын
Share me you have any idea how we send one drive created file to dataverse file coloumn using power automate
@RezaDorrani
@RezaDorrani Жыл бұрын
@@khasimshaik2606 If it is a common ask, many will ask for it and vote for it. I have made videos in past not listening to everyone and no one has watched them. This video is an example of it.
@khasimshaik2606
@khasimshaik2606 Жыл бұрын
@@RezaDorrani sorry reza
@gayatridubey7434
@gayatridubey7434 Жыл бұрын
Thanks for the video. I have a doubt, I am uploading file attachment to Dataverse but I need to show it as a preview on powerapps. How can preview of the file be done if data source is Dataverse?
@RezaDorrani
@RezaDorrani Жыл бұрын
Im not aware of how to show preview for Dataverse file. I will recommend checking on forums in case someone has done something similar powerusers.microsoft.com
@christianharrington8145
@christianharrington8145 Ай бұрын
The PDF viewer (experimental) does that right? If you look at the end of the video, Reza explained to show the preview on the deletion screen, but in my case I added this PDF control to the Detail Screen, and on the Document property I added this: First(attachContract.Attachments).Value where attachContract is the attachment control then the preview works perfectly Is this what you are looking for?
@mohammadmohammadi2681
@mohammadmohammadi2681 Жыл бұрын
Hi Reza, This is insane, I have a question how can we update the same attachment in the edit screen?
@RezaDorrani
@RezaDorrani Жыл бұрын
Attachment control does not support update. User would have to delete and add.
@mohammadmohammadi2681
@mohammadmohammadi2681 Жыл бұрын
@@RezaDorrani it means in the syntax first I need to remove all attachments related to the particular I'D and then add attachment using patch defaults to the same ID
@RezaDorrani
@RezaDorrani Жыл бұрын
@@mohammadmohammadi2681 Yes.
@saeedsafrini7505
@saeedsafrini7505 Жыл бұрын
Hi Reza, was there a recent change where the Value Column type changed to HyperLink? I'm trying to replicate this in my app but I keep getting an error saying that the value column is expecting a Hyperlink. Thanks in advance.
@RezaDorrani
@RezaDorrani Жыл бұрын
I am not aware of any change related to this.
@DamianLemczak
@DamianLemczak Ай бұрын
In my case, there are no Name and Value parameters in the Advanced settings, which resulted in a 'no file' error. To solve it you need to go to the App Settings -> Upcoming features -> turn off Power Fx formula bar -> save and reopen an app. Now Name and Value parameters are visible for attachment control. After changing them, we can turn on Power Fx formula bar feature and relaunch an App again.
@RezaDorrani
@RezaDorrani Ай бұрын
Thanks for sharing
@christianharrington8145
@christianharrington8145 Ай бұрын
You. Just. Saved. My. Life. Bro!! 😀 Man, such details would be impossible to find without this community, thanks so much for sharing!🤩
@RezaDorrani
@RezaDorrani Ай бұрын
@@christianharrington8145 I love when the community helps each other out
@lucy5626
@lucy5626 Ай бұрын
Hello Reza, Thank you very much for your great video. You explain everything in great detail. I have a question: when I upload several files from my desktop it works wonderfully. But when I do this on my phone, the data set is created in Dataverse with the correct name, but the file is missing. Do you have a solution for this? I use these commands: ForAll(attachDateien_2.Attachments;Patch(P7_Dateien;Defaults(P7_Dateien);{ReklamationDateien:frm_Upload2.LastSubmit;Datei:{FileName:ThisRecord.Name;Value:ThisRecord.Value}}));;Navigate(Scr_Reklamationen) Thank you and greetings Uwe
@RezaDorrani
@RezaDorrani Ай бұрын
Most welcome! I have not experienced any issues on mobile with this hence not sure
@lucy5626
@lucy5626 Ай бұрын
@@RezaDorrani Thanks for the quick reply. I've tried it on different cell phones, but only the data records are created and the files are missing. 😞 Maybe others also have this problem and there is a solution. If you think of anything about this, I would be very happy to receive another post from you. Thank you very much and have a nice weekend.
@RezaDorrani
@RezaDorrani Ай бұрын
@@lucy5626 I have not had any issues on mobile with this technique + have no plans for a follow up video on this topic.
@briantheteacher
@briantheteacher Жыл бұрын
Hi Reza, thank you for all of the great content that you create. Quick question, I have a need for an app that displays a list of students where a teacher can click on the student's name and then add a comment/delete a previously posted comment. The admin would have rights to add students to the list of students and everyone could view all of the notes posted on a student. Could you give me some direction on how to create this or is there someone willing to create it? I'm doing this for my school so I'm not going to sell it or make money off of it. Thanks!
@RezaDorrani
@RezaDorrani Жыл бұрын
I have not done any work on such type of an App. I am not aware of anyone who is willing to create Apps (assuming this question was for me). It would be best to post this query on the forums at powerusers.microsoft.com
@briantheteacher
@briantheteacher Жыл бұрын
@@RezaDorrani Thank you for your reply. It's similar to what you did here. kzbin.info/www/bejne/nquvdpiZiNWgfNE on appending comments. The different part I need is to make the "title" a dropdown list that can be edited by the admin so teachers could select the students name and add notes as needed. Does that make better sense?
@RezaDorrani
@RezaDorrani Жыл бұрын
I have done many videos with various scenarios. If you can stitch up logic from those videos and get your scenario working, then great. I cannot understand your exact use case or provide guidance here on chat based on parts of your scenario. It would be best to post your query on the forums.
@briantheteacher
@briantheteacher Жыл бұрын
@@RezaDorrani Thank you for your reply! I think I can use the forum documentation and what you have posted to create the solution I need. Thanks again!
@kotisadhu8410
@kotisadhu8410 Жыл бұрын
Will it be possible to use the Patch function to upload the files to SharePoint?
@RezaDorrani
@RezaDorrani Жыл бұрын
This video is focused on Dataverse. I have done several videos on SharePoint and file uploads. Check for them on my channel.
@vinayaktiwari4383
@vinayaktiwari4383 2 ай бұрын
Instead of Using Data-verse table to store file (obvious reason expensive storage)> I used SharePoint library to store attachment > mapped Display name with File Name with extenstion and Value with Link to Item > But the problem is the attachment control does not Download the file > I am not sure what is syntax error I am doing (I've put workaround; I mapped path with Display name so that Links are clickable) > Also I am working on a logic to Remove attachment on Edit. Great video ! Microsoft have not given any doco related to this ! How do you figure these thing out ?
@RezaDorrani
@RezaDorrani 2 ай бұрын
I have not tried a scenario with SharePoint for file storage and Dataverse for metadata hence not sure about the challenges with it. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.
@vinayaktiwari4383
@vinayaktiwari4383 2 ай бұрын
@@RezaDorrani thanks mate, I was able to do it..for edit form i used combination of gallery with attachment control. Gallery to show library data(filtered with current record id) and attach control to upload more docs. While new form exactly the same that u shown.
@mardithpascua8112
@mardithpascua8112 Жыл бұрын
Hi Reza, can we show files from document library in the attachment via LookUp?
@RezaDorrani
@RezaDorrani Жыл бұрын
This video is with Dataverse not SharePoint. A doc library has 1 file per item. Attachments control does not add any value there. I have done videos on doc lib on my channel
@mardithpascua8112
@mardithpascua8112 Жыл бұрын
@@RezaDorrani Thanks Reza. I am trying to have some sort of Download file capability however, when trying to download PDF file, it only open in new tab
@mardithpascua8112
@mardithpascua8112 Жыл бұрын
@@RezaDorrani I already watched your amaziing Document Libraries video
@RezaDorrani
@RezaDorrani Жыл бұрын
@@mardithpascua8112 Im not sure about that one. I will recommend checking on forums.
@techwithchanchal
@techwithchanchal 27 күн бұрын
Hi Reza, When I tried downloading the document by clicking on it. It says , File was not available onsite. I have seen the same in many other videos but nobody have worked on that.
@RezaDorrani
@RezaDorrani 27 күн бұрын
I have not experienced this issue hence not sure
@josheen
@josheen Ай бұрын
Hi Reza, We are submitting form from Canvas app into Dataverse table with file field into file column. All works well, except when someone tried to upload a .txt file. This is not a blocked file type in our environment. Any ideas why this is happening? The record is submitted but no file present in the table.
@RezaDorrani
@RezaDorrani Ай бұрын
Have not experienced any issues with it so not sure.
@josheen
@josheen Ай бұрын
@@RezaDorrani Thanks. I figured it out anyway. My test txt file was 0KB. Actually putting data in it solved the issue.
@powermykola
@powermykola Жыл бұрын
Hello, have you tried viewing WORD|EXCEL|POWERPOINT files from Dataverse table through the PDF viewer?
@RezaDorrani
@RezaDorrani Жыл бұрын
I have not. PDF Viewer only works with PDF files. I did a video with SharePoint where I used native SharePoint API to transform word/excel/powerpoint files to pdf and show it on viewer. You could do so for Dataverse as well by using APIs that can perform the transformation.
@julien8979
@julien8979 Жыл бұрын
@@RezaDorrani Can you provide official documentation about those API's to be able to preview different file types using dataverse?
@RezaDorrani
@RezaDorrani Жыл бұрын
@@julien8979 I am not aware of any but Im sure there are 3rd party APIs that do convert other doc types to pdf.
@user-vb6fc4ih1l
@user-vb6fc4ih1l 4 ай бұрын
Awesome Solution, however, I cannot map the advanced attachment properties of Name and Value to DisplayName, which I believe is not allowing me to download the file. The Name and Value do not appear in the properties. Can you help with this Thank you
@RezaDorrani
@RezaDorrani 4 ай бұрын
Found somewhere in the comments that this is due to the new PowerFx bar being auto turned on. Once you turn it off in settings it shows the values in Advanced
@user-vb6fc4ih1l
@user-vb6fc4ih1l 4 ай бұрын
Thank you so much for responding, that did it and all works well now. Much Appreciation@@RezaDorrani
@richardclowes6166
@richardclowes6166 3 ай бұрын
@@RezaDorrani I couldn't figure why I couldn't see Name/Value - thank you. Works when the Power FX bar is turned off.
@NoName-cp5kq
@NoName-cp5kq Жыл бұрын
Scenario: Creating a front end in powerapps with an upload/attach option File Upload on Powerapps (excel) Check and validate the file contents (columns have the correct type of data, etc, etc) If its correct pass the file to the database (either SQL, dataverse, or excel even), If not then mention the fields which need to be updated to the user on the end screen and tell them to re-upload after correcting the data. Sir, is it possible? Please help me out, if not suggest me some other ways.
@RezaDorrani
@RezaDorrani Жыл бұрын
I do not have a video reference on this scenario and would have to try it out to provide guidance. I'm not sure about its feasibility. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.
@wildchangjr.8998
@wildchangjr.8998 Жыл бұрын
Question: How were you able to figure out the column names in the DataCardValue attachment table?
@RezaDorrani
@RezaDorrani Жыл бұрын
Based on other videos I did on attachments control. Its in a playlist on my channel:
@wildchangjr.8998
@wildchangjr.8998 Жыл бұрын
@@RezaDorrani Hi Reza. I am having a weird issue with the patch function. Whenever I submit a new record, the file patch function doesn't work. When I try to add the files again in the same record I just created, the patch file function works. Is there a way to fix this bug? Would a Collect function be more reliable?
@wildchangjr.8998
@wildchangjr.8998 Жыл бұрын
@@RezaDorrani Also, I noticed I cannot set the vales for the Name and Value fields in the advanced section of the DataCardValue. Any ideas as to why this is happening?
@RezaDorrani
@RezaDorrani Жыл бұрын
@@wildchangjr.8998 I have not come across both of your issue hence not sure what the reason could be. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com
@hansanacham
@hansanacham 9 ай бұрын
Can I use this method to upload file to a SharePoint list too
@RezaDorrani
@RezaDorrani 9 ай бұрын
The technique shown in video is specific to Dataverse. I have done many videos related to SharePoint list attachments. I would recommend searching for those on my channel.
@aakashgaurav3771
@aakashgaurav3771 6 ай бұрын
At 17:40, on clicking save, file name is changed from "Contract C" to "Contract A" after few milliseconds. Can you please let us know why is it happening. Also its fix. And Thanks Reza!
@RezaDorrani
@RezaDorrani 6 ай бұрын
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
@Arnur3005
@Arnur3005 Жыл бұрын
Hi Reza, Great video! Hope you are doing well, don’t know better PowerApps expert than you, that’s why addressing you my issue, if you can help. I have an app with form that creates a record in SharePoint List. User is creating a record; it goes to another user for approval. Notification to Approver is sent by email, it has a link to specific record. When approver goes through the link, it opens the record, Approver approves, then it must change the status and go to the next approver. Problem 1: Status is not changed when it is approved, if the record is opened by link. but when It's opened from the app, everything works fine. Problem 2: After opening a record from the link, approver then goes to gallery to open another random record, it opens the record which was opened by link, not the one he selected. Again, if users don't use links to open a record, but use the app itself, everything is working fine. Cannot understand why this is happening, please help to resolve this If you need more details, I’ll provide.
@RezaDorrani
@RezaDorrani Жыл бұрын
I will have to look at your App/flow in action to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com
@FarhanKhan-lr4tv
@FarhanKhan-lr4tv 10 ай бұрын
Hi reza, How do we know the file size into powerapp as the same scenario.?
@RezaDorrani
@RezaDorrani 10 ай бұрын
Not sure about that. I had seen someone show an example on forums long back. Check on the forums at powerusers.microsoft.com
@FarhanKhan-lr4tv
@FarhanKhan-lr4tv 10 ай бұрын
@@RezaDorrani thanks 😊
@uzoruchenna4863
@uzoruchenna4863 2 ай бұрын
I have a requirement to upload multiple documents to dataverse for a single record. Its just unfortunate that Dataverse does not allow for multiple documents attachment except we use an extra table
@RezaDorrani
@RezaDorrani 2 ай бұрын
Will need a separate Table
@jray1429
@jray1429 Жыл бұрын
Can this be used in a sql database??
@RezaDorrani
@RezaDorrani Жыл бұрын
Technique shown in video is for Dataverse only. Sql would be different, I do not have a video reference on it.
@vishwachaitanya9221
@vishwachaitanya9221 10 ай бұрын
Hi dorrani, I need your help I have a single entry field like engine type drop-down and engine name input text , date etc are single entry fields , I have multiple entries also . Like reson, category, details etc. I want to save the data into excel , i already uploaded the excel into SharePoint. I want output like this Engtype engno date category details. reso A. 1. 20/2/23. C1. Eng fail r1 A. 1. 20/2/23. C2. Eng repair r3 A. 1. 20/2/23. C3 Startingprb r8 First three fields are single entry remaining multiple entries
@RezaDorrani
@RezaDorrani 10 ай бұрын
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
@ABCD-ABCDEFGH
@ABCD-ABCDEFGH Жыл бұрын
What is the maximum size of file that can be uploaded?
@RezaDorrani
@RezaDorrani Жыл бұрын
I would go more than 50 MB in attachment control as performance would take a hit. File type col max is 10 GB
@busyshah
@busyshah Жыл бұрын
My Bookmarks: Defaults settings for a file uploader in a form control - 5:57
@RezaDorrani
@RezaDorrani Жыл бұрын
👍
@analyticsadda6080
@analyticsadda6080 7 ай бұрын
How to download multiple attachments in one go instead of one by one
@RezaDorrani
@RezaDorrani 7 ай бұрын
I am not aware of a way to do that
@dineshupreti-sv6yd
@dineshupreti-sv6yd 7 ай бұрын
How to download all files in one go instead of one by one.
@RezaDorrani
@RezaDorrani 7 ай бұрын
I do not know how that can be done
@xplorider_18
@xplorider_18 Жыл бұрын
Hello, sir i just started implementing two basic power apps tools using Patch function where it append the data to a excel table which is in share point. Thank You🙌🏻🙌🏻
@RezaDorrani
@RezaDorrani Жыл бұрын
👍
Power Apps Editable Grid using Gallery & Modern Controls (2023)
23:49
How to use PATCH Function in Power Apps | Insert and Update data
29:29
🍕Пиццерия FNAF в реальной жизни #shorts
00:41
2000000❤️⚽️#shorts #thankyou
00:20
あしざるFC
Рет қаралды 16 МЛН
How to add files from Canvas App to Dataverse table
29:06
Last Minute Coders
Рет қаралды 3,9 М.
3 Ways to Attachment Files in Power Apps DataVerse 💥
19:16
Pragmatic Works
Рет қаралды 38 М.
Editable Grid in Power Apps | SharePoint List
42:49
Reza Dorrani
Рет қаралды 349 М.
Microsoft Fabric for Power BI developers - 3.5 HOUR FREE COURSE
3:29:41
Learn Microsoft Fabric with Will
Рет қаралды 18 М.
Microsoft Dataverse Intro in 20 Minutes #Dataverse
19:46
April Dunnam
Рет қаралды 165 М.
Saving Power Apps Data with the Patch Function
17:59
Shane Young
Рет қаралды 48 М.
Power Apps Patch Function with All Dataverse Complex Column Types
19:01
How to: OData filter in Power Automate on Dataverse lookup field
9:01
Alireza Aliabadi
Рет қаралды 3,6 М.
DC Fast 🏃‍♂️ Mobile 📱 Charger
0:42
Tech Official
Рет қаралды 485 М.
Девушка и AirPods Max 😳
0:59
ОТЛИЧНИКИ
Рет қаралды 17 М.
Gizli Apple Watch Özelliği😱
0:14
Safak Novruz
Рет қаралды 2,3 МЛН
Неразрушаемый смартфон
1:00
Status
Рет қаралды 1,2 МЛН
wireless switch without wires part 6
0:49
DailyTech
Рет қаралды 4,7 МЛН
APPLE совершила РЕВОЛЮЦИЮ!
0:39
ÉЖИ АКСЁНОВ
Рет қаралды 1,9 МЛН