Managing Sub-Parts in Content Type

Topics: Customizing Orchard
Nov 5, 2013 at 9:09 AM
Edited Nov 5, 2013 at 10:18 AM
I have created a new Content Type named BioSummary. It is similar to a normal page, but I have added some additional fields...

One such field is a Media Library Picker Field named BioImage.

When I rendered a sample BioSummary page, I noticed that the default shape rendered the image summary, so I created an alternate shape that rendered the MediaLibraryPickerField detail:
@Display(BuildDisplay(content, "Detail"))
// was @Display(BuildDisplay(content, "Summary"))
I assume this is the correct approach?

The only thing I want to change now, is that I want to remove the Parts_Title field from the MediaLibraryPickerField. I know I could create another alternate shape to do this, but I thought I could do it in the file, so I tried the following:

<Match ContentType="BioSummary">
  <Place Fields_MediaLibraryPicker_Parts_Title="-" />

Unfortunately, I cannot get this to work. I have tried:
  <Place MediaLibraryPicker_Parts_Title="-" />
  <Place MediaLibraryPicker_Media_Parts_Title="-" />
  <Place Fields_MediaLibraryPicker_Parts_Title="-" />
  <Place Fields_MediaLibraryPicker_Media_Parts_Title="-" />
But I clearly don't have a grasp of how these elements are mapped. Any advice/direction would be appreciated.