Say I create a document library and tell it to use an Excel.xlt file
as the template for new documents.
The "New Document" hyperlink is:
javascript:WPQ3createNewDocument();
This URL seems to have a curious feature in that the Save and Save As
menu options in the Excel window will save back to the document
library and then further, present the doc library list item so the
user can enter the metadata, i.e. the owner, description and status.
Can anyone please tell me how I can duplicate that function somewhere
else just by using a hyperlink?
What I'd like to do is, on one page, provide you with a link that will
allow you to create a speadsheet using the .xlt template and then save
it into the doc library.
I had some success using the following anchor link:
<A onfocus=OnLink(this) onclick="DispDocItemEx
(this,'FALSE','FALSE','TRUE','SharePoint.OpenDocuments.1')" href
="\\MyServer\MyArea\MyDocLibrary\Forms\MyExcelTemplate.xlt" >New
Spreadsheet From Template</A>
But when I go to save it, it wants to save it in the FORMS folder and
that's no good.
Does anyone know the hack to the WPQ3createNewDocument(); JavaScript?