Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

[ Image Removed |../../index.htm#lansa/vlfonetutorials_0215.htm]

...

For this exercise you need a new business object (see Create a Business Object Manually). Select the business object and display its Common Activities.
To generate a filter automatically, use one of the Set up how < business object name > should be searched options: Image Removed

Image Added
 
Before you can generate a filter, the instance list table, columns and identifier have to be set up (see Define the Instance List). In this example the table associated with the business object is xHomesForSale.
Choose the option Allow search over all table views to generate filters for the table associated with the business object as well as all its views. Choose Create Only.

Image Added Image Removed
 
Wait until the filters have been created and snapped in. Image Removed

Image Added
 
Then display the Filters tab to see your filters:

Image Added Image Removed
 
Execute the Framework to test the filters (note that you can move the filter position using the button on the toolbar): Image Removed

Image Added

Image Added Image Removed
 
Switch to the Visual LANSA editor, and display the repository tracking list for your Framework to see the filters and their associated server modules which have been created for the business object. Image Removed

Image Added
 
Note that the XXX_XXXXXXX_FilterHiddenAll - a hidden filter which fills in the instance list without any user interaction – is not snapped into the Framework by default.
 
[ Image Removed |../../index.htm#lansa/vlfonetutorials_0215.htm]