Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Common DCT in two folders
fgomez
How could I launch a new form giving the DCT and the data location target?
The aim is to use one common DCT to provided contents in two different folders.
Thanks in advance
Find more posts tagged with
Comments
lhdavis
Are you asking about using one DCT to create one DCR to create two separate pieces of generated content in two different directories? Or using a DCT to create multiple DCR's in different templatedata/<DCT name>/data directories?
For the former, just change the path for the generated content.
Luke Davis
Open Technology Group, Inc.
luke.davis@med.va.gov
Adam Stoller
The only way to do this currently is to either (a) use symbolic links for your DCT [which only has a chance of working on Unix and I can't remember if it even works there], or (b) create a shell of a DCT in both locations and use an directive to read the contents of the DCT into the shell.
I'm assuming that by "different folders" here you are talking about directories on different branches - since it really wouldn't make sense (IMO) to have the same DCT for two different category / data-types on the same branch (again - IMO).
If you're interested - you can see the feature request I filed regarding this
here
- and if you're still interested after reading that - contact Support to have your organization's name associated with it.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com