Home
TeamSite
Creating a Generic Template
Al_SPT
We are a large company with several Intranet and Internet websites/subwebs. These subwebs have separate work areas and workflows to accommodate the different content providers and approvers in our business areas.
To achieve a common look and feel we would like to several of the sub webs use a common 2nd level web page. There will probably be separate generic pages for the internet and the intranet. We are planning to create a generic data capture.cfg file as well as a generic presentation template that could be used in all our workareas. I was wondering if anyone had ideas or suggestions regarding best practices for establishing a generic data capture.cfg and presentation template that could be used across multiple workareas and workflows.
Find more posts tagged with
Comments
Adam Stoller
Using a single DCT/PT pair across multiple workareas on the same branch is trivial - submit the DCT and PT and do a Get Latest in the other workareas.
Using a single DCT/PT pair across multiple branches is more complex. You can try to put most of the DCT code into a centralized script that is called via an 'inline' directive in each branch's instance of the DCT, and you can try to put all the PT code in a centralized location reference it via an iwpt_include directive or, set it all up as a Perl module and include it via a 'use' statement in each of the branch's instances of the PT.
I filed a FR (see
this post
) which would, IMO, make this much easier to implement - if you think it would work for you, contact Support and ask to have your organization's name added to it. Unfortunately, it is a FR and as such it won't help you right now - but hopefully it (or similar functionality) might make it into the product in the not-too-distant-future....
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
gzevin
Using a single DCT/PT pair across multiple workareas on the same branch is trivial - submit the DCT and PT and do a Get Latest in the other workareas.
just to elaborate this a bit further - a special maintenance workflow could be built, so it is invoked every time a 'generic' DCT is changed. It will take some initial coding and establishment of config files, but then it will work as a breeze.
Greg Zevin, Ph.D. Comp. Sc.
Independent Interwoven Consultant/Architect
Sydney, AU