Skip to main content

We want to build custom UI where we need to display list of messages (ConversationsPage) on the left side and right side display the conversation when user clicks on a message . By default currently when we click on a message in conversations panel, it displays the conversation as another page with back button.But we need to display both in the same page with two panels so that user doesn't need to do additional click for back button. For this we have added two divs in seaprate page and one div contains conversationspage and another div contains Conversationpage. But we need to pass "conversationid" parameter to the conversationPage. How can we get that value from the global state as I see we already have a reducer for the same. Thanks for the help.

While we welcome developers to help each other with different application programming issues in this community, I could say that there is less chance that you would get help for this kind of issue from here. I recommend that for issues which are not directly related to the RingCentral API platform, you should post a generic question on e.g. stack overflow where there are more developers with React JS experience to help you.


Thanks @Phong Vu . As Ringcentral community building the Ringcentral react widgets, I thought this community gives better answer as they know how their components are designed. This is a major requirement so any inputs appreciated. Thanks for the response.


Hi @Ext 45211 Do you use https://github.com/ringcentral/ringcentral-js-widgets ? You can get conversation id in "phone.conversations.currentConversation" and other APIs in "phone.conversations".


Thanks @Embbnux Ji I see we are using Pubsub / pubnub in the current react widgets. Do you have any documentation on the usage of that in ring central project. As end users, do we need to register with pubsub for this messaging. Please provide more resources to understand how it works. Thanks.


Reply