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)
? on previewing DCRs
LooseCannon
Hello All -
I'm having a problem with previewing a DCR that resides in a sub dir of the data dir. Basically when I try to preview the DCR from the DCT absolutely nothing happens. I have moved the DCR directly under the data dir and was able to successfully preview it. I'v been unsuccessful at finding any documentation on how to preview DCRs within a sub dir of the data dir.
Does anyone know how to do this?
Any thoughts will be greatly appreciated!
Find more posts tagged with
Comments
Migrateduser
you don't normally "preview" a dcr, but rather preview the generated output of a dcr and tpl (or in some instances you preview the dcr, but in combination with an application server of some sort).
What do you mean by previewing a dcr? Are you opening up a dct screen and then clicking the preview button or are you just navigating to the directory where the dcr is stored in the TS gui and clicking on the file name?
Second, when you say you can't preview dcr's under a subdirectory of the data directory what sort of error are you getting (if at all). Prior to TS 4.5.1 (using java templating) you could not store dcr's in subdirectories (this was just an early limitation of the cgi based datacapture client and was later fixed in TS4.5.1 java templating and TST 5.0.1 and above).
We need more info to help out any further.
LooseCannon
I open up a dct screen and then click the preview button and nothing happens.
Environment is:
browser based template using Teamsite 5.0.2
Migrateduser
There are two things that I would suggest trying:
1) check the iw-webd error log when you attempt to preview from the dct screen. See if there are any errors being thrown that are showing up there. The problem being is that if there are any warnings thrown by the iwpt_compile.ipl then it will show up in this log as an incorrect http header.
2) try running iwpt_compile.ipl against the dcr/tpl (which is what the gui is doing) and make sure that you get output with no errors. If you get errors then they may be preventing the gui from displaying your dcr output correctly.
LooseCannon
After I ran the iwextattr cmd on the DCR, it worked
Thanks nacks for the suggestions