Documentation Center

TranslationJob 2.5 SetMetaData3

This method updates the metadata of the translation job card.

Parameters

NameTypeDirectionDescription
psAuthContextStringInOutDeprecated 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.
psTranslationJobIdStringInThe element name of the translation job
psXMLMetaDataStringInMetadata XML structure with the metadata that will be set on the current object
psXMLRequiredCurrentMetaDataStringInMetadata 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 ishfield element must be none.
  • Be aware that if the job is not in Definition status, 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 the Leased By field 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 field FISHTRANSJOBLEASES).
  • If the job status changes from Sending to another status, the Translation Job Leases field (FISHTRANSJOBLEASES) value cleans up.