I have a VF page where I need to attach files for an Email to be sent. I am using apex:inputFile for uploading the attachments. When you click on the "Browse" button next to the attachment, it opens up "My Computer" view to attach any files from your Hard Drive which is all fine.
What I want is, if a user clicks on Browse, he should get the Standard Salesforce attachment window, which also allows to attach documents from Salesforce folder.
All the strike-out are Salesforce folders and if I select any one of them, I get the documents inside that folder.
Is there anyway to recreate this without writing the whole logic in a Custom controller for apex:includeFile ? How would you attach files saved in Salesforce folders.