Category Archives: API Editing publication packages

Define publishing targets for publication combinatons

This article describes the automation of the dialog Define Publishing Targets on a publication combination. Roughly speaking we have always 4 stages I need to publish via FTP.  These stages are the following: WORK, DEVE, TEST, PROD. If an author needs to publich to TEST I want to have all files in WORK and DEVE [...]

Create publication combinations within a package

In this example I want to describe how to update publication packages after introducing a new project variant. This is the jRQL automation for the dialog Edit Publication Package on a publication package. The main method here is PublicationPackage.addSetting(). Similar as the Dialog in SmartTree you can create a new combination by copy the values [...]

Set published pages folder for all publication combinations

After you created all publication combinations within a package you need to set the published pages folder for all combinations accordingly. See the following lines of code with explanations below. String logonGuid=”BDEBF9E5DB8C4D1B88B01DDA25DE370A”; String sessionKey=”720BA5E36CC546788629C926D6030D66″; String projectGuid=”73671509FA5C43ED8FC4171AD0298AD2″; CmsClient client = new CmsClient(logonGuid); Project project = client.getProject(sessionKey, projectGuid); // input value String subFolderName = “about_us”; PublicationPackage pubPackage [...]

Create and navigate publication structure

Because on the Hapag-Lloyd’s website every RedDot page needs to be published as a HTML and XML page synchronously, the top folder within publication structure correspond to these project variants. The publication structure below uses folders per language code and below all main menu item of the website needs to be created. See the following [...]

How jRQL can help you setup publication combinations

If you have a RedDot CMS project with several language variants and project variants the configuration of publication packages is very tidious, because you have to setup every combination. And on a usual website you will have several subfolders (in the URL), so you need several publication packages for different parts of your project. On [...]

Follow

Get every new post delivered to your Inbox.