PowerApps Email Attachments with the office 365 connector and attachment control

Поділитися
Вставка
  • Опубліковано 2 гру 2024

КОМЕНТАРІ • 283

  • @ellenmurtha6382
    @ellenmurtha6382 5 років тому +18

    Thank You so much!! I've spent hours looking for this exact feature and attempted to manipulate Microsoft Flows to do this for me, but you explained how to do it in PowerApps simply in less than 15 minutes! Keep up with the awesome and helpful videos!! :)

  • @ResponsibleXI
    @ResponsibleXI 3 роки тому +1

    I was searching all over the web before I find out Shane Young did it way back. You are life savior. Love you Shane!

  • @EpicBizHero
    @EpicBizHero Рік тому +1

    Still Great to refer back to! I added the email template into a model driven app and displayed it on a contact form. All was well until I notice there wasn't an attachment control. I remembered this video helped me before in the past with Canvas. Thanks as always Shane... We appreciate you! Shawn

    • @ShanesCows
      @ShanesCows  Рік тому +1

      Nice work! I love when you peole figure out how to combine concepts. Kudos to you!

  • @jeanpierreragequit1726
    @jeanpierreragequit1726 Рік тому +1

    One more time, one more time ! , Shane u save my life ! It was my very first time i mailed an attached file this afternoon & i was in big trouble until i saw ur solution !
    U r the best !

  • @Flukemasterzero
    @Flukemasterzero 3 роки тому +1

    fantastic! Just getting into sending emails from powerapps and this was simple to understand.

    • @ShanesCows
      @ShanesCows  3 роки тому

      Glad it helped! This video is EVERYTHING email if it will help ua-cam.com/video/vpYkOccwn4Y/v-deo.html

  • @luckyhendriksen4558
    @luckyhendriksen4558 Рік тому

    Thanks Shane. I was looking for this. I originally had a PowerAutomate flow below it. I was not able to do the attachment part there. This solution is way better.

  • @caseygoh2225
    @caseygoh2225 5 років тому +1

    Wow... didn't know we could do that with the attachment control. Thought it was stuck in forms. Thank you Shane once again!!

    • @ShanesCows
      @ShanesCows  5 років тому

      Yup. More to come on this trick. 😁

  • @liktorjanos3376
    @liktorjanos3376 3 роки тому +1

    Thank you for this great video. I'm wondering if I can attach a specific document from a sharepoint folder? I've tried and succeeded to get documents with a sharepoint connector and use the file's metadata, however I can't find a way to extract the content of file. I like to put the content into the ContentBytes field. Can you give me some hints about this?

  • @timdoty2000
    @timdoty2000 4 роки тому +1

    OMG Thank You Thank You Thank You!! This accomplished exactly what I needed. One suggestion to copy the final formula to the video notes to refer too. I had to pause the video at the right spot to get everything.

    • @ShanesCows
      @ShanesCows  4 роки тому

      Glad it help Tim. On training.powerapps911.com there is a curated library option that lets you watch ad free and download apps and code snippets. 😀

  • @jeremiahlobo1376
    @jeremiahlobo1376 4 місяці тому +1

    thank you, Shane your videos always helped me, I have a question - is there a way to add default attachments to attachment control?

    • @ShanesCows
      @ShanesCows  4 місяці тому

      There is but it is so ugly I never a made a video on it. YOu need a collection with specific columns but I don't remember exactly which. Start by manually adding somethign and look at what table it makes. Now make a collection that looks like that table. It should work.

  • @peterschmale842
    @peterschmale842 2 роки тому

    This is great! Answered all of my questions. Couldn't find this information anywhere else. Thanks!

  • @luckyhendriksen4558
    @luckyhendriksen4558 Рік тому +1

    Hello Shane, thanks for all the inspiration. When I add the data source and the form, I see a few fields but not the attachment field. Any idea why that is?

    • @ShanesCows
      @ShanesCows  Рік тому

      Are you adding a SharePoint list as the data source. Other data source may or may not have an attachment field. SharePoint list always does. 😊

  • @chandratbscwy763
    @chandratbscwy763 2 роки тому

    hi Shane, glad to find your channel, but i have question, this is talk to attach file well that was great, but how to make send email but with picture inside the body message ? any idea ? or videos to talk about it ?

  • @anaslanthra7990
    @anaslanthra7990 2 роки тому +1

    Thank you Shane, it was a great video. I really appreciate all your effort and hard work, and I'm learning lots. I have a requirement like this, once you click a button it will collect the attachment in the attachment control and stores it in a collection with other details too and reset the attachment control, imagine it is an invoice. So you have fields like invoice number, date and supplier, etc in addition to the attachment. You can submit multiple invoices at once. Once you click another button I want to send a single email with all the collected attachments. Highly appreciate your help. Thanks in advance.

  • @kevinwork1195
    @kevinwork1195 4 роки тому +1

    Hi Shane,
    Another great video.
    Is there anyway to select pictures which are sitting in a SharePoint doc library to add as attachment?

    • @ShanesCows
      @ShanesCows  4 роки тому

      Not really unless maybe Explorer was mapped already to the library

  • @danulienka4030
    @danulienka4030 4 роки тому +1

    As usually, your video is so simple but goes straight to the problem..... Thank you for your work :-)

  • @squishngoo
    @squishngoo 4 роки тому +1

    You keep saving my bacon with this videos. Thank you much for all you do.

    • @ShanesCows
      @ShanesCows  4 роки тому

      Glad to help. 😀 #BaconLover

  • @jaceituno72
    @jaceituno72 3 роки тому +1

    Very interesting videos, helped me a lot, keep on with the good work Shane!

  • @supreethrshet6120
    @supreethrshet6120 3 роки тому +1

    This is very informative.
    Can you explain/make a video to send mail with the attachments that are saved in the common data service table (Dataverse table)?
    From a power Automate flow

  • @25rinka
    @25rinka 4 роки тому +1

    Hello, Shane for all your great videos! Learning a lot! I have one question while doing the send email button showing error, when I want to see the table by selecting AttachmentControl.Attachments showing didn't find any data.
    It would be great if you can help!
    TIA always!

    • @ShanesCows
      @ShanesCows  4 роки тому

      Not sure. Did you not attach anything?

  • @NKBobcat
    @NKBobcat 5 років тому +1

    Fantastic! I didn’t know we could borrow the attachment control like that. I will use this in the future for sure! Thanks Shane!

    • @ShanesCows
      @ShanesCows  5 років тому +1

      Yup. And I have another video in the hopper showing another trick with it. 😉

    • @NKBobcat
      @NKBobcat 5 років тому

      @@ShanesCows looking forward to it.

    • @NKBobcat
      @NKBobcat 5 років тому

      @@ShanesCows have you ever considered streaming a live q&a session?

  • @trevordutoit6997
    @trevordutoit6997 Рік тому

    Thank you for the demo, everything seems to be working with the attachment but it is not sending the current file?? Everytime i click the button, it sends the last record and not the current one that i wish to send. Do you know why this could be?

  • @anstolze3280
    @anstolze3280 2 роки тому +1

    Thank you so much Shane! For every prob I find the answer in your awesome videos.

    • @ShanesCows
      @ShanesCows  2 роки тому

      Happy to help. Have a great day. 🐶

  • @abuyotam
    @abuyotam Рік тому +1

    Hi Shane, as always a great video.
    Is there a way to attach a file from a SharePoint library with the Office365 connector? I have a flow that creates a CSV file from a gallery and I want this file to be sent through the App as an email attachment, so it would be from the user's mailbox.

    • @ShanesCows
      @ShanesCows  Рік тому +1

      Probably easiest to do in a flow triggered by the Power App. Get File in flow then add that as an attachment.

    • @jimhoeger5232
      @jimhoeger5232 Рік тому

      @@ShanesCowsAttaching files from a SharePoint library and sending an Email using flow works great. In my case the files to be attached are identified by the record being processed by the Power App and don't require any user action. But now our IT department blocked Power Automate from sending Emails to an external address. This broke my Flow 😞.
      I discovered that our IT has not blocked the Office365 connector. I am trying to recode my app to send the Email from the App. I can't work out an easy way in Power Apps to convert the SharePoint files to an array that can be attached to the Email.
      The array of file attachments is being created in the Flow. If I could return that array to Power Apps I could attach it to the Email. However, I don't know how to return an array from Flow to Power Apps.
      Any suggestions would be appreciated.

  • @RachaelTheBlonde
    @RachaelTheBlonde Рік тому

    I've been combing through your videos and this seems to be the closest one to the feature I'm attempting. Do you have a video of doing this same thing but the attachments are from a SharePoint document library instead? And as an additional challenge I need to send it with a variable amount of attachments, but always at least 1.
    I've got a gallery of documents filtered down to exactly what the user will want to attach to the email. If the datasource for the attachments can be DocGallery.AllItems, great; if I need to use the whole filter statement from that galleries items property, also great. I just don't understand how to get the file content out of the SharePoint library connection. There is no Value column to turn into the ContentBytes column that it wants.

  • @dmjanssen6641
    @dmjanssen6641 3 роки тому +1

    Thanks, this helped a lot! Question though Shane, now that I have an attachment control (With only 1 max attachment)...I want a check box to tick ✔ if the file attached is .PDF, is this possible?

    • @ShanesCows
      @ShanesCows  3 роки тому +1

      Yes. You add the control and then you need to write logic to react to the checkbox values that you want.

    • @dmjanssen6641
      @dmjanssen6641 3 роки тому

      @@ShanesCows I did try this condition: If(Mid(First(DataCardValue.Attachments.Name, Find(".",First(DataCardValue.Attachments).Name+1,3) = "pdf") && (TextInput.Text = "Yes"), true, false) - no red lines but doesn't seem to work when combined. Do you have a tutorial on this?

  • @DemBrodaz
    @DemBrodaz 4 роки тому +1

    Loved this tip - works great, thanks Shane!
    I was wondering if you know how to reset the Attachment control to clear it?
    I've only found how to do it when it is part of a Form, and setting "Reset" to true seems to have no effect.
    Thanks in advance!

    • @ShanesCows
      @ShanesCows  4 роки тому +1

      Reset(attachmentcontrol) should work

    • @DemBrodaz
      @DemBrodaz 4 роки тому

      @@ShanesCows and it did! Thanks very much Shane!

  • @lucy5626
    @lucy5626 6 місяців тому +1

    Hello Shane,
    Thank you very much for your great videos - I'm a fan of yours.
    I have a question and maybe I'm not the only one and you could help:
    I' have a canvas app with Dataverse table.
    I would like to send the file attachments from the Dataverse table selected in a gallery by email.
    Do you know a simple way, perhaps without Power Automate?
    Thank you in advance for your help.

    • @SuperTaps1
      @SuperTaps1 5 місяців тому

      Hi I have the same question. It would be great if Shane teaches us that :)

  • @to0muchtoan
    @to0muchtoan 4 роки тому

    Really great video, Shane! Will the attachment remain on the control until it is eventually reset? Trying to determine if this method can be used to attach a job aide every time a user sends an email.

  • @meredithd6790
    @meredithd6790 Рік тому

    Thanks for this Shane. You have been the biggest help over the years. One question. I am trying to provide the names of the attachments in my form after it is submitted so when we go back and look in the detail screen it will show each attachment associated with each submission. Currently, it will show what attachments were submitted last on every submission. Is there any way to make the attachment control exclusive to each submission or somehow reset it and to where the data that was submitted becomes static unless edited in the edit screen? Thanks again!

  • @Oi-Gamer-Oi
    @Oi-Gamer-Oi Рік тому +1

    Hi Shane, once again Great video as always , but i was looking for something sending multiple (example 2 pdf files) files from SharePoint library, can you suggestion?

    • @ShanesCows
      @ShanesCows  Рік тому

      This video talks about sending multiple attachments ua-cam.com/video/V3feURQfY3M/v-deo.html

    • @Oi-Gamer-Oi
      @Oi-Gamer-Oi Рік тому

      @@ShanesCows but im trying to send the files from sharepoint library :(

  • @astonmanorObeng
    @astonmanorObeng Рік тому

    Thanks for your video, very helpful ,
    How do you include form content as part of the attachment please

  • @leokearns1221
    @leokearns1221 3 роки тому +1

    Awesome Help Shane. Quick question on this. How could I use the above to also send the fields to a SharePoint list. So end-user fills in power app and adds attachments and clicks send and it emails them but also sends the data and attachments to a list library. I have my app working but the flaw is its flow(power automate) based and the get attachments function fails if nothing attached so might use this method instead. any ideas?
    Cheers & a great channel.
    Leo

    • @ShanesCows
      @ShanesCows  3 роки тому +1

      You could Patch the SharePoint list and then ; and then send the email.

    • @leokearns1221
      @leokearns1221 3 роки тому

      @@ShanesCows Cheers Shane. That I shall do.

  • @ajnivijojoja6544
    @ajnivijojoja6544 5 років тому +2

    Hi Shane, Thanks for all these great videos.
    I was trying to do it same as you did but when tried to send the email got an error messge: Office365Outlook.SendEmail failed: The managed blob uri is not owned by the current app's BlobManager. Do you have any idea what it could be? Help will be appreciated. Thank you so much.

    • @ShanesCows
      @ShanesCows  5 років тому +1

      Not sure. Haven’t seen that error.

    • @treesourcesystems1401
      @treesourcesystems1401 5 років тому

      Hey there, I'm getting a similar error. You haven't happened to figure out a solution yet, have you?

    • @michaels7918
      @michaels7918 5 років тому

      I'm getting the same error. Any solutions yet?

    • @1tonytony1
      @1tonytony1 4 роки тому

      Same for me...any solution yet?

  • @alejandraaguilar5602
    @alejandraaguilar5602 4 роки тому +1

    You are amazing! One question, how do I email the Item values of a radio button? Thank you!

    • @ShanesCows
      @ShanesCows  4 роки тому

      Radio.Selected.Value in the body I think is what you are looking for. Basically however you get text out of a radio control you can specify that in the email body.

  • @surbhidudeja3536
    @surbhidudeja3536 3 роки тому +1

    Hi Shane, I want to do exactly the same thing but the mails need to go from a shared mailbox. And the flow I have created accepts Content Bytes in edm.binary format and not blob. Any suggestions?

    • @ShanesCows
      @ShanesCows  3 роки тому

      This video has one idea for using a shared mailbox. ua-cam.com/video/l8NJkauGJ7U/v-deo.html

  • @ivancuervo777
    @ivancuervo777 4 роки тому +2

    Hello Shane, I managed to create a record in a SharePoint list with its attachment with a classic input form. Now I want to send an email for each record in the list with its corresponding body content from the Sharepoint List fields and with its record attachment, I bet this is a very good idea for a new video :), the big question is....how to manipulate files that are added as attachments in a SharePoint list record (files that appear in the attachments column of a sharePoint list record)?

    • @ShanesCows
      @ShanesCows  4 роки тому +1

      The attachments column in SharePoint is a table. First(Attachments). Will show you the columns and let you explore. Knowing it is a table is key. 😁

    • @ivancuervo777
      @ivancuervo777 4 роки тому

      @@ShanesCows Thks Shane for answering!

    • @ivancuervo777
      @ivancuervo777 4 роки тому

      @@ShanesCows I am applying the ForAll function and within it I use Microsoft365Outlook.SendEmailV2, the part where I need to retrieve the attachment----> "{Attachments: First(My_SP_List.Attachments)}" ---> it shows red squiggly underline. I am a bit lost not sure how to fill out the SendEmailV2 function properly 😱

  • @LaxmiPutraPawan
    @LaxmiPutraPawan 3 роки тому +1

    Hello Shane,
    Can we attach a file from sharepoint document library?
    Not from the windows explorer...

    • @ShanesCows
      @ShanesCows  3 роки тому

      Maybe but I have never tried.

  • @DJJohn6935
    @DJJohn6935 5 років тому +1

    Shane, first thanks for the workaround. One question: Do you know what is the maximum size capacity of the files?

    • @Crockerfeller
      @Crockerfeller 5 років тому +2

      The power apps doc mentions a 10 MB file size limit. per file

    • @ShanesCows
      @ShanesCows  5 років тому +1

      Thank Chris. I was also going to guess 10

    • @attachmonk6023
      @attachmonk6023 4 роки тому

      The maximum size capacity of files is 10MB.

  • @captain1562
    @captain1562 3 роки тому +1

    Sir, thanks for the great instructional video. finally learned how to insert an attachment! !

  • @sanlcaglar1777
    @sanlcaglar1777 4 роки тому +1

    Thank you Shane. Please keep it doing this.

    • @ShanesCows
      @ShanesCows  4 роки тому

      As long as people like you keep watching I will keep making them.

  • @nav4688
    @nav4688 6 місяців тому +2

    this method does not work anymore @shane. Did powerapps change something, I used the exact same formula but there is an error

    • @babuvt
      @babuvt 4 місяці тому

      Yes.. This doesn't work now. To make it work in RenameColumns it should now be RenameColumns(AttachmentControl.Attachments,Value,ContentBytes) without double quotes in column names. You no longer need odata Add Column stuff. Happy Coding 🙂

    • @mattwunsch1684
      @mattwunsch1684 2 місяці тому

      This is covered in this video: ua-cam.com/video/gyrU7XljKOw/v-deo.html
      TL:DW drop the Quotation Marks around renamed columns should look like this: {Attachments: RenameColumns(AttachField.Attachments,Value,ContentBytes)}

    • @mattwunsch1684
      @mattwunsch1684 2 місяці тому

      Thank you again @shane you are the best sir!

  • @musark09
    @musark09 4 роки тому +2

    Hi Shane, i need your help, how can i attached a table with the send function?, i cant find how to attached a collection that i have already in PowerApps

    • @ShanesCows
      @ShanesCows  4 роки тому

      I think you need this video ua-cam.com/video/V3feURQfY3M/v-deo.html

  • @rayromych5534
    @rayromych5534 4 роки тому

    Thanks for you videos - always interesting and useful.
    Got one question - is there any way to create text file in the app from few text fields and attached it to the email (rather that upload it from PC)?

    • @ShanesCows
      @ShanesCows  4 роки тому +1

      Not that I know of but maybe you could get creative by using Flow to make a file. Not sure

  • @abhilashkumar6541
    @abhilashkumar6541 4 роки тому +1

    Great video Shane, I wanted to is it possible like I have a document in gallary and I want to send that document ( pdf, word, ppt etc) as an attachment in the mail

    • @ShanesCows
      @ShanesCows  4 роки тому +1

      Yes. You will need to recreate the same table structure but use your Gallery.Selected record to get the file.

    • @abhilashkumar6541
      @abhilashkumar6541 4 роки тому

      @@ShanesCows Actually I did that but when I'm applying that in the attachment it is showing error

    • @abhilashkumar6541
      @abhilashkumar6541 4 роки тому

      Shane in attachment I used gallery.selected it is showing the file but it is not making the blob file in the table due to which it is showing error so is there a way to do that

    • @abhilashkumar6541
      @abhilashkumar6541 4 роки тому

      What I have did like there is a share button on every item and when I click on it that file will be put in the attachment part

  • @xfilecat
    @xfilecat 4 роки тому +1

    Hi Shane, Great videos, I really appreciate all your effort and hard work, and I'm learning lots. One query I have, at 8mins 35secs you copy and past into a label what the attachment control is expecting. Where did you copy that from as I cannot seem to replicate it? Many thanks.

    • @ShanesCows
      @ShanesCows  4 роки тому

      I had it pre written if I remember right. You can pause the video to get it or a lot of my apps and code is included in the training.powerapps911.com curated library subscription

  • @JohnCarter-ue5uk
    @JohnCarter-ue5uk 2 роки тому +1

    As Always a very helpful video, Thanks Shane!

  • @DougLeamon
    @DougLeamon 9 місяців тому

    Hi there, it is not giving me the option for "AttachmentControl" Any ideas?

  • @stephanykearney3950
    @stephanykearney3950 3 роки тому +1

    do you do consulting? I am trying to get users to 1. fill out a form or excel document 2. have it automatically take a snip of the excel form send an email each morning to users

    • @ShanesCows
      @ShanesCows  3 роки тому

      Yes. 🐶 www.PowerApps911.com and fill out the contact form. Thanks

  • @joaocamiloulhoa4878
    @joaocamiloulhoa4878 4 роки тому +1

    Hey Shane, I'm Brazilian, thanks for your videos, they've been helping me a lot. I have a doubt. After filling out the form and sending it, configuring the attachment to accept only 1 file, how can I edit this data later, deleting the old attached file with a new one? My powerapps, incredibly, let me delete the old file when I'm going to edit it, but it doesn't allow me to attach another one. How can I solve this?

    • @ShanesCows
      @ShanesCows  4 роки тому +1

      Not sure how to help you unravel that. I would try to troubleshoot the not being to add a new one first b

  • @terrisepulveda627
    @terrisepulveda627 5 років тому +1

    Could the attachment control be placed into components for access in the future? Awesome stuff again Shane....I would be lost in Infopath without you!

    • @ShanesCows
      @ShanesCows  5 років тому

      Haven’t tried that one. Interesting

  • @starky307
    @starky307 4 роки тому +1

    Hi Shane, this is awesome and I've been able to build my first PowerApps to help with a paperless dispatch process. I've been searching through your videos (and the internet) and I can't find a way to disable the "Send Email" button until after there is an attachment? I can't work out how to "see" if there is an attachment in the collection. Can you help me?

    • @ShanesCows
      @ShanesCows  4 роки тому

      You need to check if the attachment collect IsEmpty and then set the buttons display mode accordingly

    • @starky307
      @starky307 4 роки тому

      @@ShanesCows thanks for the quick reply. I was trying th eIsEmpty function without it working. Once you told me i was using the correct method I have now have worked out that I had an action to Reset(AttachementControl) on exit after sending email but it wasn't actually clearing my Collection1. I've changed that to Clear(Collection1) and now the visibility function is working. Thanks for your help!

    • @starky307
      @starky307 4 роки тому

      Do you have a suggestion on how to clear the Collection when using the delete cross that appears after an attachment is complete or alter the display formula to be able to handle that the collection may still have something but it is not visible in the App?

  • @michel_carlo
    @michel_carlo 5 років тому +1

    Nice one Shane....could you make the attachments work with other sources? Following your instructions, it worked perfectly with outlook, but tried to send attachment content as bytes to flow and I can only get a string with blob path

    • @ShanesCows
      @ShanesCows  5 років тому

      Interesting. I will have to think about that one.

    • @michel_carlo
      @michel_carlo 5 років тому

      By the way, the behaviour happens with SharePoint library

  • @syedabidaliabdi1273
    @syedabidaliabdi1273 3 роки тому

    Hi Shane! Hope doing well, how I sent gallery data with image in body of email in tabular format with image resize ( not more then 250 px)?

  • @mdum2178
    @mdum2178 5 років тому +1

    This is really great! Love your videos, so helpful!!!

  • @siddhantsingh8988
    @siddhantsingh8988 4 роки тому +1

    Hi Shane, Just wanted to know that is it possible to send attachments via email from gallery I'm trying to show user a gallery and when user clicks on the arrow in the gallery one should get attachment. is it possible?

    • @ShanesCows
      @ShanesCows  4 роки тому

      Probably but I haven’t tried. Try to grab the file contents from the gallery and see what happens

  • @geauxvols
    @geauxvols 4 роки тому +1

    Can this be done without needing a data source? All I need to do is to be able to send attachments via an email form. I already created the form using two input elements (for Subject and Body), and the SendMailv2 function.

    • @ShanesCows
      @ShanesCows  4 роки тому

      If you let the user attach a file it should work. Watch this video just to get the data to the control. ua-cam.com/video/Pa-pYEkLH-U/v-deo.html

  • @syedabidaliabdi1273
    @syedabidaliabdi1273 3 роки тому

    Can I control upload image dimensions limit Prevent to upload more then 300 pixel. Picture or not allowed to upload more then 3 mb

  • @Emmanuelkabs
    @Emmanuelkabs Рік тому +1

    Can you do a video on how to create asana project from a power app from and fill certain columns in Asana. Thanks a lot your videos are so good

    • @ShanesCows
      @ShanesCows  Рік тому

      I will add it to my list of topics. I haven't done much with Asana though so not sure.

  • @alfred7050
    @alfred7050 4 роки тому +1

    Hi Shane. I am very new at all of this. I am following step by step but my form does not have an attachment control. Would you be so kind as to provide some assistance? Thank you!

    • @ShanesCows
      @ShanesCows  4 роки тому

      Attachment control would only come if you have a SharePoint list as the datasource

  • @pipelox
    @pipelox 4 роки тому +1

    Shane this is great!, I build an app for email report and I also have a collection with pictures that I must to attach, for attach these I was using on the argument {Attachments: pictures } but now that I add this Attachment Control I need to use the code for attachments on the argument attachments on the email button {Attachments:AddColumns(RenameColumns(botonadjuntos.Attachments,"Value","ContentBytes"),"@odata.type","")
    How can I tell to the email button that I have these 2 codes on the attachment argument?
    Thank you!!

    • @ShanesCows
      @ShanesCows  4 роки тому +1

      Sorry Felipe I haven’t tried that scenario yet. Boo me

    • @pipelox
      @pipelox 4 роки тому

      @@ShanesCows is all good!! I have sorted it out finally 😁👍

  • @KyleCordell
    @KyleCordell 4 роки тому +1

    I'm trying to create a text attachment using the following "ContentBytes" value:
    {
    Attachments: Table(
    {
    Name: "test.txt",
    ContentBytes: "data:text/plain;charset=utf-8,This is a test document.",
    '@odata.type': ""
    }
    )
    }
    Unfortunately, I get an "invalid data uri format" error. In theory, this should work. Any thoughts on what the data URI should be for plain text? I have tried multiple variations with no luck.
    I know this is different than your attachment control option, but I am trying to get PowerApps to create the text content rather than an uploaded file, and I would prefer to skip Flow/Power Automate.

    • @ShanesCows
      @ShanesCows  4 роки тому

      Kyle I am not sure. I get what you are trying but I have never tried that. I am sure it is an encoding issue but not sure what to tell you. 😑🤔

    • @KyleCordell
      @KyleCordell 4 роки тому

      @@ShanesCows Okay, thanks for the reply! If you think of anything or have any ideas on where I could go to find out, I'd love to hear it. I have searched everywhere I can think to look and I am at a loss. And thanks for the great videos!

  • @derwandereruberdemnebelmee1500
    @derwandereruberdemnebelmee1500 9 місяців тому

    How can I do the same function if I would like to run a Flow?

  • @stevehall156
    @stevehall156 3 роки тому +1

    Is there a way to set a default list of files in the control that a user would just delete the items they didn't want?

    • @ShanesCows
      @ShanesCows  3 роки тому +1

      Hmm. Maybe but not something I have done. Maybe use a gallery to show them the files and attach the ones they don’t delete from the gallery. Gallery.AllItems is a table. 😎

    • @stevehall156
      @stevehall156 3 роки тому

      @@ShanesCows I'll try it and report back! Thanks.

  • @reggieoverton121
    @reggieoverton121 3 роки тому

    How to send an email and attach a document from the document library? I am having trouble finding the attachment in document library.

  • @NYXthetherian11
    @NYXthetherian11 10 місяців тому

    jump to 12:08 shane's happy dance. thank you so much. this is exactly what i need for our app!!!

  • @surajdevasthali6107
    @surajdevasthali6107 Рік тому

    Hi Can you guide how I can send email with attachment from sharedmailbox? not only me but any user should also be able to get report when clicked on button 'Export to Excel'

  • @Quinten7771
    @Quinten7771 3 роки тому +1

    Very nice video... Love your out of the box thinking. Thank you so much.

  • @aravindadamarla
    @aravindadamarla 4 роки тому +1

    @share young I need a functionality where i not only be able to attach files , but also able to insert pictures in the email body ? How can i achieve it?

    • @ShanesCows
      @ShanesCows  4 роки тому

      ua-cam.com/video/RFZfvTuDmP0/v-deo.html use this. But where I show pen input change to image. 😀

  • @latrobe15
    @latrobe15 5 років тому +2

    Brilliant again. Thanks Shane. One note when creating the collection could we add the third column then? EG: ClearCollect(CollectAttachments,AttachmentControl.Attachements,{'@odata.type':""})

    • @ShanesCows
      @ShanesCows  5 років тому

      You can but I don’t think it was required? I can’t remember now.

  • @kauffmananalytics
    @kauffmananalytics 10 місяців тому +1

    Does this work anymore? I just tried it, there were no errors, the email sent correctly, but there was no attachment.

    • @ShanesCows
      @ShanesCows  10 місяців тому

      Yes, the way of doing it is the same. I did make an updated email video that might help but this video should work ua-cam.com/video/vpYkOccwn4Y/v-deo.html

    • @mikemoore8515
      @mikemoore8515 10 місяців тому

      Hey Shane - Do you think Microsoft will eventually close this loophole to get the attachments control? It seems like their intent is to prevent people from using it. Just trying to decide if this is a reliable approach or if I should pursue a more sustainable method.

  • @musashi21119
    @musashi21119 4 роки тому +1

    Hi Shane, i need your help, how can i attached a camera with the EditForm to sharepoint

    • @ShanesCows
      @ShanesCows  4 роки тому

      Not sure you can connect a camera control to a form. Learn more here ua-cam.com/video/ovLIwnj6QjU/v-deo.html

  • @mitraramdas789
    @mitraramdas789 3 роки тому +1

    Is it recommended to Patent a Power Apps program I created?

    • @ShanesCows
      @ShanesCows  3 роки тому +1

      Not that I know of but I am far from an expert on IP law. :)

  • @desbtnorthcoast7943
    @desbtnorthcoast7943 5 років тому +1

    Hi Shane, is there a way to send attachments that are sitting in a document library?

    • @ShanesCows
      @ShanesCows  5 років тому

      Flow could get and send them for you.

    • @desbtnorthcoast7943
      @desbtnorthcoast7943 5 років тому

      @@ShanesCows ok cool - thanks! any chance you might do a video on this?? :)

  • @ullalouise
    @ullalouise 2 роки тому

    Loved your video!!! So great. Congrats and Thank you very much!

  • @mahendranikam9475
    @mahendranikam9475 5 років тому

    This is really great!!
    In my scenario Power apps forms attachments send to MS Flow and then MS Flow will add attachments to the SharePoint list item. Can you please help to me how to achieve this. Thanks In advance !!!!

  • @uncleslapslap
    @uncleslapslap 3 роки тому +1

    related to attachments, I've managed to re-create the outlook web client (in a way) but with a button to save the selected email to a sharepoint list (whoohoo) but I can't seem to get email attachments to save as list attachments. I can get the email attachments to appear as defaults in the form attachment but I get the error "Field 'id' is required" and if I try to download from the form attachment box it downloads an empty file. I think I need to use the Office365Outlook.GetAttachmentsV2 function but I don't understand how. Anyone have any pointers?

    • @ShanesCows
      @ShanesCows  3 роки тому

      Yikes. I love it but I haven’t tried it so I don’t have any ideas. 😑

  • @jrobertmac
    @jrobertmac 3 роки тому +1

    My attachments are not coming through on the email when I add them via a form instead of a button. Any ideas?

    • @ShanesCows
      @ShanesCows  3 роки тому

      I would look at your Attachments syntax. It should be possible.

  • @Mitchkoo
    @Mitchkoo 4 роки тому +1

    Does the AttachmentControl work for empty Attachmentlist? I have this problem, getting an error stating: "Attachments content cannot be NULL"

    • @ShanesCows
      @ShanesCows  4 роки тому

      Probably not. Do an If to see if IsEmpty in your logic

    • @Mitchkoo
      @Mitchkoo 4 роки тому

      @@ShanesCows Thanks, so basic...yet so powerful

    • @dmjanssen6641
      @dmjanssen6641 4 роки тому

      Awesome! thanks Shane!! I tried to add the logic in Send button: OnSelect- If(IsEmpty(AttachmentControl), DisplayModeDisable, false) ....didn't work though :( what is a better logic which prevents the email from being sent without an attachment?

  • @luke-ljv4854
    @luke-ljv4854 4 роки тому +1

    I'm trying to follow this but when I try connecting my form to a Sharepoint area, it doesn't come up with the attachment control. It just comes up with other fields and dropdowns related to that particular area. Any help on this?

    • @ShanesCows
      @ShanesCows  4 роки тому

      Make sure you attach it to a custom list that has attachments? It should be there

  • @lwhite3225
    @lwhite3225 3 роки тому

    Hi Shane! I know this is an older video, but I'm just now trying to attach a file from a Power App form to an email. The data source is a SharePoint list. In a New Item form, there is an attachment control. I can't make the formulas shown in this video work. How do I get it to capture the file name? In your test label, you hard-coded the filename "peninput.jpg". The files that will be attached are usually Excel files. So, how would ContentBytes be written, e.g., "filename".WHAT ? The filenames will always have spaces, so should the filename be surrounded by quotation marks?

  • @theguilinguy
    @theguilinguy 3 роки тому

    Thank you! This is exactly what I needed!

  • @ruthcaroline1922
    @ruthcaroline1922 3 роки тому +1

    How to find the size of the attachment ? My scenario is if any blank document is attached ,throw an error message.

    • @ShanesCows
      @ShanesCows  3 роки тому

      Not possible that I know of... hmm

  • @naperushivasarangi4415
    @naperushivasarangi4415 4 роки тому +1

    Hi Shane, how to add my outlook signature in the email body or generic signature using image????

    • @ShanesCows
      @ShanesCows  4 роки тому

      This video show the concept. Not exactly what you are asking but if you learn this you can do what you want to do. ua-cam.com/video/RFZfvTuDmP0/v-deo.html

    • @naperushivasarangi4415
      @naperushivasarangi4415 4 роки тому

      Shane Young i got it.... thank you so much for the idea

  • @koutlaw30
    @koutlaw30 3 роки тому +1

    Is there a way to send items in a collection thru an email?

    • @ShanesCows
      @ShanesCows  3 роки тому +1

      Use Concat to turn them collection into an HTML table and make that the body of hte email.

  • @ddntim
    @ddntim 3 роки тому

    I have attachments coming from SP list and populating in DCV575.Attachments control. It doesn't pull the DOCX created by flow into the control even if I wait 3 minutes and have verified it is in the list item attachments and received the email from Power Automate. Any idea how I can refresh/update/reset the attachment control so I can email the attachments from the signed in user?

    • @stevehall156
      @stevehall156 3 роки тому

      How are you populating the control from SharePoint?

  • @TroyGerber
    @TroyGerber 5 років тому +3

    Dude, you're my hero.

  • @kylelethbridge6079
    @kylelethbridge6079 5 років тому +1

    Hi Shane. I got this working, but find once I am over 3MB in attachments, it stops working and i get the following error message (even though i have the max attachments size set to 10
    Office365.SendEmailV2 failed: { "status": 413, "message": "Request entity is larger than limits defined by the external server.
    clientRequestId: 30e33ddc-ed26-4614-97ff-5e8d0f0b646b
    serviceRequestId: a6c6d02a-962d-4969-933e-3aa6f8c8d4e0", "source": "office365-cc.azconn-cc.p.azurewebsites.net" }
    Any Tips?

    • @ShanesCows
      @ShanesCows  5 років тому

      I haven’t had that. Sorry. 😔

  • @1tonytony1
    @1tonytony1 4 роки тому +1

    This works fine from within PowerApps (create) but when I run it within the Powerapps App it fails (with an error about a blob) every time I add more than 1 image and try to submit them, strange!...any help would be much appreciated

    • @ShanesCows
      @ShanesCows  4 роки тому

      I haven’t ran into that. Maybe post a new comment with your formula and I can try to give ideas

  • @callfusion2012
    @callfusion2012 4 роки тому +1

    Shane.... Dankjewel.... (Thank you in Dutch) Netherlands.... My next challenge is to get the outlook signature underneath.... Stay Safe!

  • @jamesambrose2834
    @jamesambrose2834 Рік тому +1

    Amazing as always!

  • @franknielsen3219
    @franknielsen3219 3 роки тому +1

    Hi Shane. Great video (again). 👍👍👍👍

  • @hiddenfeelings3861
    @hiddenfeelings3861 4 роки тому +1

    Hi Shane Young,
    I am using the same as you mentioned. but i am getting error like ""managed blob uri not managed by current app's blog manager" Please suggest me on that

    • @ShanesCows
      @ShanesCows  4 роки тому

      I have never seen that error. Sorry.

    • @hiddenfeelings3861
      @hiddenfeelings3861 4 роки тому

      @@ShanesCows Thanks! I fixed that issue thanks again for amazing working.

    • @luke-ljv4854
      @luke-ljv4854 4 роки тому

      @@hiddenfeelings3861 I've just experienced this issue! Can you help?

    • @hiddenfeelings3861
      @hiddenfeelings3861 4 роки тому

      @@luke-ljv4854 I have created share point list collection from there I get attachment control. by this way you can avoid this issue

    • @luke-ljv4854
      @luke-ljv4854 4 роки тому

      @@hiddenfeelings3861 This is something I have tried but failed. The frustrating thing is that it was working previously

  • @Crockerfeller
    @Crockerfeller 5 років тому

    Wondering how to do similar, but instead of sending an email, take those attachments and add them to a document library in sharepoint? (not a list item with attachments) . or as attachments on a MS Planner task?

    • @ShanesCows
      @ShanesCows  5 років тому

      Need Flow to move the files for you.

    • @dtreg1457
      @dtreg1457 5 років тому

      I've been trying to figure out the same thing...this would be huge for me. Please let me know if you were able to find a connector that would allow you to run from powerapps to a file system folder or sharepoint folder.

  • @DJIMENEZ6784
    @DJIMENEZ6784 4 роки тому +1

    Thanks for sharing, you just save me a lot of time!

  • @samfang4548
    @samfang4548 5 років тому +1

    Can you make a video shows Monitor application, process or network using powershell, If fail play wave sound or popup a messege plus auto restart the application till problem resolve ? it will help client pc auto reconnect server when server got reboot.

    • @ShanesCows
      @ShanesCows  5 років тому

      Sorry never did that

    • @samfang4548
      @samfang4548 5 років тому

      @@ShanesCows can you make one? thanks

  • @nikhiljose5124
    @nikhiljose5124 3 роки тому +1

    Hi Shane, Awesome Video and viable content which is a life saver for those who are into Powerapps.
    One question from my side.. I have one requirement where we need to send a Microsoft teams invite with a file attached to it.
    I have searched the solution in web but could find only one solution where we need to send 2 emails one with teams meeting invite and another with file attached.
    Is there any other work around for this?...
    Thanks & Regards
    Nikhil Jose

  • @silkel.5609
    @silkel.5609 4 роки тому +1

    Perfect Video! Thank you for your help. Best regards from Hamburg (Germany).

    • @ShanesCows
      @ShanesCows  4 роки тому +1

      Danke (hope I did that correctly)

  • @danielvandermerwe4918
    @danielvandermerwe4918 2 роки тому

    Excellent Video - Easy to follow and very informative - Thank you

  • @tati.ashokkumar4842
    @tati.ashokkumar4842 5 років тому +1

    You Just shown me what exactly I'm looking for. Thanks mate. you r a genius. :)