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)
previews
avdhut
I have got presentation in ATG Dynamo. I do not have any presentation pages in teamsite. The data captured moves into database and displayed in atg web app.
Can I set the preview to to redirect to ATG website URL and pass the data category/data type/dcr name as a parameter to that URL ?
This should not affect preview functionality of any other branch...it needs to work only for my application branch and workarea...
thanks in advance for any help..
Avdhut.
Find more posts tagged with
Comments
sajiddc
I believe you can do that.
Migrateduser
I've done similar work with TPLs for PDF generation. In the TPL you can just get the dcr name, append it to the url and then redirect to the url.
error.bmp
avdhut
thanx john,
to me this means creation/registration of tpl file for every data type..isn't there any shorter way of doing this..may be some changes in some config file???
error.bmp
Adam Stoller
You could create a custom tag for use in any of your PT's (see documentation) - or you could use the iw_include() directive in your PTs to include common-PT-code (again see documentation for more details) - so yes, you'd need a PT for each of the data-types, but the contents of that PT could be pretty trivial.
--fish
(Interwoven, Curriculum Development)
Migrateduser
I forgot one thing-- you will need to check if the user is just doing a preview or a real generation. I checked by seeing if the file name matched the "zz" convention that templating used. After the preview file is rendered, you will want to do your own clean up (unlink).