Answered
Include Idml in the package script
Hi Everyone,
I took this reference order from the DOM (v18.0.0.312) for packaging script. But it doesn't work as expected, throws the below mentioned error. If I re-ordered 'versionComments' to before the 'includeIdml', script creates the package with no error but the idml file is not created. But I need the 'Idml' file included in the package.
try{var myPackageOk = myDoc.packageForPrint(
to = myOutFolder,
copyingFonts = true,
copyingLinkedGraphics = true,
copyingProfiles = false,
updatingGraphics = true,
includingHiddenLayers = true,
ignorePreflightErrors = true,
creatingReport = true,
includeIdml = true,
includePdf = false,
pdfStyle = undefined,
useDocumentHyphenationExceptionsOnly = false,
versionComments = undefined,
forceSave = false)}catch(e){alert(e)}
Please suggest anything to resolve the issue or am I doing anything wrong. I am testing this code in the indesign version 17.4.

