Choosing a Publish Target
Multi-Target Publish gives users the option to publish to different servers, expanding
their options past the default production server. Users can extensively test server-side
code, develop new redesigns, or test any major site changes on an alternate server
before publishing to the public-facing web server. The target server can be configured to be only accessible from within the campus network,
from behind a firewall, or for certain IP address. Remember when configuring any production
servers or publish targets to open firewall settings up to the OmniUpdate IP address
ranges in case support is needed.
Level 10 administrators must have already set up publish targets in Setup > Site for publish targets to be visible for use and selection. If no additional publish targets have been configured, then the drop-down will not be visible on any of these screens. The public-facing production server is the default for publishing, but an administrator may also change the default publish target. In this case it will be shown at the top of any drop-down used for server selection. Users only see the servers to which they have access. Users with the proper permissions can also upload, and perform various file operations such as compare and preview pages in different publish targets.Other notable functionality with Multi-Target Publish is that any form of publishing allows for server selection, re-usable content such as RSS feeds and LDP assets are supported, and that Dependency Manager continues to ensure that links are always up to date, even across alternative publish targets. Additionally during publish users may select a checkbox to publish unpublished dependencies. This allows for making sure that any content linked to from dependency tags within the page to be published will also be published so that the published page will contain the content.
Note: When viewing servers in a drop-down selection list, auxiliary sites are also visible.
Once configured, the defined publish targets are available to be chosen in various drop-down menus as the target web server. This includes for previewing and comparing pages, and any form of publishing, as well as for inserting links, images, and other media. When viewing the Pages view of the site, the available servers, including the staging, production, and additional publish targets are shown in tab view.
Example of Contents > Pages View
Like with the main production server, an alternative publish target also supports the following functionality, based on user permissions: image and media inserting and editing, upload and zip import, move, rename, and delete.
Previewing with Multi-Target Publish
A publish target can be selected and the page viewed in Preview mode. Multiple outputs can be viewed on the various servers. During page publish there is a server choice in the drop-down. This allows for the comparison of various binaries with the different outputs. Preview mode displays the view of the configuration of the staging server, but it includes the binaries, CSS, and other such files from the defined publishing target.
Drop-down Selection During Preview
Comparing Pages with Multi-Target Publish
Revisions that can be selected for comparison include the versions on different servers. Users can compare the currently configured version with previous versions of a page. The Multi-Target feature also allows for comparison of the currently configured version with the versions that have been published to the various servers and are currently live. A user who does not have rights to the particular target will not be able to compare the currently configured page with that target.
Publishing with Multi-Target Publish
When publishing a page, the desired publish target can be selected from a drop-down. The user must be in the publish group and have the appropriate permissions for the publish action. If a user has page publish permissions, but not server publish permissions, the user will be able to view the pages, but not publish.
The Final Check screen and Confirm dialog include a drop-down where the target server can be changed from the default to another server. A target server can also be chosen with Scheduled Publish.
Example of Publish Target Drop-down
Inserting Links, Image, and Media with Multi-Target Publish
The default publish target can be overridden also in the WYSIWYG editor when inserting links, and inserting/editing images and other media with the OmniBrowser.
A user can choose another server and it will appear in the browser window just like the normal staging and production servers. From this point, the process is just like inserting a link, image, or video normally. Auxiliary sites will also be visible. It is valuable to include clear naming conventions to distinguish between the publish targets and auxiliary sites.
All methods of publishing is supported including with scheduling a publish, and at the time of publish. Also available at the time of publish is the ability to select a checkbox to also publish dependencies of the page that are unpublished.
1. Click Publish Now.
2. Select a publish target from the Publish Target drop-down.
3. Click Publish to proceed as usual with publishing.
Example of Schedule Publish Target Publish Drop-Down