1

Could you help me please, how can I set a value to custom web property in SharePoint and then get this property later?

Now, I only can get all default properties using [web url]/_api/web.

2
  • Hi @Propool, did you try solution given below? is it working for you? let me know if you still need help with this. Mar 25 at 10:03
  • I am checking to see how things are going there on this issue. Apr 6 at 6:04

1 Answer 1

1

You can use PnP PowerShell to set a value to custom web property in SharePoint online.

Example:

Set-PnPPropertyBagValue -Key MyKey -Value MyValue

Then you can retrieve web property using:

Get-PnPPropertyBag -Key MyKey

Documentation: Set-PnPPropertyBagValue

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.