
Hello everyone,
I'm struggling to find a way of storing documents (.pdf, .docx or similar) in an SQL Server attribute Annual_report of type "varbinary(max)" in a table that exists in a database.
Here is my problem in details :
I connected my SQL Server table with the App and added the attribute "Annual_report" to the form. I noticed that powerapps detects its type as Blob and not "varbinary(max)".. Then when added to the "Add new form" it doesn't give me the possibility to attach any file or add it ! quite weird.
So I have inserted this control inside the powerapps application to get its file/files and put them in the default value of the "Annual_report" field of the my form as u can see :
this control I named it "annual_report_attached" and I tried to get its files using annual_report_attached.Attachments and gave it as a default value to the Annual_report attribute of my form but it shows me a data type conflict and errors I can't understand.. Is there any way I can do this please ? I just wanna the attached files of this control to be inserted into my sql field..
I highly appreciate your help !
Thanks in advance.