Add content for use with an object wizard
- Last UpdatedAug 02, 2024
- 3 minute read
You add attributes, graphics, layouts, scripts, and other content to a template object with an Object Wizard the same way that you add content to any other object. After adding the content, you can associate individual attributes and other content to individual Choices and Options. This association allows content that is not needed to be trimmed when you derive instances from the template. This helps to reduce the footprint of runtime objects. See Object wizard trimming for additional information.
Note: Only user-created attributes can be associated with Object Wizard Choices and Options.
When you associate content with Choices and Options, the propagation of these items to derived instances is determined by:
-
User selection of Choices and Options during configuration.
-
Trimming configuration for attributes and graphics, as they apply to the selected Choices and Options.
Content is trimmed from a derived instance when the instance is saved. Note that all items are propagated to derived templates, regardless of configuration and trimming settings, since unlike instances, templates are not runtime objects.
Both attributes and graphics can have unique settings for each association. The visibility of these settings, which determines if the setting can be overridden by a user deriving instances from the template, can also be configured.
For detailed information about custom properties and Symbol Wizards, see Using custom properties with Application Server and Symbol Wizard Editor.
Content can either be added or linked to an object.
|
|
When you select the Add Content button, a new graphic is created that is owned by the object. Any changes made to the graphic are only applicable to the owning object. Changes to the graphic in the parent object will cascade to child objects. The Add Content button does not let you create an object-owned external content item. |
|
|
When you select the Link Content button, the Galaxy Browser opens the Visualization folder. Selecting a graphic, layout or external content object from the Visualization folder creates a link between the object and the content, but the object does not own the content. Note that relative references will resolve correctly for the linked graphic or layout. Changes to the content will cascade to every object with which the item is linked, regardless of the hierarchical relationship of the objects. |
For information on adding scripts to a template, see Write and edit scripts.
The settings configured in the Attribute Editor, Graphic Editor, and Layout Editor provide the default settings for each attribute and content item. You can override the default values for attributes and graphic custom properties in the Settings pane. Note that you can set different values for each Choice or Option with which the content is associated.
In addition, you can allow the user to override the default values in derived instances. See About the attributes page and Add attributes to an object for information about adding and configuring attributes.
Related Links
- Add a new object-owned symbol
- Link to shared content in the visualization folder
- Associate content with a choice or option
- Disassociate content from a choice or option
- Multiple content item associations
- Map attribute and graphic configurations to a choice or option
- Attribute and graphic overrides
- Delete content from an object
- Delete an attribute or content from a template
- Example 1: Map a symbol wizard to an object wizard
- Example 2: Configure a linked graphic associated with multiple choices

