From 780da4ff14c720c5e6d199284001780775b42b21 Mon Sep 17 00:00:00 2001 From: sofietoft Date: Thu, 1 Aug 2024 09:16:12 +0200 Subject: [PATCH 1/5] Add notes to Document and Content Pickers --- .../content-picker.md | 12 ++++++++---- .../document-picker.md | 8 +++++++- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/content-picker.md b/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/content-picker.md index 6d126203ea3..1815acf0ef6 100644 --- a/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/content-picker.md +++ b/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/content-picker.md @@ -4,11 +4,15 @@ `Returns: IEnumerable` -## Settings +The Content Picker allows you to configure the type of content tree to render and what part of it should be rendered. For content it allows you to select a dynamic root node based on the current document using the Content Picker. -The Content Picker allows you to configure the type of tree to render and what part of the tree should be rendered. For content it allows you to select a dynamic root node based on the current document using the content picker. +{% hint style="info" %} +The Content Picker has been renamed from **Multinode Treepicker** (version 13 and below). + +The renaming is purely a client-side UI change, meaning the property editor still uses the `Umbraco.MultiNodeTreePicker` schema alias. +{% endhint %} -### Node type +## Node type Set the type of node, the root node of the tree, or query for the root node. @@ -48,7 +52,7 @@ Each query step takes the output from the last step (or the origin) as input. ![Content Picker Data Type Definition](../../images/mntp\_node\_type\_dynamic\_root\_overview.png) -#### Adding a custom query step +### Adding a custom query step Custom query steps can be used to solve some specific use cases. diff --git a/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/document-picker.md b/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/document-picker.md index 45cf2411504..2298ba85fed 100644 --- a/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/document-picker.md +++ b/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/document-picker.md @@ -4,7 +4,13 @@ `Returns: IPublishedContent` -The document picker opens a panel to pick a specific page from the content structure. The value saved is the selected nodes [UDI](../../../../reference/querying/udi-identifiers.md) +The Document Picker opens a panel to pick a specific page from the content structure. The value saved is the selected nodes [UDI](../../../../reference/querying/udi-identifiers.md). + +{% hint style="info" %} +The Document Picker has been renamed from **Content Picker** (version 13 and below). + +The renaming is purely a client-side UI change, meaning the property editor still uses the `Umbraco.ContentPicker` schema alias. +{% endhint %} ## Data Type Definition Example From f75846abedc92a37109f0a6b527ac2cefde49b68 Mon Sep 17 00:00:00 2001 From: sofietoft Date: Thu, 1 Aug 2024 09:22:45 +0200 Subject: [PATCH 2/5] Rewrite of the sentence with versions --- .../built-in-umbraco-property-editors/content-picker.md | 2 +- .../built-in-umbraco-property-editors/document-picker.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/content-picker.md b/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/content-picker.md index 1815acf0ef6..f756f2857a3 100644 --- a/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/content-picker.md +++ b/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/content-picker.md @@ -7,7 +7,7 @@ The Content Picker allows you to configure the type of content tree to render and what part of it should be rendered. For content it allows you to select a dynamic root node based on the current document using the Content Picker. {% hint style="info" %} -The Content Picker has been renamed from **Multinode Treepicker** (version 13 and below). +The Content Picker is what was known as the **Multinode Treepicker** in version 13 and below. The renaming is purely a client-side UI change, meaning the property editor still uses the `Umbraco.MultiNodeTreePicker` schema alias. {% endhint %} diff --git a/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/document-picker.md b/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/document-picker.md index 2298ba85fed..9fcb5e43f72 100644 --- a/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/document-picker.md +++ b/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/document-picker.md @@ -7,7 +7,7 @@ The Document Picker opens a panel to pick a specific page from the content structure. The value saved is the selected nodes [UDI](../../../../reference/querying/udi-identifiers.md). {% hint style="info" %} -The Document Picker has been renamed from **Content Picker** (version 13 and below). +The Document Picker is was what known as the **Content Picker** in version 13 and below. The renaming is purely a client-side UI change, meaning the property editor still uses the `Umbraco.ContentPicker` schema alias. {% endhint %} From bf1b56c025983c883ecbf8ca6fd849f826286e9b Mon Sep 17 00:00:00 2001 From: sofietoft Date: Thu, 1 Aug 2024 09:27:02 +0200 Subject: [PATCH 3/5] Add info about finding the original content picker --- .../built-in-umbraco-property-editors/content-picker.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/content-picker.md b/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/content-picker.md index f756f2857a3..a70845fc86e 100644 --- a/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/content-picker.md +++ b/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/content-picker.md @@ -10,6 +10,10 @@ The Content Picker allows you to configure the type of content tree to render an The Content Picker is what was known as the **Multinode Treepicker** in version 13 and below. The renaming is purely a client-side UI change, meaning the property editor still uses the `Umbraco.MultiNodeTreePicker` schema alias. + +**Are you looking for the original Content Picker?** + +The Content Picker from verison 13 and below has been renamed to [Document Picker](./document-picker.md). {% endhint %} ## Node type From 5637c2d526ab3b5654e8fc23dc5f8039c82ab90f Mon Sep 17 00:00:00 2001 From: sofietoft Date: Thu, 1 Aug 2024 13:22:01 +0200 Subject: [PATCH 4/5] Add note about Content being an umbrella term --- .../built-in-umbraco-property-editors/content-picker.md | 2 ++ .../built-in-umbraco-property-editors/document-picker.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/content-picker.md b/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/content-picker.md index a70845fc86e..2e7b6d8f606 100644 --- a/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/content-picker.md +++ b/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/content-picker.md @@ -11,6 +11,8 @@ The Content Picker is what was known as the **Multinode Treepicker** in version The renaming is purely a client-side UI change, meaning the property editor still uses the `Umbraco.MultiNodeTreePicker` schema alias. +The change was made as the word **Content** in the backoffice acts as an umbrella term covering the terms Document, Media, and Member. + **Are you looking for the original Content Picker?** The Content Picker from verison 13 and below has been renamed to [Document Picker](./document-picker.md). diff --git a/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/document-picker.md b/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/document-picker.md index 9fcb5e43f72..75070fff061 100644 --- a/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/document-picker.md +++ b/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/document-picker.md @@ -10,6 +10,8 @@ The Document Picker opens a panel to pick a specific page from the content struc The Document Picker is was what known as the **Content Picker** in version 13 and below. The renaming is purely a client-side UI change, meaning the property editor still uses the `Umbraco.ContentPicker` schema alias. + +The change was made as the word **Content** in the backoffice acts as an umbrella term covering the terms Document, Media, and Member. {% endhint %} ## Data Type Definition Example From 18cac9ea085651e7b7628b835fe66ee53e5f7a71 Mon Sep 17 00:00:00 2001 From: sofietoft Date: Fri, 2 Aug 2024 10:52:46 +0200 Subject: [PATCH 5/5] Apply suggestions from code review Co-authored-by: Esha Noronha <82437098+eshanrnh@users.noreply.github.com> --- .../built-in-umbraco-property-editors/content-picker.md | 6 +++--- .../built-in-umbraco-property-editors/document-picker.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/content-picker.md b/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/content-picker.md index 2e7b6d8f606..6329d267fbc 100644 --- a/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/content-picker.md +++ b/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/content-picker.md @@ -4,10 +4,10 @@ `Returns: IEnumerable` -The Content Picker allows you to configure the type of content tree to render and what part of it should be rendered. For content it allows you to select a dynamic root node based on the current document using the Content Picker. +The Content Picker enables you to select the type of content tree to display and which specific part of it should be rendered. It also allows you to choose a dynamic root node for the content based on the current document using the Content Picker. {% hint style="info" %} -The Content Picker is what was known as the **Multinode Treepicker** in version 13 and below. +The Content Picker was formerly known as the **Multinode Treepicker** in version 13 and below. The renaming is purely a client-side UI change, meaning the property editor still uses the `Umbraco.MultiNodeTreePicker` schema alias. @@ -15,7 +15,7 @@ The change was made as the word **Content** in the backoffice acts as an umbrell **Are you looking for the original Content Picker?** -The Content Picker from verison 13 and below has been renamed to [Document Picker](./document-picker.md). +The Content Picker from version 13 and below has been renamed to [Document Picker](./document-picker.md). {% endhint %} ## Node type diff --git a/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/document-picker.md b/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/document-picker.md index 75070fff061..3d22a0a9012 100644 --- a/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/document-picker.md +++ b/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/document-picker.md @@ -7,7 +7,7 @@ The Document Picker opens a panel to pick a specific page from the content structure. The value saved is the selected nodes [UDI](../../../../reference/querying/udi-identifiers.md). {% hint style="info" %} -The Document Picker is was what known as the **Content Picker** in version 13 and below. +The Document Picker was formerly known as the **Content Picker** in version 13 and below. The renaming is purely a client-side UI change, meaning the property editor still uses the `Umbraco.ContentPicker` schema alias.