ox-it / python-sharepoint

A Python library for getting data out of SharePoint
BSD 3-Clause "New" or "Revised" License
127 stars 45 forks source link

Always Using Default View #5

Open pawl opened 11 years ago

pawl commented 11 years ago

It's only getting the records from the default view when I try to access a list in Sharepoint 2010.

The error is probably around line 175 in: python-sharepoint / sharepoint / lists / init.py

specialcircumstances commented 9 years ago

I'd love to be able to set the view also - as the default view is not what I need...

any suggestions how this could be achieved?

Thanks for the module though!!!

wjstarrsiii commented 8 years ago

Hi, same issue for me. I need to access all items from a list. The default view for users is to filter for "My Items". Therefore the rows that I am getting programmatically depend on the account I use for NTLM Authentication. Thanks for any advice.

m3nu commented 8 years ago

This was easy to fix. I filed a PR

Not sure it will be merged, since there are 3-year old PRs waiting for review.

m3nu commented 8 years ago

@wjstarrsiii @specialcircumstances @pawl Let me know if this works for you. Currently this needs the view ID. You can look it up in the URL when editing a view.

specialcircumstances commented 8 years ago

Ah - great work... might be the weekend before I can test this though. :)

alexdutton commented 8 years ago

I'm happy to merge if @specialcircumstances (or anyone else who's tested it) gives it their blessing :smile:.

wjstarrsiii commented 8 years ago

Made the modifications and works like a charm. Thanks!

m3nu commented 8 years ago

Is this ready to merge? Has been a while. @specialcircumstances @alexsdutton

braunagn commented 7 years ago

Works for me as well, let's merge this PR! @specialcircumstances @m3nu @alexsdutton

pembo13 commented 6 years ago

Is this project still alive?

specialcircumstances commented 6 years ago

Heh - I don't know... I've not popped by for ages. If if is.. I say Merge!

lol - or Fork and Merge

braunagn commented 6 years ago

STILL works for me. Let's merge already! It's a great tweak to a great library.