Hi all, I need to change attribute “createdDate” of an object stored in cache (not in DB yet). apidocs The current date object converted to string looks like this ...but the code throws an exception Any thoughts? Thanks in advance.
OK, seems that Mendix team has intended something else with change method. At least for me it remains unknown due to very poor documentation
In this case a I have replaced change with setValue method and it does its job.
obj.setValue(getContext(), "createdDate", new Date());