Solved

Sync Sharepoint Content Type with Local Copy of Template

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
This article will show you how to use shortcut menus in the Access run-time environment.
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now