To control the FormViewOption of a form, you can use code like the following:
public static void setFormViewOption( FormRun _formRun, FormViewOption _formViewOption = FormViewOption::Details ) { if (_formRun && _formRun.viewOptionHelper()) { _formRun.viewOptionHelper().setViewOption(_formViewOption); } }
To control the FormViewOption of a form, you can use code like the following: