You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 15/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/collection.md
+24-15
Original file line number
Diff line number
Diff line change
@@ -22,11 +22,11 @@ Once Collections are configured, the parent content item displays its child item
22
22
23
23
### Columns Displayed
24
24
25
-
It is possible to add more columns to the collection, via adding the properties through the dropdown. These properties are based on the Data Types which are used by the Document Type. It will show up in the dropdown by its alias and not the name on the property.
25
+
It is possible to add more columns to the collection, via adding the properties through the picker modal. These properties are based on the Data Types which are used by the Document Type. The properties will listed for selection.
Once you have selected a column you want to display, define what its name should be and what kind of value it should display. You can also move the headers around, re-ordering how they should look. This is done by the move icon on the left side of the alias.
29
+
Once you have selected a column you want to display, define what its heading label should be and what kind of value it should display. You can also move the headers around, re-ordering how they should look. This is done by the move icon on the left side of the alias.
30
30
31
31
The template section is where you define what kind of value you want to display. The value of the column is in the `value` variable.
32
32
@@ -52,24 +52,36 @@ You can add more sorting to this collection by adding more datatypes to the colu
52
52
53
53
### Order Direction
54
54
55
-
You can select order of the content nodes displayed, "Acsending" or "Descending". The order is affected by the "Order By" selection.
55
+
You can select order of the content nodes displayed, "Ascending [a-z]" or "Descending[z-a]". The order is affected by the "Order By" selection.
56
56
57
57
### Page Size
58
58
59
59
Defines how many child content nodes you want to see per page. This will limit how many content items you will see in your collection. If you set it to 5, then only 5 content items will be shown in the collection.
60
60
61
61
### Workspace View icon
62
62
63
+
{% hint style="info" %}
64
+
Support for changing the Workspace View icon has not been implemented yet.
65
+
{% endhint %}
66
+
63
67
Changes the icon in the backoffice of the collection. By default it will look like the image below.
Here, the `{=value}` placeholder retrieves the value of the *Email* property and displays it in the collection, as shown in the image below:
95
+
You can use the [Umbraco Flavored Markdown](../../../../umbraco-flavored-markdown.md) syntax to display the label value. Here, the `{=value}` placeholder retrieves the value of the *Email* property and displays it in the collection, as shown in the image below:
84
96
85
97

86
98
87
-
### Member name
88
-
89
-
First, a Member Picker property needs to be present on the content item. In this example, the `child item` has gotten a Member Picker Data Type with the alias of `isAuthor`.
99
+
### Content name
90
100
91
-

101
+
First, a Content Picker property needs to be present on the content item. In this example, the `child item` has gotten a Content Picker Data Type with the alias of `contentPicker`.
92
102
93
-
The child item has a member and the value that should be displayed is the name of the picked value. The next step is to reconfigure the template value in the collection setting.

105
+
The child item has a document and the value that should be displayed is the name of the picked value. The next step is to reconfigure the template value in the collection setting.
96
106
97
-
This will take the value picked up by the member picker. 
And display it in the collection. Shown in the example below:
109
+
This will take the value picked up by the content picker.
100
110
101
-
### Other examples
111
+
And display it in the collection. Shown in the example below: 
102
112
103
-

Copy file name to clipboardExpand all lines: 15/umbraco-cms/reference/umbraco-flavored-markdown.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -25,11 +25,11 @@ The essence of the UFM syntax is curly brackets with an alias prefix delimited w
25
25
26
26
For clarity...
27
27
28
-
- The opening token is `{`U+007B Left Curly Bracket
28
+
- The opening token is `{` Left Curly Bracket
29
29
- The alias prefix can be any valid Unicode character(s), including emojis
30
-
- Followed by `:`U+003A Colon, (not part of the alias prefix itself)
30
+
- Followed by `:` Colon, (not part of the alias prefix itself)
31
31
- The contents within the curly brackets can include any Unicode characters, including whitespace
32
-
- The closing token is `}`U+007D Right Curly Bracket
32
+
- The closing token is `}` Right Curly Bracket
33
33
34
34
An example of this syntax to render a value of a property by its alias is: `{umbValue: bodyText}`.
35
35
@@ -48,7 +48,7 @@ The internal working of the `ufm-label-value` component would then be able to ac
48
48
49
49
In addition, a filter syntax can be applied to UFM contents. This can be useful for formatting or transforming a value without needing to develop your own custom UFM component.
50
50
51
-
The syntax for UFM filters uses a pipe character `|` (U+007C Vertical Line). Multiple filters may be applied, and the value from the previous filter is passed onto the next.
51
+
The syntax for UFM filters uses a pipe character `|` (Vertical Line). Multiple filters may be applied, and the value from the previous filter is passed onto the next.
52
52
53
53
To display a rich text value, stripping out the HTML markup and limiting it to the first 15 words could use the following filters:
0 commit comments