Forum Discussion
Hi, telpochyaotl.
As of version 9.14, there is a FreeMarker variable called "activity.results." This variable contains keys related to both user and message events. For instance, after updating a user's settings, you can check the activity.results variable like so:
<#if activity.results.name.UserUpdated??> Success! Your settings have been updated. </#if>
Hope that helps!
Edit: I originally gave the wrong information in this reply, but have edited this post to correct the error.
I stumbled over this post while searching for a solution to a different problem and I am interested in the "activity" context object you are referring to here. i can't find it in thecontext object documentation on the Lithosphere Knowledgebase though. I am welcome to take any pointer here.
- AdamN14 years agoKhoros Oracle
Hi Claudius,
Here are the events currently supported:
Event Name Description UserCreated Sent when a user is first created. UserUpdated Sent when a user property changes. UserRegistered Sent when a user completes registration. In the case of an SSO community with a Complete SSO Registration page, this is only sent after the user completes the registration. UserSignedOn Sent when a user signs on. UserSignedOff Sent when a user signs off. MessageCreated Sent when a message is first created. (Not when it is published in the case of drafts). MessageUpdated Sent when any message property changes. MessageMoved Sent when a message is moved. MessageDeleted Sent when a message is deleted. I've submitted an article for inclusion in our TKB. Once it is published, I'll reply back here with the link so you can see the full details.
I hope this helps!
- AdamN14 years agoKhoros Oracle
The TKB article was published today, so I wanted to follow up and provide the URL as promised:
Regards,
Adam