Skip to content

Commit 8358398

Browse files
authored
Merge pull request mendix#10345 from stdagkalakis/wtf/WTF-2444-update-documentation-for-CE0529-changes
[WTF-2444] Update documentation on changed CE0529 (optional params)
2 parents cbbe654 + ef77733 commit 8358398

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

content/en/docs/refguide/modeling/consistency-errors/consistency-errors-navigation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,21 @@ Now when an end-user clicks the menu item, a new *ProgramItem* object will be cr
4646

4747
### Error Code: CE0529
4848

49-
CE0529 error message: *The selected {Name of the page} expects an object of type {type of object} and cannot be used as a home page. Change the page or use a microflow to provide the page with an object.*
49+
CE0529 error message: *The selected page '{Name of page}' contains required parameters and can not be used as home page.*
5050

51-
You get CE0529 if you have set a page that expects an object to be passed to it (for example, a page with a data view) as a home page. But the home page has no object that is passed to it, because it is the starting point of a flow.
51+
You get CE0529 if you have set a page that expects one or more required parameters to be passed to it (for example, a page with a data view) as a home page. But the home page has no parameter(s) passed to it, because it is the starting point of a flow.
5252

53-
To fix CE0529, you can use a microflow as the home page that opens the preferred page and pass a specific object to the home page. For more information, see the [Error Fix Example for CE0529](#home-page-expects-an-object) section below.
53+
To fix CE0529, you can use a microflow as the home page that opens the preferred page and pass the required parameter(s) to the home page. For more information, see the [Error Fix Example for CE0529](#home-page-expects-an-object) section below.
5454

5555
#### Error Fix Example for CE0529 {#home-page-expects-an-object}
5656

57-
If you set a page that expects an object to be passed to it as a home page for a [navigation profile](/refguide/navigation/#properties), you will get a consistency error.
57+
If you set a page that expects required parameter(s) to be passed to it as a home page for a [navigation profile](/refguide/navigation/#properties), you will get a consistency error.
5858

59-
For example, you have added a data view that expects an object of type *Customer* to the home page of the responsive profile, and you get a consistency error.
59+
For example, you have added a data view that expects a required object of type *Customer* to the home page of the responsive profile, and you get a consistency error. Optional parameters will not trigger a consistency error if they are not passed.
6060

6161
{{< figure src="/attachments/refguide/modeling/consistency-errors/consistency-errors-navigation/home-page-error.png" alt="Home Page Error" class="no-border" >}}
6262

63-
You can fix this error by creating a microflow that will that will create a new *Customer* object and pass it to the page. Do the following:
63+
You can fix this error by creating a microflow that will create a new *Customer* object and pass it to the page. Do the following:
6464

6565
1. Open the responsive navigation profile.
6666
2. In **Default home page field** click **Select**.
18.1 KB
Loading

0 commit comments

Comments
 (0)