When you select an association option on the Association page, one of the following relationships is created between the SmartObjects:
Relationship |
Combination |
One to One |
- Each [SmartObject A] has a single [SmartObject B]
- Each [SmartObject B] has a single [SmartObject A]
|
One to Many |
- Each [SmartObject A] has a single [SmartObject B]
- [SmartObject B] can have many [SmartObject A] SmartObjects
|
Many to One |
- [SmartObject A] can have many [SmartObject B] SmartObjects
- Each [SmartObject B] has a single [SmartObject A]
|
Many to Many |
- [SmartObject A] can have many [SmartObject B] SmartObjects
- [SmartObject B] can have many [SmartObject A] SmartObjects
|
Although not common, a Many to Many relationship typically requires a third SmartObject to hold the mapping information. Keep in mind these requirements:
- The current SmartObject must have a key property
- You need to specify a name is specified for the new SmartObject containing the relationship information. The following special characters are not allowed: #%&*\\|:;"\/<>?
The new SmartObject is created in SmartBox and can be found in the category tree.