I can’t retrieve the data from the custom columns using shareplum

I am working with Python and I am using the shareplum library to fetch info about my files.

So after using my login info, including username, password, domain and site, I have a site object.

From this site object you can call

sp.GetListCollection()

which provides you with a listing of what is called “lists” in this specific case they correspond to that:
SharePointView of the site’s lists

In my Notebook it looks like this:
JupyterView

Once you have the site object you can call a list object, in my case it is ‘Documents’

documents = sp.List(list_name='Documents')

And from that point you can call

documents.get_list_items()

Which gives you info about what is contained in the Documents list,

SharePoint view

Jupyter view

As displayed on the picture, the columns contain data which I want to retrieve. The columns in red are examples.

At this point we are dealing with a SharePoint List object and to reach the files and folders contained here we can use:

folder = sp.Folder("Shared Documents/Test_Library")

Which means we are now handling a _Folder object

This folder is this one one the SharePoint side:

Inside the folder

On the Folder object you can retrieve the infos about waht is inside:

contents = folder.files + folder.folders

Which returns a list of dictionnaries, one per file, plus the names of the subfolders:

jupyter view

And for each file we get infos:

-‘odata.type’,

  • ‘odata.id’,
  • ‘odata.editLink’,
  • ‘CheckInComment’,
  • ‘CheckOutType’,
    […]
  • ‘Name’,
  • ‘ServerRelativeUrl’,
  • ‘TimeCreated’,
  • ‘TimeLastModified’,
  • ‘Title’,
  • ‘UIVersion’,
  • ‘UIVersionLabel’,
  • ‘UniqueId’

But the info from the columns in the SharePoint are not retrieved, like my example columns “monkey” and “woohoo” that are not part of the dictionnary keys

In a nutshell, what I would like to do is to get the same outout as if I were using .get_list_items(), but at the ._Folder object level.

Has anyone already dealt with this issue ?

I have tried to check the source code of the library shareplum, as well as the online documentation

I have tried to use other libraries but I feel like with shareplum I am the closest to my solution.

The objective at the end would to have a SharePoint Crawler able to retrieve all available metadata about any file/folder, as well as the files/folders locations

New contributor

Pablo_le_Vicieux is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật