Defines the breadcrumbs for this content
ac:add-on-key:employee
defined with following breadcrumbs setting:1 2 3 4 5 6 7 8 9 10 11
...
"breadcrumbs": {
"relations": [
{
"name": "worksFor"
}
]
}
...
And we have following custom content created in the Confluence:
Content ID | Content Type | Title |
---|---|---|
1 | ac:add-on-key:organization | Company A |
2 | ac:add-on-key:organization | Company B |
3 | ac:add-on-key:employee | Charlie |
By using the Relation API we can create following relations between these content:
Since we have let ac:add-on-key:employee
to use worksFor
relation to generate the breadcrumbs.
Confluence will fetch the relations that were created under name worksFor
,
then display the titles in the creation order of their relations in the search result like this:
Similarly the site search will display the breadcrumbs as well:
relations
Type | |
Description | Defines the list of content relations used for generating breadcrumbs
|