Portlet Factory, Version 6.1.2


 

Imported Model builder

Use the Imported Model builder to import into one model the complete builder call set of a second model.

Use this builder when there are common builders that you would like to use in all of your models.

When you import a model, the model is imported at generation time. An imported model has "read only" status. This means that the host model invokes all the builder calls in the imported model, but cannot change any of the builder inputs of those builder calls. Errors encountered at generation time will be displayed in the message panel. Click on the error to open the builder call for editing.

Builders within the imported model do not appear in the host model builder list. However, objects created by those builders are displayed in the reference chooser and in the WebApp view.

 

Quick tips

Avoid name collisions

An Imported Model builder does not retain its own namespace. Ensure that the builder names in the imported model are different from those in the host model. Generation errors occur if duplicate names exist.

Define common event declarations

You can create a model that just contains Event Declaration builder calls. In other models that are handling these events, add an Imported Model builder, specifying the model that contains all the event declarations. This is a useful strategy in creating applications that communicate with each other by using events.

Parent topic: Builder help


Library | Support |