Model Syntax for Searchdomain

Search domain definition

This model defines both the structure, data fetch and client navigation settings for a search domain.

Syntax:

Name Component [ CodeGenProperties ] [ MainView ] Usages MainEntity Blocks

The structure consists of a root block (connected to a master entity) that aggregates a set of detail data blocks. Each detail is also connected to an entity and can in turn have details of it's own.

Naming section

First section contains the naming of the model and component.

searchdomain Movie;
component    APPS8;

Code generation control section

An optional section with codegen properties is used when necessary.

codegenproperties {
   DbTextIdColumnName "MOVIE_ID$";
}

Connected database views section

A set of references to what view that are connected to the search domain.

mainview MOVIE;
usages {
}

Main section

The mainentity section is mandatory and contains with client navigation settings and also a set of attributes and detail references.

mainentity   Movie {
   title        "movie_id||' - '||title";
   webpage      "moview/MovieOverview.page";
   attributes {
      key       MovieId       Number;
      indexed   Title         Text;
   }
   aggregates {
      array     Cast          MovieActor(MovieId);
   }
}

Details section

Last section is a list of detail entities that are part of the structure. Each detail specifies a set of attributes and optionally further details.

detail MovieActor {
   attributes {
      key       MovieId       Number;
      key       ActorId       Number;
      indexed   CharacterName Text;
   }
   aggregates {
      aggregate Actor         Actor(ActorId);
   }
}

detail Actor {
   attributes {
      key       ActorId       Number;
      indexed   FirstName     Text;
      indexed   LastName      Text;
   }
   aggregates {
   }
}

This page is generated from IFS Developer Studio - for latest update, see help pages in the tool itself.