TranslationJob 2.5 SetMetaData3
This method updates the metadata of the translation job card.
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. |
| psTranslationJobId | String | In | The element name of the translation job |
| psXMLMetaData | String | In | Metadata XML structure with the metadata that will be set on the current object |
| 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 in Content Manager has exactly the same metadata specification, i.e. the metadata was not changed by someone else. |
Requirements are:
- The user must have write access to the translation job that is going to be updated.
Note that:
- The level attribute on the
ishfieldelement must benone. - Be aware that if the job is not in
Definitionstatus, it is probably being processed by the Translation Builder or translation Organizer. Updating such a job could produce unpredictable results and/or fail the job processing. - If the job status changes to
Sending, the value of theLeased Byfield is used as a synchronization token to prohibit multiple Translation Organizers from sending multiple translation jobs at the same time. The value of the synchronization token can be checked with Settings 2.5 GetMetaData (Translation Job Leases fieldFISHTRANSJOBLEASES). - If the job status changes from
Sendingto another status, the Translation Job Leases field (FISHTRANSJOBLEASES) value cleans up.