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 which 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.