Optionally, you can pass in a provider to the constructor. If you do not, the static RunView.Provider property is used.
Private _providerPrivate Static _globalThis property is used to get the IRunViewProvider implementation that is used by this instance of the RunView class. If a provider was specified to the constructor, that provider is used, otherwise the static RunView.Provider property is used.
Static ProviderThis is the static provider property that is used to get/set the IRunViewProvider implementation that is used by the RunView class. This property can be overridden on a per-instance basis by passing in the optional Provider parameter to the RunView constructor.
Runs a view based on the provided parameters, see documentation for RunViewParams for more
Optional contextUser: UserInfoif provided, this user is used for permissions and logging. For server based calls, this is generally required because there is no "Current User" since this object is shared across all requests.
Runs multiple views based on the provided parameters, see documentation for RunViewParams for more information
Optional contextUser: UserInfoStatic GetUtility method that calculates the entity name for a given RunViewParams object by looking at the EntityName property as well as the ViewID/ViewName/ViewEntity properties as needed.
Class for running views in a generic, tier-independent manner - uses a provider model for implementation transparently from the viewpoint of the consumer of the class. By default the RunView class you create will connect to the DEFAULT provider. If you want your RunView to connect to a different provider, you can pass in the provider to the constructor.