Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Sync Sharepoint Content Type with Local Copy of Template

Posted on 2011-02-14
3
Medium Priority
?
653 Views
Last Modified: 2012-06-21
I have an excel template that I have created as a "Content Type" on my sharepoint site.

At times, we need to update certain data on that Excel template.  We do this within our local network via a local copy of Excel.  When I save the new, updated version of the template I want it to update/sync with the "Content Type" version on the sharepoint site automatically so when a user creates a new document of that specific content type they are creating the document based on the changes we just made to the template.

I know I can do this manually, but we are planning to add many more content types to the sharepoint site, all which are regularly updated.  An automatic syncronization process would be preferable.

Maybe I can do this via sharepoint as well.  If I kept the original copy on our sharepoint site under some sort of other document repository that holds all our templates, maybe I could utilize sharepoint's revision control feature as well.

Is there a way of tying all this together??
0
Comment
Question by:fwillerton
  • 2
3 Comments
 
LVL 14

Expert Comment

by:KoenVosters
ID: 34892399
You could code it and have it update the files once a day using the SPContentType.DocumentTemplate Property.
But if you are trying to build a solution like this, I would propose to see if you can get the base information out of your excel so that you have a static template that can fill itself with information from somewhere else so that you don't need to update your excel files every time.
0
 

Author Comment

by:fwillerton
ID: 34900256
Hmm.  That might work (static template).  However, how would I keep certain data sycronized to that template then?
0
 
LVL 14

Accepted Solution

by:
KoenVosters earned 2000 total points
ID: 34901118
Just from an architecture point of view, in my eyes the best solution would be that the xls would be generated using openxml and stored in a SharePoint library. The excel file will be generated dependant on the data that you provide. If you change the data, the excel file would be generated differently.

If that is not an option, you could put data connections in the excel files to pick up the data.
http://technet.microsoft.com/en-us/library/cc262739(office.12).aspx
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
Lost Word File? Eagerly, need it back? Read ahead; this File Recovery guide is for you.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question