You will need to decide what information, in the form of builder inputs, you will display to the user of your builder.
For example, if your builder is going to place a button on a page, you might want the user to specify where to put the button, and the text string to use for the button label. Inputs you want to expose to the user come from the various inputs in the builders in the base model. By profiling one or more of these inputs in a special way, you can make the inputs available in your builder.
To make a base model builder input available in your builder, you must profile the input. To do this, you click Profile
button next to the input you want to expose. A Profile Input
dialog is displayed in which you will click the Create Entry
button. The New Profile Entry
dialog is displayed. In this dialog, you use the Name
field to assign an appropriate name to the input.
This is not the readable name displayed for the input, but rather a name the system uses internally to identify the input. This name cannot be changed once you start working in the builder skeleton, so choose wisely.
In the Prompt
field you must enter another name for this input. The name you enter in the Prompt
field is displayed alongside the input in your builder editor. Once you provide internal and readable names for the input, you can close the profile dialogs and move to the next input that you want to make available in your builder. When you have profiled all the inputs required by your builder, you can apply all the builder calls in your base model and save the model.
Parent topic: About modelbased builder creation: wpf7