Generate a minimum form with script

I am looking into a scenario where I would like to create a default form using CRMScript. I found the NSMarketingAgent class and the function CreateDefaultFormEntity() function that according to the documentation creates a default form. But when trying to access the form, it is not possible. And when checking the table form, this form lacks config and recipie values (and a few more). These values are set when from the interface you create a form without doing more than giving it a name.

Does anyone know if it is possible to get these values populated as well to get a functioning form using script?

RE: Generate a minimum form with script

Hi Patrik,

That API is used by SuperOffice, and not intended to be an extensibility point. We don't have any useful information to publish about it. 

 

By: Tony Yates 9 Apr 2021