Two way chat component: Difference between revisions

no edit summary
(Created page with "== Introduction == thumb|3B Chat on Contact Record The 3B chat component is created as a way to easily visualise and facilitate communications with non-salesforce or external users. Available in 3B Onboarding v4.13+ == Usage == System admins can embed the component on a community or on the Contact record page, after which, the component will allow the logged in user to send and view messages. == Extending Functionality == The component ha...")
 
No edit summary
 
Line 14: Line 14:
== Permissions and Security ==
== Permissions and Security ==
Important thing to note is that the component ignores sharing and profile/permission set permissions. This is intentional and by design. The component relies on empApi through the message channel b3o__New_Chat_Message_Event__e (platform event) in order to issue requests to re-render the UI. If you need to re-render the UI, simply raise a new b3o__New_Chat_Message_Event__e platform event, and all subscribers will see an up to date chat history. Remember to grant access to the b3o__New_Chat_Message_Event__e object for the running user
Important thing to note is that the component ignores sharing and profile/permission set permissions. This is intentional and by design. The component relies on empApi through the message channel b3o__New_Chat_Message_Event__e (platform event) in order to issue requests to re-render the UI. If you need to re-render the UI, simply raise a new b3o__New_Chat_Message_Event__e platform event, and all subscribers will see an up to date chat history. Remember to grant access to the b3o__New_Chat_Message_Event__e object for the running user
== Platform Event ==
The b3o__New_Chat_Message_Event__e allows you to request refresh of the chat component programatically in the back end


[[Category:3B Onboarding]]
[[Category:3B Onboarding]]