Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-29-2020, 11:07 PM
eNGiNe eNGiNe is offline Windows 7 32bit Office 2010 64bit
Expert
 
Join Date: Jan 2012
Location: Brussels [BE]
Posts: 746
eNGiNe is on a distinguished road
Default SharePoint vs .dotx – is anyone familiar with this combination?


Colleague comes up with request "can I save a master copy of this fill-in document on SharePoint so people can create and save their own copies?" It's for a pro forma invoice.

My suggestion: use a .dotx template, so each time it's opened the user gets a new, unsaved document. Fill in, save locally, process farther … I verified this, starting with a .dotx on the file server. Just what we want!

SharePoint, unfortunately, doesn't seem to be aware of this useful .dotx behaviour! the default "click and open" opens the .dotx itself, so any content that's typed in will be saved back in the master copy. Explaining to users "no, don't open the file: you need to right-click and select a specific option so you can download a local copy" is just asking for trouble.

In-house SharePoint support hadn't even heard about .dotx …

Any suggestions or information will be welcome.
Reply With Quote
  #2  
Old 09-29-2020, 11:25 PM
Charles Kenyon Charles Kenyon is offline Windows 10 Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,125
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Make it a .dotm with an AutoOpen macro that creates a new document based on the template and closes the template.


In vba parlance, the document holding the code is ThisDocument rather than ActiveDocument.


Also, make your template Read-Only and keep a backup.


Note, I am not familiar with SharePoint.
Reply With Quote
  #3  
Old 09-30-2020, 12:09 AM
Guessed's Avatar
Guessed Guessed is online now Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,969
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Putting macros into a template in Sharepoint is not usually a good idea. If your company has any level of IT security they will have disabled macros from http sources so the macros will be disabled.

Word templates are not well suited to life in Sharepoint. It is a reasonable place to store documents or templates that can be downloaded to a hard drive but not so good for 'working' dotx or dotm templates. Working templates need to be on your hard drive or a mapped network drive. Sharepoint can be a repository for saving them but if you want them to 'work' like Microsoft intended, they need to be saved outside of Sharepoint to enable that functionality.

If there is no automation (macros) required, I would save the file as docx and put it in a Sharepoint folder where users only have READ access. They can pick up the latest version from there and will be forced to save it locally or on a different Sharepoint location if they want to change it.

If you need macros with it, the dotm template containing the code should be saved to the user's User Templates or Workgroup Templates location by your IT group. You can then either ignore Sharepoint or put a docx file (with the dotm template attached) into your Sharepoint location where your users know where to get it.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #4  
Old 09-30-2020, 07:38 AM
Charles Kenyon Charles Kenyon is offline Windows 10 Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,125
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

I generally recommend distributing (through the user login) workgroup and global templates to the appropriate folders on a user's computer. That is true with traditional network drives as well as SharePoint.

When I was doing this I used the old XCOPY command for the updates. There are likely more efficient methods available now.
Reply With Quote
  #5  
Old 09-30-2020, 10:43 PM
eNGiNe eNGiNe is offline Windows 7 32bit Office 2010 64bit
Expert
 
Join Date: Jan 2012
Location: Brussels [BE]
Posts: 746
eNGiNe is on a distinguished road
Default

Thanks for this useful information – or, to put it another way, thanks for confirming my suspicions.

> If your company has any level of IT security …
Oh, yes. Oh yes indeed. It's taken months to find the one person in the support staff who realised my PC had to be moved (for an hour!) to a different security zone so that I could update licences from a major software company.

Fine-tuning SharePoint access is a theoretically interesting solution, but I'll be shot down in flames if I suggest polluting our environment with folders. I'll take a look at the possibilities for managing read access to an individual document, and then be shot down for adding to the load of our non-existent local administrator.
Reply With Quote
Reply

Tags
sharepoint, template

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Old and familiar programs suddenly stopped calculating Crazkd2 Excel 2 06-29-2017 10:55 AM
saving .dotx template RockwellChest Word 0 02-08-2017 12:38 PM
Pop-Up Message Box in Template (.dotx) eakra93 Word 2 07-26-2016 04:31 AM
Convert .dotm to .dotx rogelinepaula Word 1 06-04-2015 09:39 PM
Editing .dotm/.dotx/dot file martinlest Word 9 10-09-2013 01:57 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:27 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft