msg:nrOfMessages
Returns the number of messages for certain user by given type.
messages recieved (<msg:nrOfMessages user="userProfile" direction="TO"/>)
Syntax
<msg:nrOfMessages direction="..."? id="..."? public="..."? state="..."? status="..."? type="..."? user="..."? userId="..."?/>
Attributes
id
, no runtime expressionsName of the scripting-variable.
direction
, no runtime expressionsFROM or TO(default)
state
DRAFT or SENT(default)
user
Name of the scripting-variable where to get the user information from. This must be a PresentationUser, PresentationPerson or Person object. Default it uses the logged in user.
userId
Id from the escenic user. Default it uses the logged in user.
status
DRAFT, SUBMITTED, SENT, RECEIVED, READ, REPLIED. In case of multiple statusses use comma to sepperate. Default it uses all.
public
true, false. default both.
type
TEXTMESSAGE (default) or VIDEOMESSAGE