On April 27, 2024, our Sign-in and Create Account options will be unavailable from 9am-12pm ET. During this maintenance window, developer account access and free trial registration will be unavailable.
Wierd iw_include Error - Works in Preview
Gregg Faus
Verified
I'm getting an odd publishing command error whenever I try use a <iw_include> reference in my .tpl. A preview works fine, but when it comes time to generate, I get a publishing error. From my debugging I've narrowed it down to the temporary code that iwpt_compile.ipl creates. Take a look:
<iw_include pt="templatedata\include\menu_reference.tpl" />
<iw_include pt="templatedata\include\menu_reference.tpl" mode="cwd"/>
Any suggestions?
TS 6.5 / WIN2k
my $comp = TeamSite:Tparser::compile_page(Error:
undef,
$iw_include_file,
[
'-pt' , $iw_include_file,
'-iw_pt-arg' , 'eval_init',
'-iw_pt-dcr_data',
$iw_parser->{'iw_xml'}{'data'}{'iw_pt'}{'dcr'},
# filtered list of command line args
'-ofile', 'Y:\default\main\projects\project_name\WORKAREA\client\web\global\new_on_website.aspx',
'-iw_pt-dcr', 'Y:\default\main\projects\project_name\WORKAREA\client\templatedata\Templates_ProjectName\Whats_New\data\whats_new',
'-iw_include-location', 'Y:\default\main\projects\project_name\WORKAREA\client\',
'-ocode', 'test.ipl',
],
'eval_init' , \%iw_param,
'pkg_suffix', $_iw_include_pkg_suffix,
'manifest_fh', $iw_parser->{manifest_fh},
);
iwpt_output($comp);
}
Bad name after ocode' at test.ipl line 153.
If I remove or modify the command line parameter "-iw_include-location" to remove the last slash or remove it entirely, it works just fine. I've tried variations on the include syntax, all without luck. <iw_include pt="templatedata\include\menu_reference.tpl" />
<iw_include pt="templatedata\include\menu_reference.tpl" mode="cwd"/>
Any suggestions?
TS 6.5 / WIN2k
Categories
- All Categories
- Cloud Editions
- 1 Thrust Services
- cat as link
- 1 Core SaaS Application development
- 10 Developer Announcements
- 15 General Questions
- 33.4K TeamSite
- 141 Application Governance & Archiving
- 15.2K Designing Analytics Reports
- 1K DevShare Downloads
- Core SaaS Applications
- nested parent
- 4.3K Developing Analytics Applications
- 8.8K Documentum Developer Forum
- Media Management developer
- 159 Transactional Content Processing (TCP)
- 1.7K Web Experience Management
- 55 Tempo Social
- 1 XM Fax