Convert data view object to parameter - Mendix Forum

Convert data view object to parameter

8

Problem:

Often when rebuilding logic in Mendix apps to either increase performance or to add new features the developer is required to delete dataviews and make their objects a parameter of the current page/snippet.

This action is quit cumbersome since the developer is required to move all widgets out of the dataview, add the new parameter to the page and afterwards he needs to update any references to the object he just made a paramter, but also all references which are now focusing the new $currentObject. This action can take a lot of time when performed on a complex page. The developer can easily save ~15mins of work per page and parameter on complex pages. Since all actions like moving containers, or changing references trigger Studio Prod to check for errors, even on simple pages the process can take long.


Solution:

Mendix knows where the object is referneced, why not add a "right-click" option on dataviews to "Make object a paramter" which then automatically performs all the described actions. What the developer would then only need to do, is to update all references of the page/snippet, but hes required to do that anyway.


Benefit:

The developer can easily save ~15mins of work per page and parameter on complex pages. Even on simple pages he can easily save 2mins since Mendix only needs top perform a single check for errors at the end of the action instead of multiple ones at each separate step.

asked
2 answers

That would help me also in daily topics! Great Idea, Syman!

Created

Brilliant idea - this would be very beneficial for our work!

Created