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)
Defaulting to Last-Used TPL
jerm
Is there a way to default to the last-used TPL when selecting Preview or Generate within a DCF? (i.e., if a user Previews a DCR using TPL "C", then when he later selects Preview it should already have TPL "C" selected.)
Find more posts tagged with
Comments
Adam Stoller
I do not believe that any such feature currently exists. sorry.
--fish
(Interwoven 5.5.2 Certified, Senior Technical Consultant)
jerm
Hey Fish...
Can we save the TPL last-used in the DCR, and then get the TPL list to read from the DCR some how? I got a Project Manager over here telling me that it can be done..
Thanks for your help.
Jeremy
Just an idea.
What about in the TPL itself, write out to a config type file that has the users name and the TPL name.
Then in the DCT somehow read this file, check which user it is and read back the TPL last seleted. Somehow pass this value when Preview/Generate is selected.
Not sure how all that can be done but I guess you may have already been thinking along those lines?
Jeremy
jerm
I like the way you think..
There looks like there is a script that pretty much grabs the templating .cfg file and displays the TPL's for the category. It seems like we'd somehow have to enhance the script that reads in the templating.cfg file to check some other file when displaying its list of TPL's.
Adam Stoller
Be careful about changing any code that comes as part of the product. (a) it's essentially a violation of the support contract, (b) it will probably get lost when you apply a service pack or upgrade to the next version.
If you still decide to go this route - make sure you document, very carefully and with great detail, what changes you made and why.
--fish
<i>Strolling Prime Minister of no fixed address</i>