Is there a way to access the publisherID in a shared collection?
I can only seem to get the items in an event eg. event.items[0].propertyName
Thanks
Views
Replies
Total Likes
Hi,
SharedCollection is List of shared items. What you mean by publisherID of collection? Different users can publish(ADD) items in a shared collection.
In onItemReceive , you can do a event.item.publisherID to get the publisherID of any particular item.
Hope this helps.
Thanks
Hironmay Basu
Views
Replies
Total Likes
Yeah I know. How do you get the publisherID for each item?
Views
Replies
Total Likes
You'll have to do like what Hironmay is saying - listen for all the items coming in and store their publisherIDs somewhere (an object hashtable which uses the unique ID of your items would work). Likewise, if publisherID is an important piece of data which each item should have, then you could add that to the item payload.
nigel
Views
Replies
Total Likes
Thanks - that's what I did. Just wanted to confirm that there was no other
way.
Views
Replies
Total Likes