Category Archives: API Publishing jobs and reports

Publish a page – manually configure a publishing job

To configure a publishing job in detail jRQL has the class PublishingJob. To create a publishing job instance you need the start page and the flags if you want to publish with following pages and with related pages. The following lines will prepare a publishin job starting from page with ID 34009 without following pages, [...]

Publish a page – basic style

You can immediately publish a page you have under your fingertips with directly available method on a page. The easiest way to publish a page in one language and one project variant without following pages goes  like this: String logonGuid=”0904ABF0E43443D2881FE7481339650E”; String sessionKey=”490EC675042F4C5A8A6DF1ED63ADD7A6″; String projectGuid=”268F46EF5EB74A75824856D3DA1C6597″; CmsClient client = new CmsClient(logonGuid); Project project = client.getProject(sessionKey, projectGuid); ProjectVariant [...]

Getting project and language variants

Before we can start how to publish a page via jRQL I need to introduce how to get project variants and language variants. You can get a project variant in two different ways, it is straight forward: ProjectVariant pv1 = project.getProjectVariantByGuid(“project variant guid”); ProjectVariant pv2 = project.getProjectVariantByName(“project variant name”); Accessing the language variant you want [...]

Follow

Get every new post delivered to your Inbox.