Upload Signatures to SharePoint Using Power Apps with Pen Input

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

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

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

    This is exactly what I was looking for, thank you for this tutorial. I don't even think a third-party app would be able to integrate the signature this well.

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

      Awesome work desk, thanks for watching! Hope it's an easy method to follow!

  • @Velten-i6w
    @Velten-i6w Год назад +1

    4:20 I don't have the options ask in Power Apps. Only "contentBytes or Name"

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

      I believe this recently changed, I'll have to take a look. Check in the Power Apps Trigger

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

      ​@@andrewhess123Have you found a solution yet?

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

    Nice video, Andrew! Thanks for sharing your implementation

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

      Thank you for your support Janibek! I appreciate it!

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

    Clean and easy to understand ! thanks for Sharing

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

      Thank you Perla! Glad it was helpful

    • @PuellaMagiHomuraAkemi
      @PuellaMagiHomuraAkemi 8 месяцев назад +1

      @@andrewhess123
      How to do it with the trigger PowerApps V2?

    • @andrewhess123
      @andrewhess123  8 месяцев назад +1

      I have some videos with using PowerApps V2 trigger, but not exactly on signatures. Writing this down.@@PuellaMagiHomuraAkemi

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

      @@andrewhess123
      All good, you do this for free and I still know what to look out for while I had no clue before :)

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

    I have a problem with save signature.
    UploadSignature.Run failed the method 'Run' has invalid value for parameter 'Addattachement_FileName'

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

      Try putting in "test.jpg" in Power Automate with no variable, then see if that works, then work from there

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

      @@andrewhess123 No, it reports the same error

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

      @@dusancomic1312 Would need more information to help solve, what is your UploadSignature.Run() command entirely in Power Apps? I'm 100% sure the solution works, maybe recreate the Power Automate entirely, a warning Microsoft gives for all Power Apps that use Power Automate can be corrupted if the trigger is modified.

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

    Great video. So easy to understand

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

      Thanks for your continual support Jonathan

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

    Hi Andrew, thank you, I was looking this but the only problem I have is I need to create the records from PowerApps the only file I need the flow to handle is the pen input is this possible? if yes guide me please thanks

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

      Hi basehumax, not sure I understand. In a List, the file needs to have at least a title and then you can add an attachment. Same if you pushed it to a document library the file needs a name and then the pen input.

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

      @@andrewhess123 Hi Andrew, sorry I ask wrong question, I mean need to attached multiple files when patching forall using attachment control not a form, is that possible?

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

    This so much better very less complicated

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

      Thank you Lerato! Glad this worked for you!

  • @user-mp2gr8ps5m
    @user-mp2gr8ps5m Год назад +1

    I was wondering if you have a same flow however using powerapps v2 trigger ?

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

      Hi, I created a new video using the PowerApps V2 Trigger, not the exact same flow, but I believe the functionality could help you get to the same answer.
      ruclips.net/video/Z6ecHW51U5k/видео.html

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

    I would like to know
    1. Do we have to get a function in Json for Upload signature into sharepoint list.
    2. PenInput is an image (Picture) why in a sharepoint Cannot have the same Image field.
    please let me know.
    thanks
    Toan

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

      Hi Toan,
      1. I am not sure about JSON for upload. I think it could be possible, but I have not done.
      2. Not sure I understand, you can have same image field in SharePoint.

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

    whta if it's a new data...how can i make this work (because i won't have the ID from the sharepoint list for instance).cheers

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

      Hi Marcus, can you submit form or patch the data before you run the Power Automate? The ID field would be the best unique identifier, you could maybe use title but what if someone uses the same title field twice. Patch/Submit Form first, then Run() the Power Automate

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

    No dynamic content available when selecting ID & Filename & etc , what is the solution

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

    Are you able to save it as an image in an imagine column in sharepoint list?

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

      Yes, Image column, attachment to list, or document library. All 3 can work.

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

      @@andrewhess123 thanks mate

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

    Comment puis-je faire maintenant avec Power Apps V2 ? Je ne peux pas faire "Ask In Power Apps"

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

    Andrew, I know this is kind of old, can you give me a hand pretty please?
    I've been trying to implement this into my PA but I keep getting a "The function "run" has some invalid arguments" error. I don't think there's something wrong with the code, I've already tried deleting and creating the Flow in Automate several times. I don't really use the title column in this form so I didn't include it in the flow.
    SubmitForm(Form3);
    UploadSignature.Run(
    ID_DataCard1,
    Mid(
    JSON(
    PenInput1.Image,
    JSONFormat.IncludeBinaryData
    ),
    Find(
    ",",
    JSON(
    PenInput1.Image,JSONFormat.IncludeBinaryData
    )
    )
    +1,
    Len(
    JSON(
    PenInput1.Image,
    JSONFormat.IncludeBinaryData
    )
    )
    -Find(
    ",",
    JSON(
    PenInput1.Image,
    JSONFormat.IncludeBinaryData
    )
    ) -1
    )
    )

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

      Hi bergio,
      In your code it looks like the part where it says ID_DataCard1 is incorrect. Try putting in a simple text or something first to troubleshoot.
      Also,
      Those flows directly from Power Apps are very fragile, if you can and it's not too much work, I would try to recreate the entire flow if the problem isnt ID_DataCard1. Another option is when you create your Run code, check those parameters in the "intellisense" do they match the same amount of parameters?

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

    Can you do the same for upload photos to sharepoint. Take photos upload to sharepoint. Look forward to it.
    Thanks

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

      Hi Toan, yes you can. I have a video on it already although I think this video is cleared. Let me get the link

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

      ruclips.net/video/MeRMJSCNtR4/видео.html&t

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

      Thank you for watching, also!

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

      There is also a new way to upload attachments to SharePoint, Reza Dorrani actually has an amazing video about it here, it's brand new! Check it out: ruclips.net/video/iW9dpDntKrY/видео.html

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

    Still work? I need a Signatures.

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

      Old way, still works but some things have changed.

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

      @@andrewhess123 I tried following the clip but it didn't work.
      The id shows numbers but when I press submit the form nothing happens.
      My code = SubmitForm(EditForm1);
      signature.Run(
      DataCardValue3,
      DataCardValue6.Text,
      Mid(
      JSON(
      PenInput2.Image,
      JSONFormat.IncludeBinaryData
      ),
      Find(
      ",",
      JSON(
      PenInput2.Image,
      JSONFormat.IncludeBinaryData
      )) + 1,
      Len(
      JSON(
      PenInput2.Image,
      JSONFormat.IncludeBinaryData
      )) - Find(
      ",",
      JSON(
      PenInput2.Image,
      JSONFormat.IncludeBinaryData
      )
      )-1
      )
      )

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

    Thank you this video, it is very useful for me.

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

    Hi Sir,
    How can we print as PDF the information + signature picture? It is possible?

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

      Hi Luis, sounds possible. Not sure how to explain through text. But totally possible to print as PDF + signature picture.

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

    Great video, thank you

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

    please can you send the link for a last(previous video). i have the problem with attachement.ID for power automate.
    thank

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

      Hi Toan, here is the link to the previous video before this one: ruclips.net/video/ntDM582MAvU/видео.html&t

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

    I like it!

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

    This is great Andrew, thank you so much for doing this video. It is very easy to understand and follow. I have a question, how can we protect the signature image so that the owners of the SharePoint will not misuse it for other means. Is there a way that the signature to be removed after a certain period of time? Looking forward to your reply :-)

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

      Hi Nurul, Thanks for watching! You could build a Power Automate that looks at the list and deletes or moves the line items to another list based on the created date. It would be a scheduled flow, maybe monthly? This would be great for archiving too.

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

    Thanks for this, truly amazing, I have one question. When I create a new item there is no task ID so it won't save the signature. So when I go back in the second time there is an ID number so it lets me save the signature. How do I get this to work the first time when there is no ID

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

      Hi Mark, Thanks for watching, I believe your question may get answered in my previous video here: ruclips.net/video/ntDM582MAvU/видео.html&t which is how I set up the 2 galleries.

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

    Excelent Thanks

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

      Thanks for your support Process Live!

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

    The image that is getting saved as an attachment in my SharePoint is not the pen signature but a blank white box.

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

      Hi Packers771, not sure why that is. Would need more info to help out.

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

      @@andrewhess123 Hi, I use the same flow and it's run successfully, for my save button I use the code you outlined and also runs successfully. The issue is I face is, when I select the attachment in SharePoint the file gets save as a .jpg but when I select to view the file is shows a blank white box instead of the signature. I checked the input pen signature controls and could not figure out why this was happening. My form is set to edit mode when saving to SharePoint.
      SubmitForm(Form2);
      Upload_Signature.Run(
      IDLabelTest,
      TitleLabelTest.Text,
      Mid(
      JSON(
      PenInput2.Image,
      JSONFormat.IncludeBinaryData
      ),
      Find(
      ",",
      JSON(
      PenInput2.Image,
      JSONFormat.IncludeBinaryData
      )
      ) + 1,
      Len(
      JSON(
      PenInput2.Image,
      JSONFormat.IncludeBinaryData
      )
      ) - Find(
      ",",
      JSON(
      PenInput2.Image,
      JSONFormat.IncludeBinaryData
      )
      ) - 1
      )
      );

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

    Nice video Andrew! Would you like to share me your email? So I could send you some projects, I would like to share with you my grain of sand

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

      Hi Javier, my email is ahess543work@hotmail.com , its also in the description of my youtube. Would love to see! Thanks so much for sharing!

  • @PierreBLIN
    @PierreBLIN 8 месяцев назад +1

    Comment puis-je faire maintenant avec Power Apps V2 ? Je ne peux pas faire "Ask In Power Apps"

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

      J'ai quelques vidéos utilisant Power Apps V2, je devrai faire une autre vidéo sur Power Apps V2.
      I have a few videos using Power Apps V2, I will need to make another video about Power Apps V2