+

Search Tips   |   Advanced Search

Dynamic IBM Connections source URL construction

To dynamically construct IBM Connections query URLs, use the [Plugin:ConnectionsContext] and [Plugin:ResourceURL].

The [Plugin:ConnectionsContext] plug-in serves relevant IBM Connections context and configuration information. This includes the service base URLs, the UUID of the community associated to the current page, and the source URL of social Atom object entries that a user clicked. For more detailed information about this plug-in, read The connection context rendering plug-in.

Use the [Plugin:ResourceURL] to construct complex query URLs. We do so by adding one or more query parameters to an existing Connections service base URL. For more detailed information about this plug-in, read The resource URL plug-in.

Example: To dynamically construct the query URL that serves the information about the members of the community that associated to the current page, we create an HTML component containing the following markup:

[Plugin:ResourceURL param="role=all" 
      param="format=full"     
      param="sortBy=created" 
      param="sortOrder=desc"     
      url="[Plugin:ConnectionsContext type='service'     key='communities']/service/atom/community/members"     
      compute="always"]


Parent Extending social lists using the digital data connector


Related information


The IBM Connections context rendering plug-in