Search the SharePoint Connector 1.1.x documentation:
Index
[Downloads (PDF, HTML & XML formats)]
[Other versions]
The SharePoint Connector User's Guide tells you how to search Confluence and SharePoint content, display SharePoint content in Confluence and display Confluence content in SharePoint.
On this page:
To search for Confluence and SharePoint content from a SharePoint page,
To search for Confluence and SharePoint content from a Confluence page,
Please refer to the detailed guide to searching.
To use the basic form of the {sp-list} macro,
{sp-list:LIST NAME|LIST TYPE}
LIST NAME
' and 'LIST TYPE
' with your own values.In the example below, we show the list of documents in a SharePoint document library. The list name is 'documents
' and the list type is 'document
'.
What you need to type |
What you will get |
---|---|
{sp-list:documents|document} |
|
Please refer to the details of the parameters and options for the {sp-list} macro.
To use the basic form of the {sp-link} macro,
{sp-link:LIST-NAME}my hyperlinked text{sp-link}
{sp-link:LIBRARY-NAME/DOCUMENT-NAME}my hyperlinked text{sp-link}
LIST-NAME
' with your own values for your SharePoint list name, or replace the text 'LIBRARY-NAME/DOCUMENT-NAME
' with your SharePoint document library and file name.my hyperlinked text
' with the words that you want displayed as a hyperlink on the Confluence page.In the example below, we link to a specific document in a SharePoint document library. The library name is 'documents
' and the document name is 'checklist.docx
'.
What you need to type |
Hyperlink created |
---|---|
{sp-link:documents/checklist.docx}a good checklist{sp-link} |
Please refer to the details of the parameters and options for the {sp-link} macro.
Other than search, SharePoint integration with Confluence is revealed through two web parts. These web parts can be added to any web part page by an individual with the "Design" permission level or better (basically anyone in a group that has the "Add and Customize Pages" site permission).
Many of the pages in SharePoint are web parts pages (including the home page in any SharePoint site), you can also create web part pages in a document library that has the "Web Part Page" document template (this document library typically has the name "Pages").
To add the web parts, simply go to a web part page and choose to edit it from the Site Actions menu as shown below. Then click the "Add Web Part" button corresponding to the zone (location) you want your web part(s) to reside. Then scroll down in the popup dialog to find the Conflence web parts and select one of both of them as shown to the right.
The Confluence Page web part is used to render a specific page from Confluence in SharePoint. To edit the web part settings, choose "Modify Shared Web Part" from the web part drop down as shown to the right. Please also see the related web part editor on the right-side of this screen.
The Confluence "host" shown comes from the settings currently saved in the "Confluence Settings" page (found under Site Settings). The Confluence spaces listed are trimmed based on Confluence user permissions for each space.
Once a space is selected, a hierarchical (tree-view) list of pages will be presented to select from. A selected page will be bolded. Please click OK or Apply to make the new page show in the web part.
See Web Part Connections on how to connect this web part to other web parts.
For more details on how to configure the web parts see SharePoint Feature Configuration.
The Confluence Tree View web part is used to represent a hierachical view of pages within specific Confluence space. To edit the web part settings, choose "Modify Shared Web Part" from the web part drop down as shown to the right. Please also see the related web part editor on the right-side of this screen.
The Confluence "host" shown comes from the settings currently saved in the "Confluence Settings" page (found under Site Settings). The Confluence spaces listed are trimmed based on Confluence user permissions for each space.
See Web Part Connections on how to connect this web part to other web parts.
For more details on how to configure the web parts see SharePoint Feature Configuration.
Note
The Confluence Pages Tree View web part does not currently act as a web part connection provider and provide the page ID to the Confluence Page web part. See JIRA issue CSI-136 to track this request.
There are numerous scenarios for connecting web parts. A simple example is to use a List web part that contains space key and/or page ID information that can be provided to the SharePoint Connector for Confluence web parts. An example of this is shown below. The user simply clicks on the radio button to choose an item in the list and the corresponding space key and page ID are provided to the web parts below the list.
Screenshot: Web Part Connections
To reproduce the above sceanrio, do the following:
Screenshot: Making a connection
Screenshot: Configuring the connection
There are many other scenarios for connections. Some other out of the box web parts that specialize in connections are the Filter Web Parts that come with the Enterprise version of MOSS. Each of these filter web parts allows you to configure it to obtain the space key or page ID from different sources and provide one of them to the SharePoint Connector for Confluence web parts. Here are some of the filter web parts in MOSS Enterprise.
From a technical standpoint, the SharePoint Connector for Confluence web parts consume the IWebPartField interface. This is one of the interfaces provided by the List web parts as well as the Filter web parts. You can create your own web part and have it provide data through this interface as well.