The authoringTemplate element
The authoringTemplate element is used to specify the authoring template that will be applied to a content item or site area. The value of this element should be the name of an existing authoring template.
authoringTemplate
If the authoring template is located in a different library from the item, we can specify the library name as well. If no library is specified, the Web Content Integrator will search the library that was specified in the <ibmwcm:library> element. If no <ibmwcm:library> element is present, the Web Content Integrator will search the default library specified in the task configuration.
Once an item has been created, it is not possible to change its authoring template. Therefore, when processing an update, if the authoringTemplate specified in the feed entry does not match the name of the authoring template that was originally used to create the item the Web Content Integrator will generate an error message.
Element parameters: Details for this element: Applies to item types Content, site area Required for item types None Allowable Values The name of an existing authoring template, or the name of an existing library and authoring template separated by a forward slash. For example:
- News-AT
- TmpltLib/News-AT
Required Attributes None Optional Attributes None Required sub-elements None Optional sub-elements None
Example:
<ibmwcm:authoringTemplate>News</ibmwcm:authoringTemplate> <ibmwcm:authoringTemplate>TmpltLib/News</ibmwcm:authoringTemplate>