Automated creation of Articles from Stories

Build 1501 on 14/Nov/2017  This topic last edited on: 28/Oct/2016, at 11:48

If a Story is selected in the grid and inserted onto a Page Document (extDoc) it will automatically be copied to an Article and placed in the default folder configured in the global\gn4\InDesignConfig.xml configuration file.

A Story cannot itself be added to a Page Document so on request to insert it into one the Story will be automatically copied and an Article generated and it is the Article that is inserted into the Page Document. The folder that the Article is generated in is configured in the InDesignConfig.xml file as the SendToNewsroomFolderPath parameter and is a global system location. The InDesignConfig.xml example below is configured for all Story to Article generated files to reside in the /Wires folder:

 ArchivePDFVariantName="PDF_[Press quality]"

 PrintPDFName="[Press quality]"

 PageCompleteWorkstate="Page Closed"

 PrintQueueName="PDF file"

 PrintSinglePages="false"

 port="5679"

 ColourForMissingAdverts="16711935"

 SendToNewsroomFolderPath="/Wires"

 AutoMarkNonEmptyTextBoxes="true">

</InDesignConfig>

The Article that is created will be named using the original Story Name plus a unique GUID that is generated on-the-fly so that the overall Article name cannot be a duplicate of an existing Article name. If a used Story is inserted into a Page Document a second time the GUID will be different and therefore the overall Article Name will be unique.

The original Stories Copied To column in the Story List Grid shows details of the stories last conversion to an Article. It displays the Article Name, the time and date of when it was converted and the user who initiated the conversion.