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 expressions

Name of the scripting-variable.

direction, no runtime expressions

FROM 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