Rogue Wave Server/Rogue Wave Views Integration > Server/Views Mapping > Accessing Server/Views Representation Objects > Mapping Data Sources
 
Mapping Data Sources
Many Rogue Wave®  Views gadgets use a foreign data source to provide the user with a list from which he will choose when editing a data source value. This list is built from data stored in the foreign data source. Foreign data sources for columns can be specified at table level. This feature is called Data Source Mapping (See Rogue Wave Views documentation about Data Source Mapping). Some Rogue Wave Views gadgets, such as IliTableGadget, use data source mapping specified at table level to set a choice list on each cell of the data source.
Any Rogue Wave Server data source can be used as a foreign data source to an Rogue Wave Views data source column and, conversely, every Rogue Wave Views data source can be used by an Rogue Wave Server data source as a foreign data source to one of its column. Data Source Mapping can be specified in Rogue Wave Server Studio.
For columns of type IlsSwHRefDatatype, this mapping must be constrained. It means that when you select a value in the foreign data source, that value will replace the edited value in the Rogue Wave Server or Rogue Wave Views data source. When the data source is validated, a pointer will be edited on the server side. The target of the previous hyper-reference will be replaced by the target of the selected hyper-reference.

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.