BizFormHelperCreateBizFormInfo Method |
Creates a new BizFormInfo and initializes it using given display name, name and site ID. Does not set the info to the database. The method is used by CreateInternal(String, String, String, SiteInfo) to supply the BizFormInfo instance.
If formName is not specified or its value equals CODENAME_AUTOMATIC, a new code name is created based on display name.
The form name is sanitized via GetIdentifier(Object, String) and can be safely used as part of the resulting table name.
Namespace: CMS.OnlineForms
protected virtual BizFormInfo CreateBizFormInfo( string formDisplayName, string formName, SiteInfo siteInfo )
Exception | Condition |
---|---|
ArgumentNullException | Thrown when formDisplayName is null. |
ArgumentException | Thrown when formDisplayName is an empty string. |