cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kandibawa
Level: Powered On

Attaching saved signatures from a collection to a sharepoint list item.

Hi All,

 

It's been 3 days and I'm stuck on this problem.

I need the user to submit a new form and be able to add signatures from the PenInput as attachments to the submitted form on SharePoint.

 

I am adding the pen inputs to a collection and then converting it to a JSON file with binary values, after that I am creating a flow to add the attachments to the sharepoint list.

The problem here is, when i'm calling the flow in powerapps, and I try to use Form6.LastSubmit.ID to pass the ID of the last submitted form, it does nothing. 
If I hard code it, say put 20 as the ID , then the flow works fine and adds the attachments to the item with ID 20.

PLEASE HELPPPP!!!

 

P.S: in the flow, i've tried both scenarios i.e for ID, asking powerapps for the value and adding a step to pass a number to create an object then use that passed value to get an item from sharepoint and using that in ID.

 

Thanks in advance 🙂 @mdevaney  @v-siky-msft  @PowerAddict 

5 REPLIES 5
Super User
Super User

Re: Attaching saved signatures from a collection to a sharepoint list item.

How are you submitting Form6? Is it using a SubmitForm or a Patgh function?

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

Thanks!
Hardit Bhatia
The Power Addict
https://thepoweraddict.com
kandibawa
Level: Powered On

Re: Attaching saved signatures from a collection to a sharepoint list item.

Hi,

I'm using SubmitForm to submit the form.
I've checked using many ways but Form6.LastSubmit.ID does not return any value.

Community Support Team
Community Support Team

Re: Attaching saved signatures from a collection to a sharepoint list item.

Hi @kandibawa ,

Do you want to update sharepoint Attachments by using saved signatures?

I'm afraid it's not supported currently in powerapps.

You could only use Attachments control to update sharepoint Attachments.

And using Attachments control, you could only choose pictures in local.

As an alternative way, I suggest you add a hyderlink column in your sharepoint list and then update saved signatures to hyderlink column.

You could use this formula to update:

Patch(...,....,{hyderlinke column:Text(PenInput1.Image)})

If you want to display the signature in your sharepoint form, you could insert a image control in your hyderlink datacard.

Set the Image's Image:

Text(PenInput1.Image)

Then the image control will display the signature.

1223.PNG

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
kandibawa
Level: Powered On

Re: Attaching saved signatures from a collection to a sharepoint list item.

I’ve found a way around to attach signatures as sharepoint attachments, I’ll be posting the solution tomorrow:)
Thanks
student353
Level: Power Up

Re: Attaching saved signatures from a collection to a sharepoint list item.

Appreciate you sharing your solution, this was a recent question.

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,477)