Applying Custom Metadata Fields on a Particular Topic Type

I want to add custom metadata fields to a specific Topic Type "Task".

I have added the custom metadata fields as described here. Since I don't want the metadata fields on other object types than Topics, I just added FormGroup of my custom fields to "Module.GeneralTabPage" FormTab in MetadataConfig.xml.(As highlighted in the image below)

Screenshot of Trados Studio's MetadataConfig.xml file showing XML code with a highlighted section for 'Module.GeneralTabPage' containing a 'FormGroup' tag for 'CustomTaskMetadataGroup'.

This works fine and the custom metadata fields are shown on the Topics but my requirement is to show the fields only on the "Task" topic type. To achieve this I tried adding many conditions on the From Group tag (as well as on the fields tags) but none of the below condition works:

ishcondition="FMODULETYPE='VMODULETYPETASK'"

ishcondition="DMODULETYPE='VMODULETYPETASK'"

ishcondition="FMODULETYPE='Task'"

ishcondition="DMODULETYPE='Task'"

ishcondition="ModuleType='VMODULETYPETASK'"

ishcondition="ModuleType='Task'"

I also referred to the SDL Documentation about ish conditions in MetadataConfig.xml and it looks like the above is not possible to achieve by updating the MetadataConfig.xml as the variables in the ish conditions might not be available to metadataConfig.xml.

Questions:

  1. Is it possible to apply metadata only to a particular Topic Type?

    1. If yes, Is it possible by updating the metadataConfig.xml or there?

      1. If yes, what would be the correct ish condition for it?


Generated Image Alt-Text
[edited by: Trados AI at 6:39 AM (GMT 0) on 5 Mar 2024]
emoji
Parents Reply Children
No Data