Permanently deletes a field from a custom property set definition. This drops the column from the underlying database table, removes all stored values for that field across every document, folder, and user that had this property set applied, and deletes any associated lookup configuration. This operation cannot be undone.
/srv.asmx/DeletePropertySetField
/srv.asmx/DeletePropertySetField?authenticationTicket=...&PropertySetName=...&FieldName=.../srv.asmx/DeletePropertySetField (form data)http://tempuri.org/DeletePropertySetField| Parameter | Type | Required | Description |
|---|---|---|---|
authenticationTicket |
string | Yes | Authentication ticket obtained from AuthenticateUser. |
PropertySetName |
string | Yes | Name of the property set that contains the field. |
FieldName |
string | Yes | Internal name of the field to delete. Case-insensitive (converted to uppercase internally). |
<response success="true" error="" />
<response success="false" error="Custom Property field not found." />
The calling user must be a System Administrator.
Anonymous access is not permitted.
| Item | Description |
|---|---|
| Field definition | The field record in CATEGORYDETAILS. |
| Field options | All static option values for this field (from PROPERTYOPTIONS). |
| Stored values | The column is ALTER TABLE ... DROP COLUMN-ed from CUSTOM_<PropertySetName>, permanently removing all values stored in this field. |
| Lookup config | Any lookup field XML definition file on disk for this field. |
FieldName must contain only letters (A-“Z), digits (0-“9), and underscores. Invalid names cause an exception.GET /srv.asmx/DeletePropertySetField
?authenticationTicket=3f7a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c
&PropertySetName=ProjectMetadata
&FieldName=STATUS
HTTP/1.1
Host: yourserver
POST /srv.asmx/DeletePropertySetField HTTP/1.1
Host: yourserver
Content-Type: application/x-www-form-urlencoded
authenticationTicket=3f7a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c&PropertySetName=ProjectMetadata&FieldName=STATUS
FieldName is matched case-insensitively -“ the system converts it to uppercase before looking it up.| Error | Description |
|---|---|
[900] |
Authentication failed -“ invalid credentials. |
[901] |
Session expired or invalid authentication ticket. |
| Access Denied | Calling user is not a System Administrator. |
| Property set not found | No property set with the specified PropertySetName exists. |
| System property set | Cannot modify a system-managed property set. |
| Field not found | No field with the specified FieldName exists in the property set. |
| Invalid field name | FieldName contains characters other than letters, digits, and underscores. |