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)
Including DCTs
BomProveito
Howdy!
We have dozens of data capture forms that share common elements. How can we reuse (non-JavaScript) code without duplicating it in every DCT?
Thanks,
S.
Find more posts tagged with
Comments
james1
You could use a server-side inline callout to insert common DCT elements.
-- James
--
James H Koh
Interwoven Engineering
james1
Actually, now that I think about it, if the common DCT elements are static, this is probably inefficient. Perhaps you could set up an automated system (using a Perl script, or "make", or m4) to generate your DCT's for you, using common DCT elements.
There is not currently a facility for DCT's to inline-insert DCT elements from an external file, other than the inline callout.
-- James
--
James H Koh
Interwoven Engineering
rkaramel
I would say that go for Inline callout. Best and easiest way.
CustomSearch.java
BomProveito
It works well.
Thanks to both of you.
Regards,
S.