Dynamics 365 Blog - Posts from 20 February 2020

These posts are machine-translated.
Currently, only posts from »20. February 2020« are displayed Filter entfernen

Control FormViewOption of a form through code

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);
    }
}

 


 
 
 

 

 
 
 
Posts of the actual month
February 2020
MoTuWeThFrSaSu
 12
3456789
10111213141516
17181920212223
242526272829 
 
© 2006-2025 Heinz Schweda | Imprint | Contact | German version | Mobile version
In order to provide you with better service, this site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies.