
Hi Mates,
SQL Table
| Title | URL |
| Test1 | dfadfdajdfdbdlfbdf12nddfb |
Form:
Title: Input Control
Attachment: Attachment control
as per requirement, I need to save attachments in the SharePoint folder. but actually, we have to use SQL table to save form/metadata field values.
Also when users edit the item corresponding attachment has to refer in form.
How do I save/maintain SharePoint only for attachment?
During submitting a new item how to convert base64 formate and update that URL in SQL for corresponding attachment.
Please assist me.
HI @Anonymous ,
Do you want to save files into Sharepoint library then save the file’s URL into SQL server or Azure?
If you do, you could use Power Automate to achieve the goal. Please refer to the video below:
https://www.youtube.com/watch?v=3QaiM8SeWfM
Summary steps:
Patch(SQL_name,Defaults(SQL_name),{Title:First(AttachmentControl.Attachments).Name,URL: varURL})