Skip to main content
Announcements
Document boards are being consolidated, this board no longer allows NEW documents READ MORE

Reading Data from Sharepoint lists into QlikView

cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Reading Data from Sharepoint lists into QlikView

This is something that's been asked a number of times, so I would like to share this small tip for everyone. interesting in reading data from Sharepoint lists into QlikView.

There are a number of ways to extract data from Sharepoint.

1. Using WebServices

2. Using RPC-Calls

3. Using Microsoft Access as a Data Bridge

1. Using WebServices

The most common way is using Webservice-calls. However constructing XML-request isn't all straight-forward and can't be done directly in QlikView.

2. Using RPC-Calls

An easier way is to use RPC-calls using owssvr.dll, like:

http://your-sharepoint-server/site/_vti_bin/owssvr.dll?Cmd=Display&XMLDATA=1&RowLimit=0&List=listGUI...

listGUID and viewGUID must be in the format {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}.


The listGUID can easily be found by navigating to the list in Sharepoint and go to List Settings. The listGUID will then show up in the address-field in your browser.

If viewGUID is omitted, the default view will be retrieved. To find the viewGUID locate the list in Sharepoint and activate the view needed. Select View Soure in IE to see the source code. Search for view={ to locate the viewGUID.

The response will be in XML, so when reading into QlikView make sure you select XML Files and Internet File. Add the correct crafted URL as described above. The data retrieved can be found in the node xml/data/row.

Example URLs to be used in QlikView:

http://your-sharepoint-server/site/_vti_bin/owssvr.dll?Cmd=Display&XMLDATA=1&RowLimit=0&List={B9C20FC4-4C04-4F4C-93EF-E69E11D286F2}

http://your-sharepoint-server/site/_vti_bin/owssvr.dll?Cmd=Display&XMLDATA=1&RowLimit=0&List={B9C20FC4-4C04-4F4C-93EF-E69E11D286F2}&View={58678A30-DC12-4C66-8568-28E4D9A3EED1}

For more info about owssvr.dll use Google to find various ways of filtering the information

Note: Only fields defined in a view can be retrieved. You need to construct the view with the fields needed, if not using the default view.

3. Using Microsoft Access as a Data Bridge

You can retrieve data from sharepoint using Microsoft Access.

If you are looking at a sharepoint list, click at

Actions --> Open with Access

Microsoft Access opens and a window "Open in Microsoft Access" appears. Select a folder and choose the option "Link to Data on the Sharepoint Site".

Afterwards you can connect from QlikView to this access database via ODBC and you can easily read all fields of the sharepoint list with a SQL Query.

This disadvantage of this approach is, that you'll always have to store your MS Access Database with your QlikView-Sheet. In a server environment this isn't a big problem, but with local clients loading data, this approach has got its shortcomings.

Labels (2)
Comments
Qvmaster2019
Creator
Creator

Hi PBeentjes,

The link does not work (http://weblaunch.nl/?p=309). Says "Apache is functioning normally".

0 Likes
ragosu66
Contributor III
Contributor III

Hi guys. We have installed Publisher Qvw11 SR2 in 64 bit edition.

I'm reading data from an excel file in sharepoint. Using information from other discussions, I connected and loaded the data in qvd files through qvw files without problem. But when I tried to load them in QMC reload calendar, them failed with error messages of "Access is denied" .

I verified the IE security configuration in Internet section and modified the trusted sites, but the problem did not was corrected. My UserID and QMC UserID have propietary profiles, then I supposed that they have complete security access.

Can somebody help me with this issue?

0 Likes
Qvmaster2019
Creator
Creator

This is similar to what we currently have.

Qlikview Tech Support is still trying to figure this out.

For the meantime, why don’t schedule this using supporting task and see if it will run?

0 Likes
sudeepkm
Specialist III
Specialist III

Hi Darwin, Can you please check if your Publisher has access to the SharePoint site or please check if the SharePoint site is not blocked in the Publisher machine.

0 Likes
Qvmaster2019
Creator
Creator

Hi Sudeep,

In the machine, I can access the publisher and it is part of my Trusted Sites in my internet settings.

Is this what you mean?

Please advise.

Darwin M. Natividad

0 Likes
orital81
Partner - Creator III
Partner - Creator III

Thanks for the great post, but im missing something...

When using RPC Calls method: How do I extract the ListGUID in an automated process?

Can I get it from querying the DB (on AllLists table)?

0 Likes
Not applicable
0 Likes
Qvmaster2019
Creator
Creator

"Apache is functioning normally"


when trying to access http://weblaunch.nl/?p=309

0 Likes
Qvmaster2019
Creator
Creator

System Error

We're sorry but a serious error has occurred in the system.

When trying to access

How to Fetch a Sharepoint 2013 List using REST interface

0 Likes
Not applicable

http://community.qlik.com/message/421411#421411

Try this link. The earlier blog was posted in the exclusive Chicago user group .  The aforementioned link should give you access to the same content. Sorry for the trouble.

0 Likes
Version history
Last update:
‎2009-02-09 03:28 AM
Updated by: