Widget Javascript update method not getting full object when not committed

So, here the situation I have here ;-)  I have a widget in a dataview. As soon as the page containing the dataview is opened the widget’s ‘update’ method is called (as expected). The entity in the dataview is new and not yet committed! When debugging I see that the ‘obj’ parameter that is passed to the widget is not complete. It basically only contains Mendix properties like the guid, createdate and the owner. All the other properties are empty.  My question itself is simple: is there a way to make sure the full object is passed without committing it first. I can workaround it by committing it of course but then I have to delete it again afterwards if the user cancels...
1 answers

If it’s not a security issue, maybe it’s just how you’re accessing the attribute values. It should be like: