com.symphony.link [E]

An entity representing a hyperlink to a web resource identified by a URI.

Version 0.1

Name

Type

Cardinality

Description

 

com.symphony.uri [A]

1The URI of the linked resource.

 

com.symphony.content.type [A]

0..1

The type of the linked resource.

 

com.symphony.content.subtype [A]

0..1The sub-type of the linked resource.
 com.symphony.service.provider [A]0..1The name of the service provider of the linked resource. Used to provide special rendering for particular media types.
labelorg.symphonyoss.string [A]0..1The label to be displayed.
presentationMLPresentationML1Default rendering.

The type, sub-type and provider attributes are intended to be added by a standard Symphony enrichment app in order to render some special cases in a particular way. The current product provides special rendering for YouTube video links for example.

Example

The following example represents a link entity which has been locally enriched by the receiver:

<entity type="com.symphony.link" version="0.1">
    <attribute type="com.symphony.content.type" value="video" enrichment="1"/>
    <attribute type="com.symphony.service.provider" value="youtube" enrichment="1"/>
    <attribute type="com.symphony.uri" value="https://www.youtube.com/watch?v=bbWqo1i2OZY" />
	<attribute name="label" type="org.symphonyoss.string" value="www.youtube.com/watch?v=bbWqo1i2OZY"/>
    <presentationML>[www.youtube.com/watch?v=bbWqo1i2OZY -> https://www.youtube.com/watch?v=bbWqo1i2OZY]</presentationML>
    <presentationML enrichment="1">[youtube: bbWqo1i2OZY]</presentationML>
</entity>

Need help? Email help@finos.org we'll get back to you.

Content on this page is licensed under the CC BY 4.0 license.
Code on this page is licensed under the Apache 2.0 license.