Community articleRelated Community entry content
Added by IBM contributorIBM | Edited by IBM contributordeveloperWorks Lotus Team on July 1, 2014
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 a Related Community Atom entry.



Lists the elements in a Related Community Atom entry.

You can create Related Community entries in the Communities. The table lists all elements.

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. Entry elements

Element
How treated on input
Description
<id>
Ignored
Unique identifier of a bookmark.
<snx:communityUuid xmlns:snx="http://http://www.ibm.com/xmlns/prod/sn"/>}}}
Ignored
The uuid of the community which this Related Community is added to.
<snx:relatedCommunityUuid xmlns:snx="http://http://www.ibm.com/xmlns/prod/sn"/>
Ignored
The original communityUuid of the related community.
<snx:permissions xmlns:snx="http://http://www.ibm.com/xmlns/prod/sn"/>
Ignored
The permissions current user owns. The permissions should be one or multiple words of following list. Multiple words must be separated by ",".

view:
Current user can view this entry.

create:
Current user can create entry in its containing community.

edit:
Current user can edit this entry.

delete:
Current user can delete this entry.
<title type="text">
Required
Entry title; a descriptive title of the related community specified in text format. The type attribute is optional; type="text" is the default and only format allowed.
<category scheme="http://www.ibm.com/xmlns/prod/sn/type" term="relatedCommunity"/>
Required
Identifies a Related Community entry.
<link href="link_url" rel="http://www.ibm.com/xmlns/prod/sn/related-community" type="text/html"/>
Required
Specifies the web address to which the Related Community refers.

Note: You must specify rel attribute.
<link href="edit_url" rel="edit" type="text/html"/>
Ignored
Specifies a URI from which you can retrieve the full content of the entry, as opposed to a summary. Use this URI to update or delete the entry.
<link href="self_url" rel="self" type="text/html"/>
Ignored
Specifies a URI from which you can retrieve this entry.
<link href="alternate_url" rel="alternate" type="text/html"/>
Ignored
Specifies a URI from which you can retrieve its UI.
<content type="html">
Required
Your description of the entry resource.
<published>
Ignored
The date this entry was published, as defined in the Atom specification.
<updated>
Ignored
The date this entry was updated, as defined in the Atom specification.
<author>
<name>
<email>
<snx:userid>
<snx:userState>
</author>
Ignored
The author of this entry, as defined in the Atom specification. If IBM® Connections is configured to prevent email addresses from being displayed, then the <email> element is not supported; provide the <snx:userid> instead. Otherwise, <email> can be used. The <name> and <snx:userState> elements are ignored on input.
<contributor>
<name>
<email>
<snx:userid>
<snx:userState>
</contributor>
Ignored
The modifier of this entry, as defined in the Atom specification. If IBM® Connections is configured to prevent email addresses from being displayed, then the <email> element is not supported; provide the <snx:userid> instead. Otherwise, <email> can be used. The <name> and <snx:userState> elements are ignored on input.

Example:

 <entry xmlns:snx="http://www.ibm.com/xmlns/prod/sn">
<id>urn:lsid:ibm.com:recomm:relatedcommunity:11bd8995-8d8f-4a73-a633-26974984a1e5</id>
<snx:communityUuid xmlns:snx="http://www.ibm.com/xmlns/prod/sn">bfcec17e-235c-4bd7-9fd5-2ba98779bd70</snx:communityUuid>
<snx:relatedCommunityUuid xmlns:snx="http://www.ibm.com/xmlns/prod/sn">dc1a846d-59c3-4c95-9d13-6724582ab170</snx:relatedCommunityUuid>
<snx:permissions xmlns:snx="http://www.ibm.com/xmlns/prod/sn">edit,delete</snx:permissions>
<title type="text">This is a related community</title>
<published>2012-08-16T07:43:52.000Z</published>
<author>
<snx:userid xmlns:snx="http://www.ibm.com/xmlns/prod/sn">50730340-0101-102e-88f0-f78755f7e0ed</snx:userid>
<email>ajones22@janet.iris.com</email>
<name>Amy Jones22</name>
<snx:userState xmlns:snx="http://www.ibm.com/xmlns/prod/sn">active</snx:userState>
</author>
<updated>2012-08-16T07:43:52.000Z</updated>
<contributor>
<snx:userid xmlns:snx="http://www.ibm.com/xmlns/prod/sn">50730340-0101-102e-88f0-f78755f7e0ed</snx:userid>
<email>ajones22@janet.example.org</email>
<name>Amy Jones22</name>
<snx:userState xmlns:snx="http://www.ibm.com/xmlns/prod/sn">active</snx:userState>
</contributor>
<content type="text">Add a related community.</content>
<category scheme="http://www.ibm.com/xmlns/prod/sn/type" term="relatedCommunity"></category>
<link href="http://lc30linux4.example.org/communities/service/html/communityview?communityUuid=dc1a846d-59c3-4c95-9d13-6724582ab170" rel="http://www.ibm.com/xmlns/prod/sn/related-community" type="text/html">
<link href="http://lc30linux4.example.org/communities/service/html/communityview?communityUuid=dc1a846d-59c3-4c95-9d13-6724582ab170" rel="alternate" type="text/html">
<link href="http://lc30linux3.example.org/communities/recomm/atom_form/relatedCommunity?entryId=11bd8995-8d8f-4a73-a633-26974984a1e5" rel="self" type="application/atom+xml">
<link href="http://lc30linux3.example.org/communities/recomm/atom_form/relatedCommunity?entryId=11bd8995-8d8f-4a73-a633-26974984a1e5" rel="edit" type="application/atom+xml">
</entry>