Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Document Properties Marker
render-asdefinition-list
Short DescriptionAutolist macros allow to display a list of documents dependent on a set of properties. This screencast shows how to use the Display Table macro to select all documents tagged with a given keyword. 
Doctypetopichide
NameAutolists 
Parent
Parent Property
property-nameName
 hide
Audience
Name List
doctyperole
render-no-hits-as-blanktrue
propertyAudience
 
Level of Experience
Name List
doctypeexperience-level
render-no-hits-as-blanktrue
namesAdvanced Beginner
propertyLevel of Experience
empty-as-nonefalse
 
Expected Duration2:00 minutes 
Categories
Name List
doctypecategory
propertyCategories
 hide
Tags
Tag List
namesScreencast
propertyTags
 hide
Iteration
Iteration
valuefilled
 hide
Type
Name List
doctypetopic-type
render-no-hits-as-blanktrue
namesTutorial
propertyType
empty-as-nonefalse
 
Sort Key000900hide
Abstract
Section
title
Column
Section
titleDescription

This screencast shows a document collecting all documents tagged with 'X' of the wiki space in a list, using the Display Table Macro. After the collecting document has been created, the screencast adds another three documents tagged with 'X'. Finally the list contains all four documents (including the collecting document that has also been tagged with 'X'), without the collecting document being edited again. Therefore this list is called autolist: it collects all documents with a given set of properties at the time the document is viewed.

Note Box

The Display Table Macro allows to remove the document conducting the query from the list of hits easily. In this example, the document containing the query result is included.

In the background this search is conducted with Confluence Search capabilities which are using Lucene. So every time the page is viewed, the search is executed to collect the latest hits.

Note Box

While the example shows how to select on the Tags property only, you may select on any property - even properties you just add to the property table for certain document instances - or combination of properties.

Section
titleReferences

Soundtrack

Column
Section
titlePrerequisites

You should be familiar with the Display Table Macro. You may would like to watch these screencasts first:

Section
Section
titleScreencast

Watch this screencast on YouTube:

Widget Connector
urlhttps://www.youtube.com/watch?v=CSlpR24Igfs&list=UU1KxO6B5vj7_yPAleMIgErA
Section
titleAbstract

Section
titleSubtopics
Display Table
doctypetopic
render-no-hits-as-blanktrue
selectName, Short Description
sort-bySort Key, Name
restrict-to-immediate-childrentrue

Soundtrack

sandwork by UncleBibby is licensed under a Attribution License.
Section
required-permissionswrite-access
titleNotes
Section
titleReferences

Section
titleResources