Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Erase one message from chat

Avatar

Level 1

Hi, Im starting with AFCS, and I am wondering if the is any way to erase a single message of a chat room using SimpleChatModel.

Thanks!

Julio

Add topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi Julio,

Currently there are no api's that would allow you to do erase message's selectively. This a feature that I would like too.

But if its just one time, you can delete them using dev console.(that comes with SDKNavigator App). The work around would be to extend SimpleChatModel and add methods to remove the message item from collection node of the model.

Also if you are trying to implement a filter, you can always listen to the message you recieved, and not display it.

Thanks

Arun

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

Hi Julio,

Currently there are no api's that would allow you to do erase message's selectively. This a feature that I would like too.

But if its just one time, you can delete them using dev console.(that comes with SDKNavigator App). The work around would be to extend SimpleChatModel and add methods to remove the message item from collection node of the model.

Also if you are trying to implement a filter, you can always listen to the message you recieved, and not display it.

Thanks

Arun

Avatar

Former Community Member

Hi julio_ps,

If you want to monitor and moderate chat rooms, we are developing a new feature called "sever to server" api where you can insert your logic on a remote server and control the content of the chat room.  This is due to come out in April. 

Dean