Skip to Content
0
Former Member
Nov 20, 2003 at 09:05 AM

Remove a Custom Property

39 Views

Hi all,

I created a custom property via KM API. I need to delete it from a specific resource.

When I try to delete it via IResource.deleteProperty() method, I get an exception (PropertyMandatoryException).

I think the exception is caused by the PropertyDef flag: isRequired = true.

I didn't find any method to modify an existing propertyDef associated to the my Property instance in order to turn isRequired flag false.

Any idea to solve this problem?

Thanks

Marco