An object should be passed to the page - how to solve ?

0
I’m trying to create a simple pie chart using the following tutorial: https://docs.mendix.com/howto7/extensibility/charts-basic-create But I have an error with the Value_NewEdit page – it requires an object which never passed to it. I don’t see any solution in the tutorial, it’s just mentioned there that I should add this page to user navigation, which I did. How should I solve this problem in this particular case with the pie chart created using this tutorial?
asked
2 answers
1

You can create a dataview (context) on that page and then create a microflow which first creates or retrieves an object of that typen then in the microflow open the specific page. Then you can pass the object to the page.

answered
1

Check out paragraph 3.3 point 4, https://docs.mendix.com/howto7/extensibility/charts-basic-create 

It states: Create a new microflow named DS_NewValue to fill the data view.

So instead of passing the object you should create a Microflow datasource for the dataview. So the object will get created and does not need to be passed

answered