Skip to content

Commit 6c77e16

Browse files
authored
Merge pull request #7206 from umbraco/prevalue-sources
Updated images and some text in Forms Prevalue Source Type article
2 parents ca808df + dc98d00 commit 6c77e16

File tree

15 files changed

+45
-48
lines changed

15 files changed

+45
-48
lines changed

14/umbraco-forms/editor/defining-and-attaching-prevaluesources/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Once a prevalue source has been created, it can be used while building Forms in
7979
8080
If there is at least one prevalue source defined in the project, the Prevalues source will contain a dropdown from where you can choose the predefined value.
8181
82-
![Prevalue source](images/FieldPrevalueSource-v14.png)
82+
![Prevalue source](images/FieldPrevalueSource-v16.png)
8383
8484
Once you have selected the prevalue source, the values are rendered in the Forms designer from the attached source.
8585
74.1 KB
Loading
58.8 KB
Loading
84.8 KB
Loading

14/umbraco-forms/editor/defining-and-attaching-prevaluesources/prevalue-source-types.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,26 @@ Upload a textfile that contains the prevalues. Each prevalue should have its own
1010

1111
## Umbraco Documents
1212

13-
Allows to use content nodes from a specific source as prevalues. You can apply the following settings in the **Details** section:
14-
15-
* Select which **Value field** should be used for the value of the prevalue.
16-
* You can define the root node by either
17-
* Choosing a node directly from the Content tree or
18-
* Using XPath
19-
* Enable **Use current page as root** instead of choosing a specific root node. _The preview is not available when this setting is enabled._
20-
* Select a specific **Document type**, if the selected root node contains a different Document Type.
21-
* Enable **List all Descendants** of the selected root node to list all levels of descendants.
22-
* Select **Order by** from the drop-down list to display how the prevalue list should be ordered.
13+
Allows you to use content nodes from a specific source as prevalues. Configure the following options in the **Details** section:
14+
15+
* Define the root node by either:
16+
* Selecting the type of item the picker should target such as **Content**, **Media**, or **Members**, or
17+
* Specifying a dynamic root.
18+
* Enable **Use current page as root** instead of choosing a specific root node. _Preview is not available when this setting is enabled._
19+
* Choose a specific **Document type**, if the selected root node contains a different Document Type.
20+
* Select the **Value field** to define the value stored for the prevalue.
21+
* Select the **Caption field** to define the label shown in the list.
22+
* Enable **List all Descendants** of the selected root node to include all child nodes beneath the root.
23+
* Select **Order by** from the drop-down list to display how the prevalue list is sorted.
2324
* Select your preferred **Cache option** for caching the list of prevalues when rendering in a form.
2425

25-
![Umbraco Documents](images/umbraco-documents-v14.png)
26+
![Umbraco Documents](images/umbraco-documents-v16.png)
2627

2728
## SQL Database
2829

29-
You can provide the following details in the **Details** section:
30-
3130
Connect to a OleDB compatible database table and construct a prevalue source from it. Once selected, it will be editable from the Forms interface.
3231

33-
The following configurations need to be set in the **Details** section:
32+
Configure the following options in the **Details** section:
3433

3534
* Connection string (either choose one from your web.config or add another from a textfield).
3635
* Connection String from configuration
@@ -40,7 +39,7 @@ The following configurations need to be set in the **Details** section:
4039
* Caption Column
4140
* Select your preferred **Cache option** for caching the list of prevalues when rendering in a form.
4241

43-
![SQL Database](images/SQLdatabase-v14.png)
42+
![SQL Database](images/SQLdatabase-v16.png)
4443

4544
## Umbraco Data Type Prevalues
4645

15/umbraco-forms/editor/defining-and-attaching-prevaluesources/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Once a prevalue source has been created, it can be used while building Forms in
7979
8080
If there is at least one prevalue source defined in the project, the Prevalues source will contain a dropdown from where you can choose the predefined value.
8181
82-
![Prevalue source](images/FieldPrevalueSource-v14.png)
82+
![Prevalue source](images/FieldPrevalueSource-v16.png)
8383
8484
Once you have selected the prevalue source, the values are rendered in the Forms designer from the attached source.
8585
74.1 KB
Loading
58.8 KB
Loading
84.8 KB
Loading

15/umbraco-forms/editor/defining-and-attaching-prevaluesources/prevalue-source-types.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,26 @@ Upload a textfile that contains the prevalues. Each prevalue should have its own
1010

1111
## Umbraco Documents
1212

13-
Allows to use content nodes from a specific source as prevalues. You can apply the following settings in the **Details** section:
14-
15-
* Select which **Value field** should be used for the value of the prevalue.
16-
* You can define the root node by either
17-
* Choosing a node directly from the Content tree or
18-
* Using XPath
19-
* Enable **Use current page as root** instead of choosing a specific root node. _The preview is not available when this setting is enabled._
20-
* Select a specific **Document type**, if the selected root node contains a different Document Type.
21-
* Enable **List all Descendants** of the selected root node to list all levels of descendants.
22-
* Select **Order by** from the drop-down list to display how the prevalue list should be ordered.
13+
Allows you to use content nodes from a specific source as prevalues. Configure the following options in the **Details** section:
14+
15+
* Define the root node by either:
16+
* Selecting the type of item the picker should target such as **Content**, **Media**, or **Members**, or
17+
* Specifying a dynamic root.
18+
* Enable **Use current page as root** instead of choosing a specific root node. _Preview is not available when this setting is enabled._
19+
* Choose a specific **Document type**, if the selected root node contains a different Document Type.
20+
* Select the **Value field** to define the value stored for the prevalue.
21+
* Select the **Caption field** to define the label shown in the list.
22+
* Enable **List all Descendants** of the selected root node to include all child nodes beneath the root.
23+
* Select **Order by** from the drop-down list to display how the prevalue list is sorted.
2324
* Select your preferred **Cache option** for caching the list of prevalues when rendering in a form.
2425

25-
![Umbraco Documents](images/umbraco-documents-v14.png)
26+
![Umbraco Documents](images/umbraco-documents-v16.png)
2627

2728
## SQL Database
2829

29-
You can provide the following details in the **Details** section:
30-
3130
Connect to a OleDB compatible database table and construct a prevalue source from it. Once selected, it will be editable from the Forms interface.
3231

33-
The following configurations need to be set in the **Details** section:
32+
Configure the following options in the **Details** section:
3433

3534
* Connection string (either choose one from your web.config or add another from a textfield).
3635
* Connection String from configuration
@@ -40,7 +39,7 @@ The following configurations need to be set in the **Details** section:
4039
* Caption Column
4140
* Select your preferred **Cache option** for caching the list of prevalues when rendering in a form.
4241

43-
![SQL Database](images/SQLdatabase-v14.png)
42+
![SQL Database](images/SQLdatabase-v16.png)
4443

4544
## Umbraco Data Type Prevalues
4645

0 commit comments

Comments
 (0)