Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage example; what is site_url? #6

Open
joe42 opened this issue Sep 18, 2013 · 2 comments
Open

Usage example; what is site_url? #6

joe42 opened this issue Sep 18, 2013 · 2 comments
Labels

Comments

@joe42
Copy link

joe42 commented Sep 18, 2013

Hi,

Thanks for writing python-sharepoint. I need to read a table from a sharepoint site.
What should I enter for site_url in the usage example?
The URL for the table is https://mysite.example.com/personal/dom1_123444/MyTable/default.aspx
Before I visit this page from Site Content, and move my mousepointer over the link, I can see the javascript function that is going to get executed by clicking it. It has the following parameters:
30:WebNode:34jhkjf-23rfndf-23rfnfj, \u002fpersonal\u002fdom1_123444\u002fMyTable

I tried to execute the example with the first URL I mentioned, and got a "HTTP Error 401: Unauthorized " in self.opener.open(request) when iterating.

So maybe there is another problem with the authentication, since I use https?

Thanks a lot,
joe

@celljak
Copy link

celljak commented Oct 19, 2013

Joe,
I'm having the same issue. did you get past this point?

Nic

@joe42
Copy link
Author

joe42 commented Oct 20, 2013

Hi celljak,
I solved the problem. Take a look here for my solution: http://sharepoint.stackexchange.com/questions/77652/get-data-from-published-accdb-access-database
When you export a new style accdb database, then a new "subsite" is created instead of a simple sharepoint list (which I would describe as a table rather than a list). On this subsite, there are the actual tables(=sharepoint lists) of the database. If you prefer an easier solution, check out if you have permission to use Sharepoint Designer with sharepoint. It seems to be a tool, where you can easily create any kind of workflow inside sharepoint itself, involving any list in sharepoint.

Sadly, this repository is no longer supported; there should be a button in github marking projects as unmaintained.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants