Dear Expert(s),
Kindly help me if possible. I am facing a problem which is causing a delay in my deliverable to my client.
I have built a custom ribbon feature, i select documents from document library of different kind and then click on this custom ribbon button which uses a javascript COM file to open these documents for editing in their respective client programs instead of opening them into browser.
I used the following function to achieve this:
editDocumentWithProgID2({Document URL}, '','SharePoint.OpenDocuments','1',{Site URL},'0'); Document URL is lets suppose: /sites/practice/DocLib/DocWord.docx and Site url is /sites/practice
Now its doing fine but an dialog box is displayed:
I want this dialog not be displayed. The file should be directly open in client program.
Also I need to check Use my local drafts folder for PDF type files.
Any help? Code would be great if can be posted here.