Skip to content
Loading...

qDiscussionView and qListView error “Object reference not set to an instnace of an object”

Title

qDiscussionView and qListView error “Object reference not set to an instnace of an object”

Description

qDiscussionView and qListView error “Object reference not set to an instnace of an object”

Please wait...

With both qDiscussionView and qListView (pointing to a Document Library) placed on the same page, the following error is thrown on qDiscussionView after uploading a document through qListView:

“Object reference not set to an instnace of an object”

This error does not occur with a Out-of-the-Box SharePoint document library web part and a qDiscussionView web part on the page.

Cause

<P style="MARGIN: 0in 0in 0pt" class=MsoPlainText><FONT face=Calibri>As designed, after uploading a document using qListView and saving its properties, a parameter called “RootFolder” will be appended to the URL. </FONT><FONT face=Calibri>qDiscussionView can also accept this URL parameter and use it as a filter condition. I</FONT><FONT face=Calibri>f the discussion board used by qDiscussionView doesn’t contain the folder passed by this parameter, qDiscussionView will throw an exception. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></P>

Resolution

<P>WORKAROUND:</P> <P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">Use javascript to replace the URL parameter “RootFolder” with another one which can’t be recognized by qDiscussionView. Reference the attached detailed steps document.</SPAN></P>

Defect ID

<P style="MARGIN: 0in 0in 0pt" class=MsoPlainText><FONT face=Calibri>As designed, after uploading a document using qListView and saving its properties, a parameter called “RootFolder” will be appended to the URL. </FONT><FONT face=Calibri>qDiscussionView can also accept this URL parameter and use it as a filter condition. I</FONT><FONT face=Calibri>f the discussion board used by qDiscussionView doesn’t contain the folder passed by this parameter, qDiscussionView will throw an exception. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></P>

Leave a Reply