New Companion File Format
The format of the companion file has changed since release 3.1 of Xpress Insight.
The most significant change is a simpler and more intuitive way to define custom views for the app.
Here is a simple companion file in the new format that illustrates how to define several custom views:
<model-companion xmlns="http://www.fico.com/xpress/optimization-modeler/model-companion" version="3.0"> <client> <view-group title="Main"> <html-view title="Welcome" path="welcome.html" empty-selection-default="true"/> <vdl-view title="Inputs" path="input.vdl" default="true"/> <tableau-workbook workbook="ExampleWorkbook"/> </view-group> <client-resources-local-path>C:\example_app\client_resources </client-resources-local-path> </client> </model-companion>
The two new attributes at the document root, xmlns and version, indicate that this is a version 3 companion file. The <client> tag contains one or more view groups, in which the custom views are defined.
Apps containing old-style companion files can still be imported - the companion file will be automatically upgraded and the new version will be printed to the Client Log window. It is recommended that you replace your old companion file with the upgraded version.