Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Templating config and GetLatest (LONG and TRICKY)
phbillard
Hi
Here is my problem: we installed SP2 for Teamsite and Templating 5.5.2 and our templating configuration is not working since that. Let me explain, before we had
BranchA
|---- WA 1
| |-- templatedata
| | --- category 1
| |--- datatype 1
|---- WA 2
| |-- templatedata
| | --- category 1
| |--- datatype 2
The 2 WAs were using the same category but different datatypes. This was working with regex in templating.cfg so even a GetLatest would update both workareas with the 2 datatypes but only the allowed datatype would work in either WA (impossible to create/view/update dcr from a not allowed datatype).
<data-type name="datatype 1" dcr-type="iwov">
<locations>
<branch vpath-regex="/[^/]+/main/BranchA/WORKAREA/WA 1" />
</locations>
...
</data-type>
<data-type name="datatype 2" dcr-type="iwov">
<locations>
<branch vpath-regex="/[^/]+/main/BranchA/WORKAREA/WA 2" />
</locations>
...
</data-type>
Everything was running smoothly since SP2. The regex limitating till the WA was "a bug" which is corrected in SP2 so we can only limit the regex to the branch.
This is a major regression and has a terrible impact on our branching structure. Now a GetLatest in WA 1 would not only bring back datatype2 but allow to use it which is absolutely not wanted !
We have solved this issue by populating both WA with both datatypes and putting in private datatype2 in WA1 and datatype1 in WA2. This implies an awful load of work, it's easy in the example with 2 WAs 1 category and 2 datatypes, image that with 5 WAs 20 categorys and a total of 60 datatypes ...
Finally what we are thinking about now is to "bypass" the GetLatest function by adding a config file referencing the allowed categories/datatypes for each WA. Do you have any idea to implement this ? Or any suggestion other than re-designing our branching structure !
Philippe Billard
Teamsite Administrator
Air France
Find more posts tagged with
Comments
There are no comments yet