How to Export a PDF to a Specific Publication Folder Using Script Manager when Status Changes

Our Technical Support Portal has changed as we have moved to a new platform. Please visit support.quark.com to access your support tickets or to log a new ticket with us. All our existing customers should look for an email from support@quark.com for activation of their New Support Account. If you face any difficulty in accessing the new portal, please write to us at support@quark.com

How to Export a PDF to a Specific Publication Folder Using Script Manager when Status Changes

In order to write a PDF to a designated folder using Script Manager, the following prerequisites need to be in place:

  1. The script should be configured as event based with an 'OBJECT TYPE' as ASSET  and a 'CHANGE TYPE' as ASSET CHANGED.
  2. The name of the Status must be listed in QPS status listings. For example if the Status of a generated PDF changes to 'ReadyToPrint', then 'ReadyToPrint' must be one of your Status listings in QPS.
  3. The base folder for PDF generation, 'C:/Temp/' , must have subfolders created inside of it that match the Publication name(s).

Once you have these prerequisites in place, you can run the script attached to this solution, QxpToPdfOnStatusInDiffFold.js, which will write the PDF file to the correct Publication folder.

Was this answer helpful?YesNo
Topic Information
  • Topic #: 30026-1597
  • Date Created: 11/20/2012
  • Last Modified Since: 11/20/2012
  • Viewed: 1271