DF#QCADOO-299 addmessage to viewdefinitionstate