Hi,
I'm trying to make a method that allow me to create new parameters to a specific form or view by code.
Here is my code:
Snippet
FormsManager formsManager = new FormsManager(connectionString);
Form form = new Form(formsManager.GetFormDefinition(formName));
FormParameterCollection parameters = form.Parameters;
parameters.Add(parameterName, ParameterDataType.Text, defaultValue);
Am I forgetting something? Because it isn't working, and I can't find any references to this operation. I can get the existent parameters and show them but not create new ones. Or maybe it is normal and it's not possible to create paramenters by code?
Thanks in advance,
Best regards.