Working with Unloaded Scenarios
When a scenario is first created, it will have no input data nor any result data.
The input data will be populated only after the scenario has been loaded. Most custom views are designed to display and edit input or result data, so opening a custom view against an unloaded scenario is disabled by default.
However, there are some cases where you do want a custom view to be enabled for an unloaded scenario: if the custom view provides a way to edit model parameters, such as an AutoForm, and if these parameters will affect how the input data is loaded, it makes sense for the custom view to be used to initialize these parameters before loading the scenario.
In this situation, you can mark the view in the companion file as not requiring a loaded scenario, by setting the
requires-scenarios-loaded attribute to
false:
<view-group title="Main"> <vdl-view title="Parameters" path="params.vdl" requires-scenarios-loaded="false"/> ... </view-group>
This setting only affects HTML and VDL views. Tableau views always require a loaded scenario.