Jump to content

Lock metadata via api or c#


Recommended Posts

rbjtech
Posted

Hi All,

I did a quick search but could not find anything definative.

I want to lock metadata via the api and/or c# 

I see there are some attributes such as BaseItem.LockedFields  BaseItem.IsFieldLocked etc

But not sure how I use them - does anybody have a code example of say locking the tags ?

Thanks !

Posted

Via the api it’s just an array of string so you would add Tags to the list and then update the item.

rbjtech
Posted
3 minutes ago, Luke said:

Via the api it’s just an array of string so you would add Tags to the list and then update the item.

ah ok - I'll have a play - thanks for coming back to me.

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...