Question & Answer
Question
Dynamic Instantiation
Answer
Dynamic Instantiation
Dynamicinstantiation provides a way to allow users to configure productson the fly while avoiding the need to create option items for eachpossible product configuration in your model. For example considera server rack. The user can decide on the number of slots they needand create dynamic instantiation controls for each type of componentsuch as servers and storage arrays that can fit into a slot AC orDC power and so on. As the modeler you create the rack model thencreate option classes for each of the rack's configurable features(such as servers and storage arrays) and set them as dynamic instantiationcontrol classes. An end-user buying computer racks navigates to therack product on your site and clicks the Configure buttonnext to the servers and storage array choices. This causes a new optionitem to be added to the model for that configurable feature. The usercan then configure each option item by clicking the Configure buttonthat appears next to each added item. When the entire rack and allthe configurable features have been added and configured the userclicks the Add button located in the buttonbar at the top of the Configurator page to add the rack to their cart.
Was this topic helpful?
Document Information
Modified date:
08 December 2018
UID
ibm10760917