Solved

Sync Sharepoint Content Type with Local Copy of Template

Posted on 2011-02-14
3
623 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 500 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

In case Office 2010 has not been deployed in your environment, this article may be quite useful. In our office, we wanted a way to deploy Microsoft Office Professional Plus 2010 through an automated batch file via logon script. This article is docum…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to make their project stand out over others by learning how to change colors and shapes, add spaces, change directions, and add bullets to their charts.
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.

776 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