Hi!
I'm trying to access a sub entity property in the manner as displayed below. Basically i have a task entity that is related to multiple house entity. The house entity as a property named room that i want to access. I'm creating this scpropertydefinition so that my user can select only rooms previously created by name.
SCPropertyDefinition *housePropertyDef = [taskClassDef propertyDefinitionWithName:@"house"];
housePropertyDef.type = SCPropertyTypeObjectSelection;
housePropertyDef.attributes = [SCObjectSelectionAttributes attributesWithItemsEntityClassDefinition:houseClassDef
withItemsTitlePropertyName:@"room.name"
allowMultipleSelection:NO
allowNoSelection:NO];
This throws an error. Changing withItemsTitlePropertyName:@"house.room" to withItemsTitlePropertyName:@"house" doesn't throw an error though it displays "Item: 0". Could this be a kvc style issue? Is the fact that the house property of the task class is a relationship a matter?
Thanks!