Add this namespace to the Mashup:xmlns:mforms=”clr-namespace:MForms;assembly=MForms”

Get the values with this extension method:
{mashup:UserContextValue Path=M3/Company}
{mashup:UserContextValue Path=M3/Division}
{mashup:UserContextValue Path=M3/Facility}

Alternatively, you can use the field names:
{mashup:UserContextValue Path=M3/CONO}
{mashup:UserContextValue Path=M3/DIVI}
{mashup:UserContextValue Path=M3/FACI}

Use the value for example in a TextBlock:<TextBlockText=”{mashup:UserContextValue Path=M3/Company}”/><TextBlockText=”{mashup:UserContextValue Path=M3/Division}”/><TextBlockText=”{mashup:UserContextValue Path=M3/Facility}”/>

4 thoughts on “How to get CONO, DIVI, FACI in a Mashup”

Actually these are the values to use, otherwise you can never switch Division.
{mashup:UserContextValue Path=M3/CurrentCompany}
{mashup:UserContextValue Path=M3/CurrentDivision}
{mashup:UserContextValue Path=M3/CurrentFacility}