K2 failed to retreive data from SharePoint 2013 Document library or Promoted Links list


Badge +2

Hi!

 

I created a SmartObject to get items from a Document Library or a Promoted Links list. Both Smart Objects are working fine with the Smart Object Tester.

When I create a view where I want do show the content in a list view I got the following error:

 

Data at the root level is invalid. Line 1, position 1.
•Type: System.Xml.XmlException
•Source: System.Xml
•Method Base
◦Member Type: Method
◦Name: Throw
◦Module
◾Scope Name: System.Xml.dll
◦Declaring Type
◾Full Name: System.Xml.XmlTextReaderImpl
•Stack Trace:
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XPath.XPathDocument.LoadFromReader(XmlReader reader, XmlSpace space)
at System.Xml.XPath.XPathDocument..ctor(TextReader textReader)
at SourceCode.SmartObjects.Client.SmartHyperlinkProperty.GetRuntimeData(String value)

 

Thanks Michael 


2 replies

Userlevel 1
Badge +8

Hi Michael

 

This is a bug (I had the same issue). Log a call with K2 support and they will provide a cold fix.

Badge +2

Thank you for your input Andrew. I installed the 4.6.10 release today and the issue was fixed.

Regards Michael

Reply