You're in luck! It is possible with the use of the visualforce tag:
Code:
<apex:inputFile
The real magic happens in your controller where you can reference your uploaded file with the use of a
Code:
Blob
Check out the Apex reference for that one. You can then instantiate an Attachment object and assign the blob to the Attachment body. After that, do a DML insert, upsert or whatever is necessary.
a
Check out the Apex reference for that one. You can then instantiate an Attachment object and assign the blob to the Attachment body.
After that, do a DML insert, upsert or whatever is necessary.
Hi..
My idea is you have to use two vf page and custom button..
In first page u write a code for save PDF usnig blob..
In second page u call ur pdf page using renderas pdf
my solution
dgindy wrote:
my solution
Nice, what does the Pg.getContent() return? Is it a reference to a blob?
Cheers