Entry content 

Lists the elements in an activity entry as it is defined by Atom.

All elements are in the http://www.w3.org/2005/Atom namespace, except those that are prefixed as follows:

snx

Table 1. Entry elements

Element How treated on input Description
<category scheme="http://www.ibm.com/xmlns/prod/sn/type" term="entry" label="Entry" /> Required Identifies an activity entry.

Note: When you retrieve an entry created in IBM Connections 2.0 from a version 1.0.x feed, the entry is represented as follows:

<category scheme="http://www.ibm.com/xmlns/prod/sn/type" term="comment" label="Entry"/>

Notice that the term attribute is set to comment instead of entry.

<content type="html"> Required The formatted content of an activity, as defined in the Atom specification; may be empty.
<title type="text"> Required Entry title; a descriptive title of the entry specified in text format. The type attribute is optional; type="text" is the default and only format allowed.
<snx:field> Optional Represents a bookmark, file, or custom field. See Activities field element for more information.
<snx:position> Optional Position of the entry in the containing activity entry's array of fields. Use numbers separated by large increments to allow for repositioning. For example, use 1000, 2000, 3000, and so on. Choose a number that positions the entry relative to other entries in the activity. If a number is used more than once, the server renumbers the entries, while maintaining the relative positions of all entries.
<author>

<name>

<email>

<snx:userid>

<snx:ldapid>

<snx:userStatus>

</author>

Ignored The author of this activity. Accepts the <name> element as specified in the Atom specification. Also accepts the <snx:ldapid> and <snx:userid> elements. If IBM Connections is configured to prevent email addresses from being displayed, then the <email> element is not supported. Otherwise, it can be used. The <snx:userStatus> element identifies whether the person is an active or inactive user.
<contributor>

<name>

<email>

<snx:userid>

<snx:ldapid>

<snx:userStatus>

</contributor>

Ignored A contributor to this activity. Accepts the <name> element as specified in the Atom specification. Also accepts the <snx:ldapid> and <snx:userid> elements. If IBM Connections is configured to prevent email addresses from being displayed, then the <email> element is not supported. Otherwise, it can be used. The <snx:userStatus> element identifies whether the person is an active or inactive user.
<id> Ignored Unique identifier of an entry.
<link rel="edit" type="application/atom+xml" href="edit_url"/> Ignored Use this web address to obtain the latest full content (not just summary) of this entry and to update or delete it.
<link rel="self" type="application/atom+xml" href="self_url"/> Ignored As defined in the Atom specification.
<link rel="alternate" type="application/atom+xml" href="alt_url"/> Ignored As defined in the Atom specification.
<link rel="alternate" type="text/html" href="alt_url"/> Ignored Use this web address to obtain a HTML representation of this entry that is suitable for display in a browser.
<published> Ignored The date this entry was published, as defined in the Atom specification.
<snx:activity> Ignored Unique ID of the activity in which this entry resides. The identifier is assigned to the activity by the server.
<updated> Ignored The date this entry was updated, as defined in the Atom specification.


Example

<entry> <id>urn:lsid:ibm.com:oa:900G0A0A0A0A8DDE3D94CA8A3D95D700000A</id> <title type="text">Review</title> <updated>2008-02-01T15:36:53Z</updated> <published>2008-02-01T15:30:04Z</published> <author> <name>Michelle Jenkins</name> <email>michelle_jenkins@us.example.com</email> <snx:userid>937965j0-4f0c-1028-5a06-db07163b51b2</snx:userid> <snx:ldapid>96CG046E0E4B47BEF6967B3131AD5900026D</snx:ldapid> </author> <contributor> <name>Michelle Jenkins</name> <email>michelle_jenkins@us.example.com</email> <snx:userid>937965j0-4f0c-1028-5a06-db07163b51b2</snx:userid> <snx:ldapid>96CG046E0E4B47BEF6967B3131AD5900026D</snx:ldapid> </contributor> <category scheme="http://www.ibm.com/xmlns/prod/sn/type" term="entry" label="Entry" /> <snx:activity>3F8G0A0A0A0AAAF115C2B208A75140000002</snx:activity> <link rel="edit" type="application/atom+xml" href="https://sales.enterprise.example.com/activities/service/atom2/ activitynode?activityNodeUuid=900G0A0A0A0A8DDE3D94CA8A3D95D700000A" /> <link rel="self" type="application/atom+xml" href="https://sales.enterprise.example.com/activities/service/atom2/ activitynode?activityNodeUuid=900G0A0A0A0A8DDE3D94CA8A3D95D700000A" /> <link rel="alternate" type="application/xhtml+xml" href="https://sales.enterprise.example.com:443/activities/service/html2/ activityentry?uuid=900G0A0A0A0A8DDE3D94CA8A3D95D700000A" /> <link rel="alternate" type="text/html" href="https://sales.enterprise.example.com:443/activities/service/html2/ activityentry?uuid=900G0A0A0A0A8DDE3D94CA8A3D95D700000A" /> <snx:position>4000</snx:position> <content type="html">Review template<br></content> <snx:field name="Writer" fid="6C3G0A0A0A0AADF41AC99D46EADECB0000C1" position="2000" type="person"> <name>Julianne Fudge</name> <email>julianne_fudge@example.com</email> <snx:userid>91ae7880-8f0a-1028-9625-dc07144j51b2</snx:userid> </snx:field> <snx:field name="File name" fid="8C1G0A0A0A0A8DDE3D94CA8A3D95D700000E" position="3000" type="file"> <link rel="enclosure" type="application/octet-stream" href="https://sales.enterprise.example.com:443/activities/service/download/ C74G0A0A0A0A8DDE3D94CA8A3D95D700000F/hamlet2.doc" size="19968" /> </snx:field> </entry>


Parent topic

Activities Atom node data types

Related concepts
Activities Atom node data types

Related reference
Create activity nodes
Retrieve activity nodes
Delete activity nodes
Restore activity nodes
Update activity nodes


   

 

});