Hi,
The question sounds interesting. We have an example in
examples folder called MultipleGroups which has a model called
MultipleGroupModel . The model has a collection that keeps track of
all users in a particular group.
For any new property specific to a group, I would publish it
as an Item on the groupName node ( see MultipleGroupModel file) and
in my model I will do a bookkeeping by having a property object for
that property indexed by groupName. Something like this,
I will have
_collectionNode.publish Item(new
MessageItem(groupName,propertyVal, propertyName));
In my model I will have an object lets say called
propertyNameObject["groupName"] = propertyVal
I will populate this object in itemReceive with something
like this,
if ( p_evt.item.itemID == propertyName ) {
propertyNameObject[p_evt.nodeName] = p_evt.item.body ;
}
In this way , you can have any new property associated with a
particular group.
Of course , prior to doing all this you need to have a shared
model like MultipleGroupModel and create the collectionNode and
groups(nodes) for that model. Refer to the example and the
MultipleGroupModel file for details.
Hope this helps.
Thanks
Hironmay Basu