Forum Discussion
Shivshankar - Is this what you are looking for?
https://freemarker-docs-portal.lithium.com/refer/contextObjects#activity
- Shivshankar9 years agoAce
No this is not what i am looking for. See the following link :/t5/Developers-Knowledge-Base/Subscribing-to-community-events-using-the-REST-API/tac-p/285748#M567
In event subscription when we trigger any event we get 3 things : 1) token 2) event type 3) message(related to Events : MessageCreate,MessageUpdate,MessageDelete ) or user(related to UserCreate,UserUpdate,UserSignIn,UserSignOff ).
This msg or user is xml string.
we are catching this string by following freemarker code
<#assign msgNode = http.request.parameters.name.get("message","") />
or
<#assign userNode = http.request.parameters.name.get("user","") />
I am getting this xml string , but not able to parse it , because the tags it contains are unkown, so is there anyway way or documentation to see which tags are available in xml corrosponding to all events.
Sign in to react to this post