DocumentObj 2.5 DeleteByIshLngRef
Deletes a particular language of an Content Manager object.
Parameters
| Name | Type | Direction | Description |
|---|---|---|---|
| psAuthContext | String | InOut | Deprecated proprietary authentication context only used by .ASMX web services based on internal username/password authentication. Claims based security standards drive all the WCF .SVC web services, making this parameter redundant. |
| plLngRef | Long | In | The language level identifier. |
| psXMLRequiredCurrentMetadata | String | In | Metadata XML structure with the metadata that object is required to have set currently. The update of the object is only carried out when the object has exactly the same metadata specification, i.e. the metadata was not changed by someone else. |
Requirements are:
- The user must have write access for the folder in which the object is going to be deleted.
The table describes the behavior depending on your starting situation.
| Action | Delete will fail... | Result |
|---|---|---|
| Delete language |
| This language is deleted. |
| Delete last language of the version |
| This language and version is deleted. |
| Delete last language of a map with the single version |
| The complete map is deleted including the last version and logical object. |
Note that:
- The parameter
psXMLRequiredCurrentMetaDatacan be used to require that the delete only is carried out when the object is still in the same state as the users thinks it is.