Skip to main content

Create a Form with Code

You can Create a Form with the code at the bottom.

public void fnCreate_Execute()
{
eBAConnection con = CreateServerConnection();

Con. open();
WorkflowManager wm= con. WorkflowManager;
WorkflowDocument wd = wm. CreateDocument("SampleProject","Modal1");
eBAForm modal = new eBAForm(wd. DocumentId);
Modal. Fields["txtAd"]. AsString = "Bob";
Modal. Update();

}