Hi Mark!
thanks for this response. I should have mentioned that we are still using Servoy version 202006.
Your first example using the solutionModel to get the form from the event failed with the same error I had before:
var oForm = forms[oEvent.getFormName()];
var oProperties = oForm.controller.getDesignProperties();
ERROR com.servoy.j2db.util.Debug - TypeError: Cannot find function getDesignProperties in object Controller:_20005_Generic$UCDA_UsedBOS_2015.
Your next worked, using:
var jsForm = solutionModel.getForm(oEvent.getFormName());
So that’s great. I still don’t understand why my original code:
var oForm = forms[controller.getName( )];
var test = oForm.getDesignTimePropertyNames();
does not work. Any ideas?
cheers,
Terry