web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Uploading Image from s...
Power Apps
Unanswered

Uploading Image from signature and add to attachments

(0) ShareShare
ReportReport
Posted on by 69

I Have a form that is working and finished.

 

the only thing i am stuck on is that when the user presses submit i need the image from two pen inputs to be added to the the attachments.

 

I have already got the binary data from the signature, but we require an un-editable image of the signature.

 

Both of the images have been generated from the pen inputs on a hidden page and the images are called

Indsig.Image

DriverSig.Image

 

At the minute i have the forms split in to 3 pages. so on submit my code is:

 

Set(vardsig,JSON(DriverSig.Image,IncludeBinaryData));
Set(varisig,JSON(Indsig.Image,IncludeBinaryData));
Patch(
'Local Site Induction Log',
varformdata1,
Form1.Updates,
Form2.Updates,
Form3.Updates
);
If(
IsEmpty(Errors('Local Driver inductions')),
Notify(
"Success",
NotificationType.Success
);
Navigate(Ss1),
Notify(
First(Errors('Local Driver inductions')).Message,
NotificationType.Error
)
)

 

How would I add the code to get the two images and save to attachments.

 

Thank you in advance

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,034 Most Valuable Professional on at

    Hi @MRBCODC ,

    There is a process in this video from @RezaDorrani to add attachments from collections, which may suit. 

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • MRBCODC Profile Picture
    69 on at

    Hi @WarrenBelz 

     

    I have watched that video it does not up load the attachments how i would like them to.  I have the images on a hidden scree in power apps. I do not want the user to to actually add the attachments i need it to be automatically done in the background on submit of the form.

     

    Am I missing something from that video? the is one of the first apps I have created and still very new to this.

  • WarrenBelz Profile Picture
    153,034 Most Valuable Professional on at

    Hi @MRBCODC ,

    If you are new to Power Apps and @RezaDorrani 's process does not suit your needs, I cannot offer anything further as that is the only process I am aware of to attach images to a List without a Flow.

  • MRBCODC Profile Picture
    69 on at

    thank you for you help

     

    i have ended up creating a certificate in pdf format that has all the images of the signatures i wanted to capture and more using flow.

     

    I am just trying to work out how to add that file to the SP list as an attachment at the end of the flow.m which I think might be easier than trying to it with an image.

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard