Express - Can you have multiple sub-objects?
Permalink
First time looking at Express and have more of a conceptual question.
Can you have multiple sub-objects? e.g.
In the real world that might translate into...
And depending on the product, size might be a product option which modifies the price.
I see you can have one to many relationships but can they be grouped under a master object or would they all appear as objects at the same level (which could get confusing fast)?
Cheers
Ben
Can you have multiple sub-objects? e.g.
Product |_Product option 1 |_Product option 2
In the real world that might translate into...
T-Shirt |_Size |_Small |_Medium |_Large |_Colour |_Red |_White |_Black
And depending on the product, size might be a product option which modifies the price.
I see you can have one to many relationships but can they be grouped under a master object or would they all appear as objects at the same level (which could get confusing fast)?
Cheers
Ben
I thought the 'Express entity' attribute was a sub entity/object but I can't figure out how to add attributes to it so assume it's for something else?
OK, for my own future ref (or others) I think you need to:
- Create the main entity
- Create the sub-entity and twirl down the advanced options
- Under 'Owned by' choose the main entity
More testing to be done but that looks correct
- Create the main entity
- Create the sub-entity and twirl down the advanced options
- Under 'Owned by' choose the main entity
More testing to be done but that looks correct
Yes. Owned By is what you're looking for.
For example, if you have an object that you'll never want to create without creating it from the context of another object, you can make that object owned by the original object. It creates a similar association between the two, but you won't see the owned by object in the main express list, and you'll be able to add a sub-object of that type from the main object's detail page in the dashboard.
For example, if you have an object that you'll never want to create without creating it from the context of another object, you can make that object owned by the original object. It creates a similar association between the two, but you won't see the owned by object in the main express list, and you'll be able to add a sub-object of that type from the main object's detail page in the dashboard.
Awesome mate, thanks heaps!