Update variable names in page expressions after a change - Mendix Forum

Update variable names in page expressions after a change

0

In page documents you have the name field for every widget. This name is used in expressions in dynamic classes, conditional visibility et cetera.

 

In large pages, this could be referenced often in multiple locations. If you update the name property of the widget, expressions need to be manually updated.

 

image.pngimage.png

 

image.pngimage.png

 

 

Proposal is to update expressions when the name property is changed

asked
3 answers

I assume this needs to be done manually. But Fortuantely Mendix will give an error right? if the reference location does not have the correct name?

 

And this can be submitted as an Idea

Created

Well, that's the issue: If you change it there, expressions referencing it will not be updated automatically

Created

You can already achieve it with changing name in Properties-Commonimage.png

Created