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)
problem in using iwgen
cheeku
i am using iwgen to generate page in workflows. the command is
$gen_cmd = "iwgen -t ".$strTplPath." -r ".$strFilePath." ".$strGenPagePath;
$gen_cmd =~s/\\/\//g;
$check_submit = `$gen_cmd`;
i am able to generate the page. but the problem is that the generated page is of ZERO K size. it does not contain any content.
Can any tell me what is thr problem in this page generation.
Find more posts tagged with
Comments
skapelle
Did you check that the presentation template used is registered in templating.cfg?
Regards,
skapelle
lhdavis
I would suggest turning debugging on and seeing what the values of your $strTplPath, $strFilePath, and $strGenPagePath variables are evaluating to. Then try and run it from the command line to see if you get any error messages.
Luke Davis
Open Technology Group, Inc.
luke.davis@med.va.gov
ts_user
Check the value of "$strFilePath" to see if the DCR exists. We sometimes had the zero byte generated files when the DCR is in the process of getting saved ( does not exist) and the iwgen command is called. Debug the value of "$gen_cmd" and run the command from the command line.
sanjeevappa
Can you send me complete file to generate XML.
Iam in a need.
san