Skip to content
This repository has been archived by the owner on Jun 18, 2019. It is now read-only.

Update RootFolder Properties of a list #557

Closed
AhmadiRamin opened this issue Aug 9, 2017 · 2 comments
Closed

Update RootFolder Properties of a list #557

AhmadiRamin opened this issue Aug 9, 2017 · 2 comments

Comments

@AhmadiRamin
Copy link

AhmadiRamin commented Aug 9, 2017

Hello ,
I want to enable the rating settings of a list , as I know we can achieve that by updating the properties bag of the rootfolder . pnp gives me an ability to get the rootfolder properties by below code :
pnp.sp.web.lists.getByTitle("news").rootFolder.properties

but it wouldn't let me to update a property.
any solutions regarding this issue ?

@patrick-rodgers
Copy link
Contributor

You cannot currently update the property bag via REST. This is a limitation in the product and not the library so unfortunately nothing we can do currently. The work around is to use the JSOM for now. This is also a duplicate of #455 in that both require the ability to update properties - so I'll close this one. Thanks!

@AhmadiRamin
Copy link
Author

Hi Patrick , thanks for your reply :)

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

No branches or pull requests

2 participants