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)
Include Common Functions
mickdundee
Hi all,
I have a couple of custom perl functions that I'd like to call as an include file and use across multiple presentation templates, so that I don't have to duplicate that function on every template. Has anyone got a solution to this.
Thank You
Find more posts tagged with
Comments
Adam Stoller
You might want to look at the information regarding creating custom tags for presentation templates (I believe it's covered in the TeamSite Templating Developer's Guide, but you should probably also check the on-line information on your server (
http://server/iw/help/tst/pt
)
Beyond that - it's a matter of basic Perl programming where you need to put the code in a well-known location and refer to that location via the appropriate calls within your PT.
--fish
(Interwoven Senior Technical Consultant)
iwovGraduate
Also look at KB Article: 2276: How to use your own perl modules in a presentation template.