Customize the Publish WizardAdded by IBM on December 16, 2010 | Version 1 (Original)
|You can customize the Publish Wizard to make adding Lotus® Quickr™ documents to an ECM repository easier FOR USERS.
You can customize the Publish Wizard to make adding Lotus® Quickr™ documents to an ECM repository easier FOR USERS.
Parent topic: Configure document publishing to ECM repositories
Publish wizard customizations
You can publish a document or page from Quickr to the ECM server.
The default Publishing Web user interface (Publish Wizard) has two windows.
- The Publish to External Location window is used to choose the publish target location.
- The Select Publish Option window is used to choose how to deal with the published document or page. If metadata (properties) mapping is configured, you also see a Metadata Mapping window with which you can edit the values of metadata.
By using qpconfig.xml, you can customize the Publish Web user interface as shown in the following table:
Table 1. Qpconfig.xml settings for the publish wizard
|<targetHost>http://lwptsthink47.cn.ibm.com:9080</targetHost> ||URL of default ECM server. |
|<targetLibrary> /QuickrRoot/QKSmokeApplication/QKSmokeLibrary </targetLibrary> ||Path of default library in default ECM server. |
|<targetFolder> /Test/</targetFolder> ||Default doc publish target folder in default ECM server. |
|<setDefaultOperation>link </setDefaultOperation> ||Default publish action (copy, move, link). |
|<allowHostEdit enabled ="true"> </allowHostEdit> ||If the value of the attribute “enabled” is false, then users cannot type the server URL in the publish wizard. The Server field will be read only, and its value is the URL of the default ECM server (targetHost )|
|<forceDefaultPublishLocation enabled ="false"> </forceDefaultPublishLocation > ||If the value of the attribute “enabled” is true, then the Select Location window will be skipped. Documents will be published to the default folder (targetFolder) in the default library (targetLibrary) of the default ECM server (targetHost).|
|<forceDefaultOperation enabled = "false"> </forceDefaultOperation> ||If the value of the attribute “enabled” is true, then the Select Publish Option window will be skipped. Document publish will get default the publish action (setDefaultOperation) as its parameter.|
The forceDefaultPublishLocation and forceDefaultOperation parameters can be combined to achieve different Publish Web user interfaces, as shown in the following table:
Table 2. Elements and their output
|true||true||The Publish Wizard never displays. When you click Publish To from the context menu of a document, a pre-configured default publish location and default operation are used for the publish operation. |
|true||false||The Publish Wizard does display, but the Select Location window is skipped. The Required Properties window displays, followed by the Publish Options window, in which the publish operation is set by the value of the setDefaultOperation parameter.|
|false||true||The Publish Wizard does display, but the Publish Options window is skipped. Thus the wizard starts with the Select Location window, the user specifies the target server and the target folder, enters any required properties in the next window, and is presented with a Publish button instead of a Next button, with the value of setDefaultOperation determining the publish option to be used|
|false||false||The Publish Wizard displays and exhibits its default behavior. The user can enter any location and choose any publish option, although the value of setDefaultOperation determines which publish option is the default publish operation.|