- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi,
You can get the userDesciptor of the user you clicked from event.currentTarget since you gave the userCollection as the dataProvider to the list.
Once you have userDescriptor and hence the userID of the recipient, you send a message item. You can use SharedProperty to send a message to the user.
Since it’s a private message, you can also use recipientID to only send message to that user. User should listen to the itemReceive and on reciving the message, should create a chat in a way I specified in a previous message.
Please go into Asdocs and read more about publishing messages , sharedproperty etc and also see examples for getting this to work.
Thanks
Hironmay Basu
Views
Replies
0 Likes
Total Likes