createNewDocumentWithProgID(strTemplate, strSaveLocation, strProgID, bXMLForm)
- version: WSS 3.0
- source file: Core.js (ln 1123)
- mapped by: John Vivian
- purpose: Generates a new document in a document library using the supplyed document template
- example:
createNewDocumentWithProgID('http:\u002f\u002fwssdev\u002fDocument Library\u002fForms\u002ftemplate.dotx', 'http:\u002f\u002fwssdev\u002fDocument Library', 'SharePoint.OpenDocuments', false)
This will open Word with a new document using the template located at http:\\fwssdev\Document Library\Forms\template.dotx and word will save to the Document Library located at http:\\fwssdev\Document Library
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.