Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Error creating new documents using createNewDocumentWithProgID

$
0
0

Hello,

I am generating a link that allows users to create documents based on a content type template but without any luck. The office client says the operating system is not configured for this kind of application. This is Office 2013 x64, IE10, Win8, SP2013. If I try through the New button in the document library then everything works as expected.

The link generated is:

<a onclick="CoreInvoke('createNewDocumentWithProgID', 'http:\u002f\u002fportal.lab.local\u002fshared documents\u002fforms\template.dotx', 'http:\u002f\u002fportal.lab.local\u002fshared documents', 'SharePoint.OpenDocuments', false);">Test</a>


<Lambros />




Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>