This project is read-only.

retrieve 'Text' fields across ContentType / ContentItem

Topics: Customizing Orchard, General
Dec 2, 2013 at 3:23 PM
with below definitions (in shape Content-MyType.Detail.cshtml )I'm able to retrieve the field 'MyField' ....
    dynamic MyTypeItem = Model.ContentItem;
    string text = MyTypeItem.MyType.MyField.Value;
... to be used in:
<p class="text-field"> <span class="value">@text</span></p> PS: in this case I'm within contentItem 'MyTypeItem'!

Now, using below code in Content-MyType.Detail.cshtml ...
dynamic medias = Model.ContentItem;
string text = medias.Page.TestTextField.Value;
PS: different Type and Item!
..... I always get error:
Additional information: 'Orchard.ContentManagement.ContentItem' does not contain a definition for 'Page'

Is it possible to retrieve fields across different ContentType / ConentItem ?
thanks for your time and hints