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)
Automatic DCR Name
SMB
We have a requirement to automatically name the dcr when the user first saves it. The dcr name and directory need to be taken from selections in the dcr. For Example: In the dcr the user has selected region - "Eastern" and state - "PA". The dcr name is "PA" and it is stored in the "Eastern" directory. The user should not have the option of changing the name. Has anyone done this or have any suggestions?
Find more posts tagged with
Comments
Migrateduser
Interwoven, this seems to be a pretty common requirement.
You can do this with FormAPI.
http://devnet.interwoven.com/forums/cgi-bin/showflat.pl?Cat=&Board=PRODUCTS_TEMPLATING&Number=13089&page=&view=&sb=&o=&vc=1
I no longer have the email I sent Kelly with the sample code so please contact her for it if you are interested.
Adam Stoller
One of the OOTB templating examples under 'userscript' does automatic naming of the DCR based on fields - I cannot remember which one it was (I think it started with a 'c') but I used it once and it worked very nicely as an example to base my code on.
--fish
(Interwoven Senior Technical Consultant)
mogoo
The shoescript has it, too... See
http://devnet.interwoven.com/site.fcgi/techlib/49148
Admin.Test-2009.05.20-1008h.13s.rar