You can use the SharePoint Link macro {sp-link} to put a link on a Confluence wiki page, pointing to a SharePoint list, document or list item. When someone clicks the link, the SharePoint list or document will open. The macro supports most SharePoint list types.
On this page:
The 'Macro Browser' is a graphical menu that allows you to view the list of available Confluence macros and add them to the current page or blog post.
To insert the SharePoint Link macro into a page using the Macro Browser,
|
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 |
|
---|---|---|
|
Parameter |
Default |
Description |
||||
---|---|---|---|---|---|---|
listname |
No default |
The first parameter may contain either the name of a SharePoint list, document library or the path to a document within a document library ('listName'). The listName may also be prefixed with a SharePoint site alias, separated by a colon (:). If a site alias is not specified, the default SharePoint site is used. The text '
Here is another example, where the parameter name '
In the following example, we link to a specific document 'checklist.docx' within the library:
This final example shows how we can specify a specific SharePoint site in order to identify the location of a document:
|
You must give the full path to the list (or library). In the above example, we have assumed that the list is located at the root (top-level) SharePoint site. However, if the list is in a SharePoint site called 'mySubSite
' that is a child of the root site collection, you might specify the following:
{sp-link:/SiteDirectory/mySubSite/documents/checklist.docx}my link text{sp-link} |
|
To link to a folder 'my folder
' within a document library, add a double forward slash(//):
{sp-link:documents//my folder}my link text{sp-link} |
If you are using Microsoft Office integrated with SharePoint, the {sp-link} macro will make use of this integration. When someone clicks on the link created by the macro, it integrates with MS Office in the same way as SharePoint. You can check documents in and out of SharePoint and edit the document from within the Office application.
In oder for the Office integration to work, you must be using Internet Explorer as the browser when accessing the Confluence page.
Diagram: Office integration with the SharePoint Link macro
Below are some examples of the list types supported by the SharePoint Link macro.
See the examples given above.
Linking to a list of links:
{sp-link:lists/sample links}my link text{sp-link} |
Linking to a calendar:
{sp-link:lists/sample calendar}my link text{sp-link} |
Linking to a list of tasks:
{sp-link:lists/sample tasks}my link text{sp-link} |
Linking to a list of SharePoint issues:
{sp-link:lists/sample issues}my link text{sp-link} |
Linking to a list of SharePoint discussions:
{sp-link:lists/sample discussions}my link text{sp-link} |
Linking to a custom SharePoint list:
{sp-link:lists/my custom list}my link text{sp-link} |
Using the SharePoint List Macro
Working with Macros
SharePoint Connector User's Guide