Rogue Wave Server/Rogue Wave Views Integration > Server/Views Mapping > Opening Views in the Server/Views Mapping > Preregistered Server Data Source
 
Preregistered Server Data Source
You also have the possibility to register a Server data source, so that it will be used when a view with the same name is opened without any parameters. We call the Server data source a preregistered Server data source. A Server data source can be registered using the static member function IlsSwComponent::DeclareViewParameterDataSource.
By default, all the member functions used to open a view in the Server/Views mapping look for a preregistered Server data source if no parameter is supplied. A Server/Views dynamic view uses the first two parameters provided when opening the view (see Meaning of the Reserved View Parameters). However, the API of Server/Views mapping allows you to specify your own parameters.

Version 6.3
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.