Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can create multiple chats (channels) with different users or different groups of users . This is useful for the receiving end of the ‘one-way’ chat described here (5.3.1. Chats).

Using the provided snippet SNIP_Chat_And_Channel the ChannelContext-object is loaded in through a datasource nanoflow called DSS_ChannelContext.

...

By selecting a Chat on the left hand-side the microflow ACT_ChannelContext_ChangeChat is called, and changing the ChannelContext_ChatContext_Selected association with the selected chat. Resulting in display the selected chat.and see them in a list next to your currently active chat similar to what you’d expect from teams or what’s app.

All you need to do to enable this is to place the snippet “SNIP_Chat_And_Channel” on your page.

Restricting channels (Advanced)

By default all chats (channels) a user has access to will be displayed in the channel list. However this can be further constrained when needed, by copying microflow “DSL_ChatHelper”. This microflow does an OQL query to get the relevant chats (channels) for the user. Here, you can add to the ExtraWhereClauses and ExtraJoins String to further constrain the query.

...