Section content
Added by IBM contributorIBM | Edited by Claudia R Elbourn on June 9, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Lists the elements in an activity section 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

In the http://www.ibm.com/xmlns/prod/sn namespace.

 

Table 1. Activity section elements

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

Note: When you retrieve a section 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="Section"/>

Notice that the term attribute is set to comment instead of section.
<content type="html" />
Required
The formatted content of a section, as defined in the Atom specification. This element should be empty; it is not used by sections.
<title type="text">
Required
Section title; a descriptive title of the section specified in text format. The type attribute is optional; type="text" is the default and only format allowed.
<snx:position>
Optional
Position of the section within the activity. 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 section relative to other sections in the activity. If a number is used more than once, the server renumbers the sections, while maintaining the relative positions of all sections.
<author>

			<name>

			<email>

			<snx:userid>

			<snx:ldapid>

			<snx:userStatus>

			</author>
Ignored
The author of this section. 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
The person who contributed to the section. 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 a section.
<link rel="alternate" type="application/xhtml+xml" href="<alternate_url>" />
Ignored
As defined in the Atom specification.
<link rel="alternate" type="text/html" href="<alternate_url>" />
Ignored
As defined in the Atom specification.
<link rel="edit" type="application/atom+xml" href="<edit_url>" />
Ignored
Specifies a URI from which you can retrieve the full content of a section, as opposed to a summary. Use this URI to update or delete the section.
<link rel="self" type="application/atom+xml" href="<self_url>" />
Ignored
As defined in the Atom specification.
<published>
Ignored
The date this section was published, as defined in the Atom specification.
<snx:activity>
Ignored
Unique ID of the activity in which this section resides. The identifier is assigned to the activity by the server.
<updated>
Ignored
The date this section was updated, as defined in the Atom specification.

 


Example


<entry>

<id>urn:lsid:ibm.com:oa:511G0A0A0A0A2D52F6F7386066494A00004C</id>

<title type="text">Status Reports</title>

<updated>2008-01-29T15:27:09Z</updated>

<published>2008-01-29T15:07:11Z</published>

<author>

<name>Michelle Jenkins</name>

<email>michelle_jenkins@us.example.com</email>

<snx:userid>937965j0-4f0c-1028-5a06-db07163b51b2</snx:userid>

<snx:ldapid>55CG091E0E4C98URE6967B3131AD5900082T</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>55CG091E0E4C98URE6967B3131AD5900082T</snx:ldapid>

</contributor>

<category

scheme="http://www.ibm.com/xmlns/prod/sn/type" term="section" label="Section" />

<snx:activity>3F8G0A0A0A0BBBF115C2B208A75140000009</snx:activity>

<link

rel="edit"

type="application/atom+xml"

href="https://sales.enterprise.example.com/activities/service/atom2/

activitynode?activityNodeUuid=511G0A0A0A0A2D52F6F7386066494A00004C" />

<link

rel="self"

type="application/atom+xml"

href="https://sales.enterprise.example.com/activities/service/atom2/

activitynode?activityNodeUuid=511G0A0A0A0A2D52F6F7386066494A00004C" />

<link

rel="alternate"

type="application/xhtml+xml"

href="https://sales.enterprise.example.com:443/activities/service/html2/

activityentry?uuid=511G0A0A0A0A2D52F6F7386066494A00004C" />

<link

rel="alternate"

type="text/html"

href="https://sales.enterprise.example.com:443/activities/service/html2/

activityentry?uuid=511G0A0A0A0A2D52F6F7386066494A00004C" />

<snx:position>3000</snx:position>

<snx:depth>1</snx:depth>

<content type="html" />

</entry>