PublicationOutput 2.5 Create
Creates a new publication, version and/or publication output in the Content Manager repository.
Parameters
| Name | Type | Direction | Description |
|---|---|---|---|
| psAuthContext | String | InOut | Deprecated proprietary authentication context only used by .ASMX web services based on internal username/password authentication. Claims based security standards drive all the WCF .SVC web services, making this parameter redundant. |
| plFolderRef | Long | In | Identifier of the folder. |
| psLogicalId | String | InOut | The logical identifier of the object.
|
| psVersion | String | InOut | The version of the object. When no exact version is given, the version number will be returned. |
| psOutputFormat | String | In | The name of the output format (e.g. Manual, Online Documentation, Booklet, Compiled Help,...). |
| psLngCombination | String | In | The ordered list of languages separated by the '+' character indicating the languages used in the content of the object. |
| psXMLMetadata | String | In | Metadata XML structure with the metadata that will be set on the current object. |
Requirements are:
- The user has write access to the folder of the Publication.
- The mandatory field requirements for each created level have to be met. So the function parameters and especially the content of parameter
psXMLMetaDataneed to specify all mandatory metadata for the object that is created. - The OutputFormat and Language Combination cannot already exist under the Publication version.
Some how-to scenarios.
How to create a logical level only?
- The parameters
psVersion,psOutputFormatandpsLngCombinationhave to be empty, - The parameter
psXMLMetadatamay not contain any version-level nor language-level fields.
- The parameters
- How to create a version level only?
- The parameters
psOutputFormatandpsLngCombinationhave to be empty, - The parameter
psXMLMetadatamay not contain any language-level fields.
- The parameters
- How to create a language level?
- Fill in all parameters.
Note that:
- The folder id can be set to empty ('') when the logical object is already present in the repository. When the object is already present and a folder id is provided, then the provided identifier has to match the identifier of the folder that contains the object.
- All logical identifiers within Content Manager are in uppercase.
- The ownership for an object in the repository is inherited from the folder that contains the object.