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

List icon and color #693

Closed
fruade opened this issue Jun 5, 2023 · 1 comment
Closed

List icon and color #693

fruade opened this issue Jun 5, 2023 · 1 comment

Comments

@fruade
Copy link

fruade commented Jun 5, 2023

Please help!
Is it possible to get or update an icon for a list?
2023-06-05 162139

@vgrem
Copy link
Owner

vgrem commented Feb 29, 2024

Hi there,

the support for creating colored folder has been intoduced in 2.5.6 version, here is an example:

ctx = ClientContext(site_url).with_credentials(user_credentials)
root_folder = ctx.web.default_document_library().root_folder
folder = root_folder.folders.add(
    "archive", color_hex=FolderColors.DarkGreen
).execute_query()

@vgrem vgrem closed this as completed Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants