Community Tip - You can change your system assigned username to something more personal in your community settings. X
Hello,
I am trying to invoke PE from my CMS for publishing. I am using this URL form CMS:
sch_e3.acl has following function as described in the PE Programmer's guide:
local inFile = "D:\cms_export\1654640360.xml";
local outFile = "D:\output";
local parameters[];
local resultArray[];
parameters[ "type" ] = "pdf";
parameters[ "stylesheet" ] = "d:\stylesheets\stylesheet.fos";
local resultString = e3::convert2( inFile, outFile, parameters );
e3::stringToArray( resultString, resultArray );
if ( resultArray[ "result" ] == "ok" ) {
# conversion succeeded: continue processing
}
else {
# conversion failed: error page is in resultArray[ "page" ]
}
This does not work, how can I invoke publishing?
I tried compose_for_pdf() method as well, that simply failed to compose.
Can anyone suggest with code please.
Thank you,
Shivaram
Hi Shivaram,
I don't see too many things in the parameters and array.
Is there a reason you're using f=ACL, rather than f=convert?
Perhaps that will work as desired?