Add a new design instance
Member of Book (PRIM_BOOK)
Name | Type | Data Type | Description |
---|---|---|---|
Result | *Result (Optional) | PRIM_BOOK.BookItem | Reference to the new design instance |
DesignType | *Input | PRIM_OBJT | Name of the reusable part to be used to create a new design instance |
The Add method is used to add specialized design type instances to the Book. Design reusable parts must implement the Prim_Book.iBookDesign interface and inherit from the class specified in the Design property of the Book. When using the Add method, Book no longer works like a LANSA list, and is intended for more advanced implementations.
Adding a specialized design type, in case a page for an Employee data object.
Mthroutine Name(AddItem) Define_Com Class(#Prim_Book.BookItem) Name(#Item) Reference(*Dynamic) #Item <= #Book.Add(#MyEmployeePage) #Item.RelatedReference <= #DataEmployee Endroutine
Febuary 18 V14SP2