Issues with Sharepoint Connector for Confluence

So far, our experience with the Sharepoint Connector for Confluence is a hit or miss. Within a same site, I am able to pull one list, but I am not able to pull another. I am wondering, are there any do's and don'ts when it comes to picking the lists that needs to be pulled in to Confluence?

Currently, I have a situation where a list from one site is pulled in correctly, but when I try to pull a list with the same name from another site, the macro displays the error:

In Confluence 3.5.7: sp-list: Unable to retrieve list <list name>

In Confluence 4.1: Error rendering macro {sp-list}: Unable to retrieve list <list name>

The logs show the error:

In Confluence 3.5.7:

2012-01-23 11:53:25,253 ERROR [http-8080-16] [extra.sharepoint.macros.SharePointListMacroRenderer] getColumns Unable to retrieve list <list name>
-- url: /confluence/pages/rendercontent.action | userName: QuadrosL | referer: <referring URL> | action: rendercontent
java.lang.RuntimeException: javax.xml.ws.WebServiceException: org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.

In Confluence 4.1:

2012-01-23 11:25:53,034 ERROR [http-8080-5] [extra.sharepoint.macros.SharePointListMacroRenderer] getColumns Unable to retrieve list <list name>
-- url: /confluencetest/rest/tinymce/1/macro/preview | userName: <username>| referer: <referring URL> java.lang.RuntimeException: javax.xml.ws.WebServiceException: org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.

3 answers

1 accepted

It turns out that the spaces in site names need to be encoded and the list names need not. For example, if you have site named 'X Files' and a list named 'Project X' within it. To reference that list in the macro, you would refernce it as 'X%20Files/Project X'.

You may have already done this but check your firewalls.

No issues with the firewall - they are all internal trusted sites.

Another thing that may cause this problem is if the number of Lookup and/or Managed Metadata columns in your list exceeds the limit defined by SharePoint's List View Lookup Threshold setting.

We have a fairly complex metadata scheme on one of our lists (36 managed metadata and lookup columns). Our SharePoint group has set the List View Lookup Threshold setting to 25 for performance reasons. At that setting, we are unable to embed the list. We raised it to 50 for testing purposes and were able to embed the list. Unfortunately, that setting is not a long term option for performance reasons. Note that Microsoft's recommended setting is 8. Lots of information on this setting if you search for it.

There is potentially a way around this setting via a ListQueryThrottle Override mode and Confluence is looking into incorporating this in a future release of the connector. Vote for and follow the improvement request here SharePoint list macro failed to render a big list from SharePoint.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

942 views 23 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you