...
MessageML | Equivalent PresentationML | Description |
---|---|---|
| <a span class="mention" href="/userId/numericUserIdentity" data-entity-id="mention123456">@Pretty Name</aspan> | It is inconvenient for API callers to identify the correct numeric ID for a user when constructing a Mention (although API to find this from an email address does exist). It is also necessary for the pretty name provided in the PresentationML mention markup to be validated. For these reasons additional mention tags will be provided which will be mapped to equivalent PresentationML markup by the API agent. |
| <audio src="https://asset.symphony.com/symphony/audio/chime.mp3" autoplay/> | A shorthand to allow a chime to be sent in a message. |
<card iconSrc="url" class="barStyle" ><header>> <header>PresentationML</ header><body>header><body>PresentationML</ body><body></ card>card> | <div <div class="card barStyle" data-icon-src="url"><div <div class="cardHeader">PresentationML</div>div> <div <div class="cardBody">PresentationML</div>div> </div>div> | A card is a standard item in a message which has a number of visual elements and which can be opened and closed. |
...
Transitional Tag | Equivalent PresentationML |
---|---|
| <a span class="hashTag" data-entity-id="obj123">#tag</aspan> |
| <a span class="cashTag" data-entity-id="obj456">$tag</aspan> |
Template Macros
The API Agent will support Freemarker templating (see http://freemarker.org/). Any EntityJSON content associated with a message will be made available as the data model in the Freemarker interpreter and macros can then be used to expand the supplied MessageML document into a PresentationML document which fully describes the message.
...