1

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)

enter image description here

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?
  • Hi @Saurabh, as of now in tridion docs metadata will be available for all types of topic, you can not define metadata exclusively for one topic type. – Neetesh Narvaria Apr 20 at 7:35
  • Thanks @NeeteshNarvaria. Is there a documentation or some other reference confirming it? – Saurabh Gangwar Apr 20 at 17:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.