Description
The main purpose of the context providers is to create subdocuments to a given document. It tackles the problem of page title unique within a space. The title is expanded by the name of the parent page, which in most contexts makes it unique.
The context provider also creates a sort key to help adding new pages at the end of the stack. The first page will have a sort key of 000100
. Each additional page will increment by 10, allowing to insert additional pages later to the sort order. This is very convenient if you are adding excerpts to a resource document. If you create excerpts chapter by chapter, the natural sort order will be "Append at the end".
Use the context key projectdoc.doctype.common.sortKey
to reference the generated sort key.
<tr>
<th class="confluenceTh"><at:i18n at:key="projectdoc.doctype.common.sortKey"/></th>
<td class="confluenceTd"><at:var at:name="projectdoc.doctype.common.sortKey"/></td>
<td class="confluenceTd">hide</td>
</tr>