Avatar

Correct answer by
Level 10

Hi Mark,

Here is a way to access a collectionnode created using devconsole.

For e.g. Let's say you created a CollectionNode called "myCollectionNode" using devconsole, then the way you can access it as a guest is

private var messaging:CollectionNode = new CollectionNode();

messaging.sharedID = "myCollectionNode" ;

messaging.connectSession = session ;

messaging.subscribe() ;

i.e. you need to assign the name to sharedID property and assign a connectSession object to connectSession property. And then when you call subscribe, you get all the data.

Hope this helps.

Thanks

Hironmay Basu

View solution in original post