Power Apps SharePoint List Attachments | Save Camera Pictures, Pen Input & Images

  Рет қаралды 64,727

Reza Dorrani

Reza Dorrani

Күн бұрын

Пікірлер: 296
@GoWstingray
@GoWstingray 2 жыл бұрын
You've only gone and bloody done it! Great idea Reza! once again you excel yourself! Have you found this method submits the form faster than the normal way of uploading images to sharepoint using Flow? I have a mobile app that users can take pictures and upload, but always felt it takes away user experience, as uploading an image can take up to a minute or even longer. If this is faster as it uses the in built data connector im going to try it, i can use flow to stick the image in a picture library after, especially if its more reliable. Thanks again
@RezaDorrani
@RezaDorrani 2 жыл бұрын
You are absolutely right! This is way faster than the flow method because all of this happens with the SubmitForm query to SharePoint. When sending images or files via flow, Power Apps has to pass the entire payload (of files) to flow and then start adding the files one by one.
@CarlosSolisNow
@CarlosSolisNow 5 ай бұрын
Reza, fantastic work as always. Would love to see one where you show how you created the file preview/download component, if you have not done so already.👏👏👏
@RezaDorrani
@RezaDorrani 5 ай бұрын
Welcome! I must have already shown that in some video.
@oluwatobiyusuf
@oluwatobiyusuf 2 жыл бұрын
Thank you so much for sharing more light on the attachment control. I will definitely play around it
@RezaDorrani
@RezaDorrani 2 жыл бұрын
You are so welcome!
@simonball5602
@simonball5602 Жыл бұрын
You’re the master Reza! Thank you for sharing your knowledge with us!
@RezaDorrani
@RezaDorrani Жыл бұрын
Thanks Simon
@kitabatas
@kitabatas 2 жыл бұрын
You are amazing! I have not thought about this without Power Automate, big wow!
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Great to hear!
@MikeSunTzu
@MikeSunTzu Жыл бұрын
This is a game changer Reza - we love you!
@RezaDorrani
@RezaDorrani Жыл бұрын
Thank You ❤️
@daisyjoieviray328
@daisyjoieviray328 19 күн бұрын
This video helped me in renaming my uploaded files to GUID so thank youuuu. One issue is that removing file is not working. The file stays on the attachment control.
@RezaDorrani
@RezaDorrani 19 күн бұрын
Removing is a different technique. I have done other videos on attachments control thay may help.
@CarlosSolisNow
@CarlosSolisNow 2 жыл бұрын
This just rocks, thanks. This is a great update to your site inspection app.
@RezaDorrani
@RezaDorrani 2 жыл бұрын
👍
@bharathhebbar6784
@bharathhebbar6784 2 жыл бұрын
Very good explanation and demo. You keep making developers life easier by these videos👍👍😀. Reza can you please explain on how did u achieve component pre view of the added images or attachments
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Thanks! Component Preview - kzbin.info/www/bejne/aZWxloCMgb93ftE
@bharathhebbar6784
@bharathhebbar6784 2 жыл бұрын
@@RezaDorrani thanks for quick response 👍
@EpicDreamer_
@EpicDreamer_ 2 жыл бұрын
Phenomenal! Thanks for this! I will practice it and integrate it into my project!
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Fantastic! Thanks for watching.
@gaminikumara381
@gaminikumara381 4 ай бұрын
This is very good video. Thanks Reza
@RezaDorrani
@RezaDorrani 4 ай бұрын
My pleasure
@wHiSk3yyy
@wHiSk3yyy 2 жыл бұрын
Well done, great video and very nice feature! Thank you 😊
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Glad you liked it!
@gyanwengm
@gyanwengm 2 жыл бұрын
Great video! Thank you so very much for the knowledge sharing, Reza! Is there a way we can use Azure Blob storage to store the photos and album instead of SharePoint list? Thanks.
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Possible for sure but I have not done any work with azure blob storage. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.
@AnoopKumar-qx8to
@AnoopKumar-qx8to 2 жыл бұрын
Very Informative content as always.
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Thank You
@derekgray3019
@derekgray3019 Жыл бұрын
Amazing so easy to follow and with using the collection to capture the images and not having to use a Power Automate flow is great. Do you have another video that covers the text input for naming the captured photo, like you show in the video?
@RezaDorrani
@RezaDorrani Жыл бұрын
Happy to hear that! I may have shown the text input part in a different video. I have done 2-3 videos on camera control. You will need to check those.
@derekgray3019
@derekgray3019 Жыл бұрын
@@RezaDorrani Thank you Rezza, I'll have a browse through them all on camera controls. I must have watched 30 plus of your videos and built apps based on them. My current use case is for a Health & Safety incident reporting app for mobile devices and I need the camera control to add to the attachment control, so this video is extremely helpful. 🙂
@derekgray3019
@derekgray3019 Жыл бұрын
I think I may have worked it out. Create a text input control, and in the collection for the camera control OnSelect change the following from DisplayName: GUID() & ".jpg" to DisplayName: Textinput1.text & ".jpg" I'll try that to see if it works.
@sandymcladd6490
@sandymcladd6490 Жыл бұрын
@@derekgray3019 Collect(colAttachments,{DisplayName:DataCardValue4 &".jpg",Id:GUID() &".jpg",Value:Self.Photo});Reset(attachCtrl) worked for me
@calcioscacchi
@calcioscacchi 10 ай бұрын
Hi Reza, thanks for your beautiful work here. What if I want to use the camera control in another page? I cant use it in the same form so the Reset(AttachCtrl) doesn't work.
@RezaDorrani
@RezaDorrani 10 ай бұрын
You cannot reset controls in another page. Not sure why you would want to do that. You can always reset on screen visible or hidden
@calcioscacchi
@calcioscacchi 10 ай бұрын
@@RezaDorrani The reason is that this app is builted with only one form in a hidden view, and the form is compiled with variables declared in other views. I suppose that I can solve this putting a form in each page.
@sksachingupta1
@sksachingupta1 2 жыл бұрын
Thank you so much Reza for this usecase.
@RezaDorrani
@RezaDorrani 2 жыл бұрын
You are so welcome
@taariqtoffar6124
@taariqtoffar6124 2 жыл бұрын
Thanks Reza great tutorial, having a issue when selecting edit on detail screen its not resetting and bringing in the data card value but showing the previous selections value, if I click the X on edit screen to go back to detail then click on edit again it brings in the correct value.
@RezaDorrani
@RezaDorrani 2 жыл бұрын
I would say try writing the same formulas as when user clicks the item in gallery since that is working. 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
@anajayaro5722
@anajayaro5722 2 жыл бұрын
Everything work except my OnSelect for the camera, it isn't storing any data on the colAttachments collection. When I click on it, nothing saves. I've gone over this a few times to ensure correct steps being taken. Just wondering if you know what might be happening? Again Reza, thanks so much for all the tutorials. Super appreciated.
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Check link in video description to download and setup sample App.
@CloudhoundCoUk
@CloudhoundCoUk 2 жыл бұрын
Deeply impressive. Thank you.
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Most welcome
@YandeSuarjaya2501
@YandeSuarjaya2501 2 жыл бұрын
Hi Reza, Thank You for your Video, this help me so much. Reza, I would like to ask you about this Technique in detail. At this time I'm making a Inspection Form by Power Apps like your video. But I got stuck in camera attachments, I hope you could give me some advices to fix my problems. I'd like to ask you about: 1. I followed your technique to setup the camera attachments, but when I downloaded the file (jpg) the result is "failed - No File", do you know what the problem is? 2. All Attachments that I captured in Item A, when in View Mode in Other Item (for example Item B), that all attachment in Item A show up in Item B, do you know what the function that I need to setup? 3. Last Question is, How can I hide the Camera in view mode? I hope you could give me some advices to fix my problems. Thank you Reza.
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Best advice I can give is to download the App from link given in video description and check the code base. I have not run into any of the issues mentioned. If your issue still persists after downloading the sample App, I would recommend posting your issue with screenshots on the forums powerusers.microsoft.com
@MohammadAli-ts2ev
@MohammadAli-ts2ev 2 жыл бұрын
Wonderful! Hey Raza, do we have any control to capture the screenshot of the computer so that I can randomly capture the screenshot of anyone of my team who is working on hourly basis for the client and show the client that the team is working like the freelancing website does for their clients when they hire any freelancer on hourly basis?
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Im not sure about that. Someone else also asked for this but I do not have a solution. I will recommend checking on forums at powerusers.microsoft.com
@girlontheswing3942
@girlontheswing3942 8 ай бұрын
Just Brilliant.
@seynabouba779
@seynabouba779 2 жыл бұрын
Fantastic ! Thank you !
@RezaDorrani
@RezaDorrani 2 жыл бұрын
You’re most welcome
@thiagogtasa
@thiagogtasa 2 жыл бұрын
Amazing! thanks a lot for this!
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Glad you liked it!
@Armand-yn2fc
@Armand-yn2fc Жыл бұрын
As always you just save my ass again! Thanks!
@RezaDorrani
@RezaDorrani Жыл бұрын
Welcome
@kingsleyudeagha
@kingsleyudeagha 2 жыл бұрын
Thank you for this Reza. It cemented some concepts I have been juggling with. Are there any negative effects of storing base64 data on sharepoint list rather than saving the binary data in sharepoint document library.
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Basically, its list item attachments vs document library files. Doc library files offer a lot more flexibility (versioning, file sizes, metadata etc.)
@kingsleyudeagha
@kingsleyudeagha 2 жыл бұрын
@@RezaDorrani Okay that makes sense. Thank you.
@lks5343
@lks5343 2 жыл бұрын
Sir , is there any way to approve/reject an approval request from buttons in powerapps without going into 'Approval' section of power automate.
@RezaDorrani
@RezaDorrani 2 жыл бұрын
You would need to directly update the Approval Tables in dataverse to do that (Not recommended).
@lks5343
@lks5343 2 жыл бұрын
@@RezaDorrani Ok , Thankyou Sir
@thaboketime5315
@thaboketime5315 2 жыл бұрын
Fantastic work, can an image be printed with time stamp on submit of the button?
@RezaDorrani
@RezaDorrani 2 жыл бұрын
There is a print function in power apps. It can print anything displayed on screen. Not sure about time-stamping.
@riccardoadelini7984
@riccardoadelini7984 2 жыл бұрын
THANKS A LOT MAN!! but, how to create the panel you show at the begin of the video? It's realy interesting
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Im assuming you mean the gallery? Video description has link to download sample App. Gallery design video - kzbin.info/www/bejne/mJ-maahpnMmKqdU
@riccardoadelini7984
@riccardoadelini7984 2 жыл бұрын
@@RezaDorrani find it, thanks!!! is it possible to set the app to select one of the two cameras of the device? i try on two different tablet and on one of them starts front camera and on the other starts the back one
@RezaDorrani
@RezaDorrani 2 жыл бұрын
@@riccardoadelini7984 Camera switch is possible. Check kzbin.info/www/bejne/n4iclaN6o9l-qLs
@riccardoadelini7984
@riccardoadelini7984 2 жыл бұрын
@@RezaDorrani thank you very much, you are my superhero of the day !! I entered the drop-down list and set the item property correctly but when I select the camera from the drop-down list, nothing happens in the camera object, it remains the camera that is activated when the app is opened
@RezaDorrani
@RezaDorrani 2 жыл бұрын
@@riccardoadelini7984 I would have to look at your App in action to know the exact cause of your issue. I would recommend posting your issue with screenshots on the forums at powerusers.microsoft.com
@projectomek5695
@projectomek5695 2 жыл бұрын
i totally love how you make it, but I was wondering how you change the name of the picture you take it ??
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Video description has link to download same App. The logic for name is in it. There is a textbox where user can define the name. I have done other attachment videos as well where I have done name updates.
@projectomek5695
@projectomek5695 2 жыл бұрын
@@RezaDorrani im searching it master, im very thankfull for your tutorials. Excuse my enlgish !!
@martinobrien7008
@martinobrien7008 2 жыл бұрын
Hi Raza if using the app via mobile, how would you toggle the camera to shoot from the back of the mobile not forward facing
@RezaDorrani
@RezaDorrani 2 жыл бұрын
kzbin.info/www/bejne/n4iclaN6o9l-qLs
@IndiaZindabadh
@IndiaZindabadh Жыл бұрын
Hi Reza, do u have any vdo related to checking duplicates in attachments, if yes pls share a link, or any support.
@RezaDorrani
@RezaDorrani Жыл бұрын
I do not. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.
@cmlibin
@cmlibin Жыл бұрын
You are a hero
@RezaDorrani
@RezaDorrani Жыл бұрын
Thank You 🙂
@cmlibin
@cmlibin Жыл бұрын
@@RezaDorrani is there anyway to improve the picture quality in power app. My app is using primary camera(phone has 4 cameras) only which is of low quality
@RezaDorrani
@RezaDorrani Жыл бұрын
@@cmlibin I believe it has something to do with the mobile app settings. Not much can be done as far as I know.
@cmlibin
@cmlibin Жыл бұрын
@@RezaDorrani is there anyway to improve the Camera pixel quality. Photo was taken using Iphone but still bit vague.
@RezaDorrani
@RezaDorrani Жыл бұрын
@@cmlibin learn.microsoft.com/en-us/power-apps/maker/canvas-apps/controls/control-camera#description
@krishnagupta81
@krishnagupta81 Жыл бұрын
Hi the component is very good . But at may end it is not getting configured 100 % . When I publish the application it shows the carousel button when we have more than 1 image , but later on these buttons disappear . Reza if you can put some light .
@RezaDorrani
@RezaDorrani Жыл бұрын
I have not come across this issue & hence not sure what the resolution is. I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com
@FunkEnthusiast
@FunkEnthusiast 2 жыл бұрын
Is it possible to do this same process but capture video instead of or in addition to still images?
@RezaDorrani
@RezaDorrani 2 жыл бұрын
I don’t think Power Apps has any capture video feature.
@glennbullion9069
@glennbullion9069 2 жыл бұрын
Another quick question. :) Any way to get images to show up in the Attachment viewer as portrait? Right now, showing up as landscape, and we take all our pictures from a phone in portrait mode.
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Not sure about that. I dont think its an option. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.
@salvadorjassoc9816
@salvadorjassoc9816 Жыл бұрын
Thanks for this procedure, is it possible to share us how to create the media Type list of values menu, in order to select the one you need, thanks.
@RezaDorrani
@RezaDorrani Жыл бұрын
At what time in video was that shown?
@salvadorjassoc9816
@salvadorjassoc9816 Жыл бұрын
@@RezaDorrani 4.38
@salvadorjassoc9816
@salvadorjassoc9816 Жыл бұрын
it is regarding the droap down to select media source (camera, pen input or load file)
@RezaDorrani
@RezaDorrani Жыл бұрын
@@salvadorjassoc9816 Its a hardcoded dropdown with values. Based on selection, I show the respective control.
@lasherza
@lasherza 2 жыл бұрын
Hi Reza - On desktop this works brilliantly but i have published the solution to MS Teams and run from there on a mobile device. The camera control gives an error that " Your Camera isnt set up properly, is currently is use, or is improperly configured by the app maker" ... Im not sure if it worked before .. Any help...?
@RezaDorrani
@RezaDorrani 2 жыл бұрын
I have not tried deploying an app from power apps to teams. Typically, I use DataVerse for Teams. My guess is something to do with how the camera control renders in Teams context. Might even be a bug. Check on forums at powerusers.microsoft.com/ in case others have run into a similar issue.
@dhavalbendale5509
@dhavalbendale5509 Жыл бұрын
Same image click option can be given in mobile app as well right?
@RezaDorrani
@RezaDorrani Жыл бұрын
Should work
@felipemarquiori4936
@felipemarquiori4936 2 жыл бұрын
I need to do something similar, but my app works in offline mode, do you have any tips?
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Offline mode, you will need to look inot savedata and loaddata functions but there is limited capacity there. Not a good solution for storing files locally. The canvas app offline story is poor.
@JC-vh8kk
@JC-vh8kk 7 ай бұрын
Hello! How can I change the name of the pictures i inserted or made with the camera modul? :)
@RezaDorrani
@RezaDorrani 7 ай бұрын
I have a playlist on list attachments. I think I may have shown it in one of the videos.
@g8dl1ke
@g8dl1ke Жыл бұрын
Hello Reza! I have one question regarding the Remove File. When i remove a File from the Attachment Control which is already in the SharePoint List Item, and i click on Submit Form. It does not delete the File from the Sharepoint List Item. It comes back when i reset the Form. The "Update" property of the card is my collection, which does not include the deleted file.
@RezaDorrani
@RezaDorrani Жыл бұрын
That is a limitation with this approach. It does not delete the attachments when form is in edit mode.
@g8dl1ke
@g8dl1ke Жыл бұрын
@@RezaDorrani thank you for your reply! How can i achieve this?
@RezaDorrani
@RezaDorrani Жыл бұрын
@@g8dl1ke I dont know if its possible in power app.
@sundrapillay6668
@sundrapillay6668 2 жыл бұрын
Thanks Reza
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Your most welcome
@tonykuiper9127
@tonykuiper9127 2 жыл бұрын
An odd thing... When I start the app on android device the camera control works perfectly. However if I navigate away from that screen, like after a submit, then go to the edit form, the camera does not work and it says it's in use or not configured properly. Do you know what that may relate to?
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Not sure about that. Might be a bug. Check on forums in case someone else has faced a similar issue powerusers.microsoft.com
@tonykuiper9127
@tonykuiper9127 2 жыл бұрын
@@RezaDorrani it doesn't glitch on the pc. Permission is set ok on phone. I'll check the forums. Dataverse works too just nicely.
@johnmizell4683
@johnmizell4683 Жыл бұрын
HI Reza, uploading an attachment this way only seems to work when editing the PowerApp. When I publish the app it does not work. Do you know what could cause this?
@RezaDorrani
@RezaDorrani Жыл бұрын
It works fine when editing or running the App. I will have to look at your App in action to know the reason for your issues. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com
@johnmizell4683
@johnmizell4683 Жыл бұрын
@@RezaDorrani will do! Thank you!
@johnmizell4683
@johnmizell4683 Жыл бұрын
@@RezaDorrani Reza, I figured it out! The issue was my code! Thanks again for everything you do for the community. You have helped me develop my skills!
@toanuk
@toanuk 2 жыл бұрын
Hi I work it out Attachments_DataCard2 Default = ColAttachments and I did the same for OnAddFile, OnRemoveFile for DataCardValue6 But It show it App. attachment Photos and Attachment File Test But I checked Sharepoint List only Attached photo Image NOT Attached file called Test. Please Explain Why? look forward to your advise, thanks Toan
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Video description has link to download sample App. As for your issue, I will recommend posting your issue with screenshots on the forums at powerusers.microsoft.com
@gc06
@gc06 Жыл бұрын
Hello Reza, Thanks for your video. My camera works well. The only problem I have, is that I cant remove/delete the pictures from the Sharepointlist. When I remove/delete the pictures of the attachment control it removes the pictures only from the collection. But I want to remove them also automatically from my Sharepointlist. How can I do that? Thanks
@RezaDorrani
@RezaDorrani Жыл бұрын
I believe that is a limitation with this approach. It cannot delete attachments when form is in edit mode.
@gc06
@gc06 Жыл бұрын
@@RezaDorrani My form is in edit mode, but I doesnt delete the pictures from my list. Can I use a Remove() oder something like that?
@RezaDorrani
@RezaDorrani Жыл бұрын
@@gc06 As I said, it does not delete in edit form mode. Not sure if there is another option.
@gc06
@gc06 Жыл бұрын
​@@RezaDorrani​Oh yes. Its my fault, I dont read it correctly. Thanks
@RezaDorrani
@RezaDorrani Жыл бұрын
@@gc06 No worries
@sitaramthanneeru5491
@sitaramthanneeru5491 Жыл бұрын
Hi sir , can we use onselect like functionality on attachments without using gallery?
@RezaDorrani
@RezaDorrani Жыл бұрын
Not sure about it. I recommend checking on forums in case someone has done something similar powerusers.microsoft.com
@sitaramthanneeru5491
@sitaramthanneeru5491 Жыл бұрын
Ok sir , thank you for your quick response and suggestion
@naveensstudio7427
@naveensstudio7427 8 ай бұрын
Can we enable flash on the camera? any commands to enable?
@RezaDorrani
@RezaDorrani 8 ай бұрын
There are no commands for that
@nicaortiz
@nicaortiz 2 жыл бұрын
Hello, when do you think it can be saved in the SharePoint image column directly from PowerApps?
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Currently Image column is read only
@tonykuiper9127
@tonykuiper9127 Жыл бұрын
I have built and rebuilt an app, however the camera control will not fire the collect function. I have reviewed the syntax but cannot find an error. I have replaced the camera control and the attachments card a couple of times. Any idea why it wont work? It does work in another app using the same datasource and customised functions, but this current app just wont fire the collect function.
@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
@tonykuiper9127
@tonykuiper9127 Жыл бұрын
@@RezaDorrani I could not debug the issue so built the app again from scratch and it works properly. The original app had some screens which were calculating geo location boundaries and embedding a map in the app, so perhaps somewhere in there it broke the collect function. It shouldn't have but thats the difference between the working and non working one.
@RezaDorrani
@RezaDorrani Жыл бұрын
@@tonykuiper9127 As long as it works :) Sometimes its better to rebuild.
@tonykuiper9127
@tonykuiper9127 Жыл бұрын
@@RezaDorrani hahaha yeah I agree. And it goes quicker the more you rebuild.
@ongnguyenaophuong2267
@ongnguyenaophuong2267 Жыл бұрын
Hey Reza, I look to make a report with multiple photos, but I can only retrieve one photo ID from my powerapp app into my flow per run, what that means is if I have 3 photos then my flow will generate 3 separate reports and each report just contains 1 photo. How did you manage to get 3 photos in one flow to generate your report in the last scenario in your video above?
@RezaDorrani
@RezaDorrani Жыл бұрын
As far as I can remember, this video shows a technique which does not use any flows. Can you point to a time in video where I show flow?
@ongnguyenaophuong2267
@ongnguyenaophuong2267 Жыл бұрын
@@RezaDorrani oh I didn't realize that I commented on the wrong video, it should be the "Power Apps Export to PDF" video (kzbin.info/www/bejne/epKXlaJoed2ggKc).
@RezaDorrani
@RezaDorrani Жыл бұрын
Please check description of videos. It has link to download the flow.
@ongnguyenaophuong2267
@ongnguyenaophuong2267 Жыл бұрын
@@RezaDorrani I did download and tried to interpret your flow but it didn't seem to answer my initial question about how to retrieve more than one photo ID per flow running.
@RezaDorrani
@RezaDorrani Жыл бұрын
@@ongnguyenaophuong2267 Flow includes the same logic showed in video. If it is not working for you, then I will recommend posting your issue with screenshots on the forums at powerusers.microsoft.com/
@reginaakomeah2373
@reginaakomeah2373 22 күн бұрын
I get an error when using the AddPicture control and not the camera control. Can you please help ?
@RezaDorrani
@RezaDorrani 22 күн бұрын
I have not experienced any issues and hence not sure what the cause for your issue. I will recommend posting your issue on forums in case someone has experienced something similar powerusers.microsoft.com
@glennbullion9069
@glennbullion9069 2 жыл бұрын
Hey Reza, quick question. Used your app to build my own, for taking pictures of products shipping out our door (to prove we crated then correctly). Everything is going well, but I didn’t read the fine print before starting. :) I didn’t know the camera control has a max resolution of 640x480. We “may” be able to live with this, but can the app work the same way using the “Add Picture” control as well? Or are the controls too different?
@RezaDorrani
@RezaDorrani 2 жыл бұрын
I believe that is a current limitation of the camera control.
@glennbullion9069
@glennbullion9069 2 жыл бұрын
Oh yeah, got that part. But was wondering if we could swap the camera control for the Add Picture control, and would the app work the same way? (As in adding to a collection, without Flow, etc).
@RezaDorrani
@RezaDorrani 2 жыл бұрын
@@glennbullion9069 Should work
@glennbullion9069
@glennbullion9069 2 жыл бұрын
@@RezaDorrani I'll play with it and write back. One quick bit of testing is that after taking a photo, Take Picture becomes Change Picture. Seeing if i can take multiples.
@RezaDorrani
@RezaDorrani 2 жыл бұрын
@@glennbullion9069 I believe it only accepts single
@trinhthanhnhan2439
@trinhthanhnhan2439 Жыл бұрын
when i take by phone to submit to sharepoint LISt then *.jpeg., But take by camera on PC then is *.png
@RezaDorrani
@RezaDorrani Жыл бұрын
I believe thats the default setting. Not sure if that can be changed.
@toanuk
@toanuk 2 жыл бұрын
It is a good solution for attachment process. But there is a problem as I followed you to created the same App. Explain. 1. Create New and Attach Photos image and one Attachment file called "Test" from your computer folder 2.Submit Item, OK 3. Check my Sharepoint List. NO Attachment File called "Test". Explain View Item details(>), in DetailForm1, DataCardValue6 Only Photos image attached , But there is NO Attachment File called "Test". Please explain to me Why? thanks. Toan
@RezaDorrani
@RezaDorrani 2 жыл бұрын
To explain why, I would have to look at your app in action. I would have to see your setup and the app code. Video description has link to download sample app. You can give that a try. As for your issue, I will recommend posting your issue with screenshots on the forums at powerusers.microsoft.com
@paulinenobial3451
@paulinenobial3451 2 жыл бұрын
Hello! I contact you because I have been blocked for more than two weeks. I created a list with different content types on sharepoint. And in power apps, I would like to make visible on my gallery just few items (depends on the types to which they are attached). Do you think you can help me ?
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Where did you contact me? I do not have a video for your scenario. Did you try posting your issue or scenario on forums? powerusers.microsoft.com/
@renatobazan7328
@renatobazan7328 Жыл бұрын
como puedo ponerle Nombre a las imagenes como hiciste en la primera parte
@RezaDorrani
@RezaDorrani Жыл бұрын
Steps should be in video + Video description has link to download sample app. You can check the code in it.
@track8412
@track8412 Жыл бұрын
아니 코드를 보여줘야지 이사람아
@RezaDorrani
@RezaDorrani Жыл бұрын
Video shows all the logic and code
@toanuk
@toanuk 2 жыл бұрын
Hi Reza. I would like you for help. I want to add two controls, PenInput and Camera(Photo and Signature) to Power App as it is the same process. And Attach It to sharepoint List.(Attachments) 1. I add controls Penput1 and Camera1 to Power Apps 2. Add a Button1 *********************************** Button1-> OnSelect: Clear(colAttachments); //Signature Set(Count,Count+1); Set(SignFileName, txtTitle.Text & "-Sign:" & Text(Now(),"[$-en-US]dd-mm-yy, hh:mm:ss") &".jpg"); Collect(colAttachments,{DisplayName:SignFileName,Id:Text(Count),Value:Text(PenInput1.Image)}); // Photo Set(Count,Count+1); Set(PhotoFileName, txtTitle.Text & "-Photo:" & Text(Now(),"[$-en-US]dd-mm-yy, hh:mm:ss") &".jpg"); //Collect(colAttachments,{DisplayName:PhotoFileName,Id:Text(Count),Value:Camera1.Stream}); Collect(colAttachments,{DisplayName:PhotoFileName,Id:Text(Count),Value:Camera1.Photo}); Reset(attachCrlt); *************************************** it add to attach Select-> (tick) to save it to attachments A problem is Only Save Signature(sign) in Attachments in Sharepoint List NOT Photos. I would like to know Why? Please Try it then You know a problem?? thanks regards Toan
@RezaDorrani
@RezaDorrani 2 жыл бұрын
I would have to try your scenario out to provide help. I am currently working on other video ideas. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com
@두둥-h7h
@두둥-h7h 11 ай бұрын
Hi, Reza. Thank you for your help! It is awesome. However, I faced the problem. I followed your code, so, When I revised the attachments, It was working in powerapps. But in my sharepoint list, the changes were not applied. The attachments are accumulated.... Please help me!
@RezaDorrani
@RezaDorrani 11 ай бұрын
I have not come across the mentioned issue and hence not sure what the reason for your issue is. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com
@visalpucca5760
@visalpucca5760 6 ай бұрын
It’s excellent video. However, could you please explain How to reduce the size of picture when upload to attachment?
@RezaDorrani
@RezaDorrani 6 ай бұрын
Thanks! Im not aware of how to reduce size of picture.
@manishh7323
@manishh7323 2 жыл бұрын
For once in my life , I was way ahead of Reza (video that is). I have that working in my expense claim app, which has camera control to list thing and inapp viewer for image and PDF formats. My app running for about 18 months now. It was my first power app app it was when I was first introduced to him via YT. His other videos had helped me solve problems. I remember thanking him on Twitter at the time. My expense claim app has so far processed 9M worth of expenses in the local org. Woohoo. Anyway, just another shoutout that Reza will always be my powerplatform Hero!
@RezaDorrani
@RezaDorrani 2 жыл бұрын
This comment has got a smile on my face. Makes me so happy to hear that you have implemented something like this. Thank You so much for watching and liking the videos on my channel.
@tylerkolota
@tylerkolota 2 жыл бұрын
Yes! I had to do this a while back to fix a colleague’s app that was malfunctioning because it sent all the signature & file uploads via email & then pulled from the email to SP. But I had to find this solution in some obscure forum posts. It’s so nice to have a clean tutorial to explain everything now.
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Glad to hear this video tutorial is useful.
@rasheedaqeel
@rasheedaqeel 7 ай бұрын
I just wanted to express my gratitude for your assistance. I have to give you a 5-star rating in all categories. Despite usually having trouble following instructional videos, I was able to successfully use your approach to save attachments within my app. Thank you once again for your help. I'm wondering if there's a way for me to edit the file name? It seems like it might be possible, but I'm not entirely sure."I usually have problems following videos but I was able to get my app to save attachments using your approach. Thank you again. Is there a way I can edit the file name? It seem like it but I'm not sure.
@RezaDorrani
@RezaDorrani 7 ай бұрын
You are most welcome and thanks so much for the compliments. I did this video a long while ago so do not remember the specifics. If flow is used, you can try editing file name with expressions.
@rasheedaqeel
@rasheedaqeel 7 ай бұрын
Do you offer a service where I can pay to have you help me with an app I am starting for work?
@RezaDorrani
@RezaDorrani 7 ай бұрын
@@rasheedaqeel I do not offer 1:1 consulting service. My business email is in About tab of my channel.
@redexample
@redexample 2 жыл бұрын
Hello Reza, Again wonderful content. Thank you very much for that. a question. When i write reset function you mentioned @15:10, it says you may use this only for galleries. what could be the problem?
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Not sure about the problem. Try downloading the sample app. Link is in video description.
@redexample
@redexample 2 жыл бұрын
@@RezaDorrani in your video you include camera control in attachment datacard. in my case my camera control placed in different screen. would that be reason?
@RezaDorrani
@RezaDorrani 2 жыл бұрын
@@redexample Might be. I will have to look at your App in action to provide guidance. I will recommend posting your issue with screenshots on the forums at powerusers.microsoft.com
@daisyjoieviray328
@daisyjoieviray328 3 күн бұрын
Renaming attachments before submitting is already working. But what if my attachment field is on Screen 2, how can I patch it?
@RezaDorrani
@RezaDorrani 3 күн бұрын
Why would you want it on a different screen? Even if it is, you can point to controls in a different screen
@lovableameer
@lovableameer 4 ай бұрын
Best one bro
@RezaDorrani
@RezaDorrani 4 ай бұрын
Thanks
@ImGumby49
@ImGumby49 Жыл бұрын
Thanks for the detailed information...very well communicated! I am having one issue however, based on some of your previous instruction, I am using the edit icon in the gallery to move to a record (already entered). I currently have ClearCollect(colAttachments,attachCtrl.Attachments);EditForm(frmVehInfoEntry);Navigate(Screen3,ScreenTransition.UnCover) in the OnSelect, but attachments do not populate in Power Apps when I review on my desktop. The attachments are present in SharePoint and on the iPad. Any suggestions? Well, I closed and reopened on the iPad and attachments were gone. Still in SharePoint though.
@RezaDorrani
@RezaDorrani Жыл бұрын
Hi Randy, its been a while since I did this video. I have not come across this issue hence not sure what the reason for it could be. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com
@ImGumby49
@ImGumby49 Жыл бұрын
@@RezaDorrani Thanks for the quick response. I went through your instructions again and all seems fine now. Is there a way to add a gallery to display the attachment contents? Again, I very much appreciate your KZbin instructions. They are excellent!
@RezaDorrani
@RezaDorrani Жыл бұрын
@@ImGumby49 I think so. I remember showing that in one of my videos.
@Cubancigar
@Cubancigar 2 жыл бұрын
This method worked alot better for me. One thing you did not go over. How do you add the filed where I can name a photo im taking with the camera. I would also be interested in using a dropdown to name a photo. Thanks for the help.
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Video description has link to download sample app. The logic is in that to name from text box. You can change that based on your requirements.
@Peacefully_Meditation
@Peacefully_Meditation 8 ай бұрын
Hi reza I was trying this app of yours on my side. However while importing i am getting below error. Please let me know how to resolve The solution file is invalid. The compressed file must contain the following files at its root: solution.xml, customizations.xml, and [Content_Types].xml. Customization files exported from previous versions of Microsoft Dynamics 365 are not supported.
@RezaDorrani
@RezaDorrani 8 ай бұрын
App shared is probably not a solution file. You need to simply import it as an app.
@Brothercole1994
@Brothercole1994 2 жыл бұрын
You are a life saver, Rezza. Thank you for this!
@RezaDorrani
@RezaDorrani 2 жыл бұрын
👍
@pallavis3675
@pallavis3675 11 ай бұрын
Hi Reza, Thank you for this wonderful tutorial. I noticed one issue while working with attachments. Sometimes attachments are not saving in SharePoint list on Submit form . All the fields are saving except attachments. Have you come across such scenario ?
@RezaDorrani
@RezaDorrani 11 ай бұрын
I have not come across this scenario.
@subratalahiri1881
@subratalahiri1881 Жыл бұрын
Hello Reza, thank you for your tutorial. I have learned so much about PowerApps from you. I have a quick question on the sharepoint list attachment. I have a power automate flow which runs when an item got created or updated in sharepoint, where I have email list. Now I would like to attach sharepoint list attachments to the emails what are being sent out from the list. Any suggestions would be greatly appreciated.
@RezaDorrani
@RezaDorrani Жыл бұрын
Thanks so much. I dont think I have a video on that scenario. Idea would be loop through all attachments, load them in an array and then send it as email attachments. I would recommend checking or posting your query on forums in case someone has done something similar powerusers.microsoft.com
@lakshmidevi5146
@lakshmidevi5146 Жыл бұрын
hi Reza and all, thank you for this wonderful tutorial. Is there a way to add date and time of image captured as a caption for the image?
@RezaDorrani
@RezaDorrani Жыл бұрын
Most welcome! I am not aware of any option to do that.
@ssalkan
@ssalkan 2 жыл бұрын
Hi Reza thanks for this. But i have a problem. While using camera control, I can rotate the photo in the application, especially in the photos I take on mobile phone, but I cannot save it in the orientation I want. Whatever I do, it records in the first orientation I take.
@RezaDorrani
@RezaDorrani 2 жыл бұрын
I did notice that too. There must be a way but I have not looked into it much. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.
@julianatabosa2399
@julianatabosa2399 4 ай бұрын
Hi Reza, Thank you so much for the video, very insightful. However, I'm having some difficulties... I want o connect my online SP list to PBI, and display my pictures in a table... since the pictures are saved as attachments but not in a column in the List, PBI is not reading the data. Do you know what I could do to fix this?
@RezaDorrani
@RezaDorrani 4 ай бұрын
I am not aware of how that works in PBI. I will recommend checking or posting your query on forums in case someone has done something similar powerusers.microsoft.com
@daisyjoieviray328
@daisyjoieviray328 2 ай бұрын
Hi! When you select a dropdown option (Type) other than the camera, does your camera light in laptop turn off? How can I turn it off when not in use or not visible?
@RezaDorrani
@RezaDorrani 2 ай бұрын
Im not sure I understand the question and don’t remember experiencing light changes. I will recommend posting your query on forums in case someone has experienced something similar powerusers.microsoft.com
@greatkingrat
@greatkingrat Жыл бұрын
This is brilliant, thank you for this. I used this to save photos to a collection, then save the collection to offline mode (SaveData). This allowed me to save the photos as attachments at a later stage to a report that had not yet been created. Once again, thank you Reza for a very helpful professional video.
@RezaDorrani
@RezaDorrani Жыл бұрын
Glad it helped!
@carolbailey2789
@carolbailey2789 2 жыл бұрын
Loved the video, a question - where do I find the coding used to add the PenInput to the attachments? I have the photos working, just not the PenInput
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Video description has link to download the app demonstrated.
@gregoirepesenti
@gregoirepesenti 2 ай бұрын
how do you display in real time attachment in the pdf viewer I guess, that you just attach, not yet submit, on the right side ? did you cover that in another video ? thanks
@RezaDorrani
@RezaDorrani 2 ай бұрын
I have not covered that in any video and not sure if that’s an option.
@sleepy_zzz26
@sleepy_zzz26 Жыл бұрын
Hello, the attachments doesn't seem to show up whenever I try to patch ex. Patch(..., Defaults(...), Form1.Updates, Form2.Updates)
@RezaDorrani
@RezaDorrani Жыл бұрын
Video description has link to download sample app. Give that a try.
@beedaa23
@beedaa23 9 ай бұрын
Hi Reza, I have created a form in Power Apps which is connected to a SharePoint List. The purpose of the form is to just capture the initial information, similar to how MS FORMS does, however I wanted to add a pen signature. I was watching this video but it is so confusing as it doesn't show specific instructions for Pen Signature. I was expecting some guides from the moment you add the pen input to setting it up the button that says "Capture". Are you able to help me or show us how you do it?
@RezaDorrani
@RezaDorrani 9 ай бұрын
kzbin.info/www/bejne/e3KmnGigobaSoLcsi=baEdTL8BjHW04KlI and the current video are the best references I have.
@lasherza
@lasherza 2 жыл бұрын
hi Reza- im having an issue with this .. All my records are showing the SAME attachments. When i add/remove etc..they reflect the same.. PLZZZ help
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Video description has link to download sample App. Give that a try.
@evanmcadams4581
@evanmcadams4581 Жыл бұрын
I was able to do all this with the camera input. what about adding the Pen input? Is it the same process or what do I need to do for that? I've watched many of your videos on pen input but I'm trying to avoid the Power Automate and JSON crazy code to get it attached.
@RezaDorrani
@RezaDorrani Жыл бұрын
Same process should work. Its been a while since Ive done these so dont remember much.
@petereriksson6859
@petereriksson6859 Жыл бұрын
Hello Mr Dorrani , when i follow this walkthru all is working but only when i click in the attch file. i can see my photos from the webcam when i click on the picture , its inside the control looks like a file , but there is no file uploading , adding file manual viola its there . What is my missing part here , any idea ? .
@RezaDorrani
@RezaDorrani Жыл бұрын
I will have to look at your App in action to know the cause of your issue. I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com
@atikkhan5121
@atikkhan5121 3 ай бұрын
I am not able to add peninput control image in attachment. Pls share coding.
@RezaDorrani
@RezaDorrani 3 ай бұрын
The video is the only reference I have. I recommend posting your issue on forums at powerusers.microsoft.com
@prathima050391
@prathima050391 2 жыл бұрын
Hi Reza, we are getting allow permissions popup when user access the power apps form for the first time.. is there any way to bypass this?
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Everyone will get that pop up first time when running App. It is default behavior of power apps. You can run PS to bypass docs.microsoft.com/en-us/powershell/module/microsoft.powerapps.administration.powershell/set-adminpowerappapistobypassconsent?view=pa-ps-latest
@florenceting9824
@florenceting9824 Жыл бұрын
how about if I want to delete the captured image? means to reset image control to blank
@RezaDorrani
@RezaDorrani Жыл бұрын
Its been a long while since I did this video hence do not remember the specifics.
@arshiafirdous367
@arshiafirdous367 2 жыл бұрын
Very helpful concept and the wonderful video!!
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Glad it was helpful!
@DirkManes
@DirkManes Жыл бұрын
Danke!
@RezaDorrani
@RezaDorrani Жыл бұрын
Thank You!
@minhthanhnguyen7191
@minhthanhnguyen7191 2 жыл бұрын
I want to change rear camera? Help me
@RezaDorrani
@RezaDorrani 2 жыл бұрын
I think I show that in video. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com
@fam.giannakisflores7780
@fam.giannakisflores7780 Жыл бұрын
Excelent video, Mr Reza a question, What is the control to display the attachments with their counter of how many are?
@RezaDorrani
@RezaDorrani Жыл бұрын
At what time in video do I show that?
@fam.giannakisflores7780
@fam.giannakisflores7780 Жыл бұрын
@@RezaDorrani 7:38, you have acontrol rigth of the screen taht display the attachments
@RezaDorrani
@RezaDorrani Жыл бұрын
@@fam.giannakisflores7780 That is a component. Here is the video reference for it kzbin.info/www/bejne/aZWxloCMgb93ftE
@william2053
@william2053 2 жыл бұрын
Thanks for sharing another great tutorial Reza!
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Most welcome!
@jeromebapst4981
@jeromebapst4981 Жыл бұрын
Hello, thank you for your very interesting videos. I am currently developing an application for electrical installation inspection. The goal is to define a location using 2 dropdown lists (Basement - Cellar... 1st Floor - Bedroom...). Then I write the problem that there is, or I retrieve a sentence already written in a SharePoint list (to save time and avoid writing the same thing several times). I would like to be able to take one or two photos to provide more details about the observed defect. So, my screen is made up of 2 dropdown lists, 1 text input, and a camera control. I wanted everything to be saved in a collection (viewed in a gallery). Once my inspection is finished, all this data would be saved in my SharePoint list. The problem I have is that the photos I take are not saved correctly in my collection. I would like to be able to view the image in my collection (and in my gallery). In your video, you explain how to save attachments which is great, but could you explain to me how to take one or two photos and view them in my collection (the photo itself and not just the data)? Thanks again for your many interesting videos and thanks for your help. Sorry for my english. Thanks Jérôme.
@RezaDorrani
@RezaDorrani Жыл бұрын
I do not have a video reference on your 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.
@jeromebapst4981
@jeromebapst4981 Жыл бұрын
@@RezaDorrani Thank you for your prompt response. I will go check the forum. Just a quick question. In one of your videos, you show how to take a photo with the camera and save it to a collection, then display it in a gallery (Power Apps Save Pictures to SharePoint - Camera Control Tutorial). I managed to do it a few weeks ago, but recently, the image data is displayed, but the image itself no longer appears, and in my collection, I have a "table" symbol instead of the column... Do you have any ideas? Sincerely, Jérôme.
@RezaDorrani
@RezaDorrani Жыл бұрын
@@jeromebapst4981 I have not come across this issue hence not sure. Im not aware of anything thats changed in platform either that could cause an issue.
@jeromebapst4981
@jeromebapst4981 Жыл бұрын
@@RezaDorrani Hello, thank you very much for your help. The issue was due to an update made by my company (upgrade to Windows 11). I'm not exactly sure what happened, but today everything is working correctly. Thank you for your prompt replies and thank you again for your videos. Best regards. Jérôme
@larrykleebauer387
@larrykleebauer387 2 жыл бұрын
reza has been busy the last 2 weeks. Thank you
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Most welcome
@taruntarun00198
@taruntarun00198 2 жыл бұрын
Great Tutorial. Thank you so much.
@RezaDorrani
@RezaDorrani 2 жыл бұрын
You are most welcome!
@nguyenhuybao3905
@nguyenhuybao3905 4 ай бұрын
Is that .png file cant display in power apps?
@RezaDorrani
@RezaDorrani 4 ай бұрын
I have not had any issues with it & have not heard of any such limitation
@kitsu6179
@kitsu6179 Жыл бұрын
Is the camera quality still 640 with this method?
@RezaDorrani
@RezaDorrani Жыл бұрын
Check the documentation for camera control
Power Apps Save Pictures to SharePoint - Camera Control Tutorial
18:18
Spongebob ate Patrick 😱 #meme #spongebob #gmod
00:15
Mr. LoLo
Рет қаралды 17 МЛН
LIFEHACK😳 Rate our backpacks 1-10 😜🔥🎒
00:13
Diana Belitskay
Рет қаралды 3,9 МЛН
Will A Guitar Boat Hold My Weight?
00:20
MrBeast
Рет қаралды 244 МЛН
Editable Grid in Power Apps | SharePoint List
42:49
Reza Dorrani
Рет қаралды 378 М.
File Attachments in Power Apps - The best way to do them
23:05
Chino Does Stuff
Рет қаралды 100 М.
OpenAI’s New ChatGPT: 7 Incredible Capabilities!
6:27
Two Minute Papers
Рет қаралды 196 М.
PowerApps Pen Input to SharePoint
28:04
Shane Young
Рет қаралды 61 М.
Power Apps working with SharePoint List Relationships
22:28
Reza Dorrani
Рет қаралды 201 М.
How to Instantly Duplicate SharePoint List Items
10:50
Enea Liçaj
Рет қаралды 2,9 М.