I'm currently running Orchard 1.7 RC.
I'm having trouble trying to display custom fields for content types in a projection widget with a Shape layout set. I've setup the layout as shown below:
I've tried various methods in trying to get the custom field value for display, but I can't find the value anywhere.
Here is my initial code for the Shape layout
IEnumerable<object> featuredUsers = Model.ContentItems;
for(int i = 0; i<featuredUsers.Count(); i++)
dynamic featuredUser = featuredUsers.ElementAt(i);
// Grab Field Values
string fullname = "";
string position = "";
string image = "";
string linkedin = "";
What code do I need to use to get the field values? I understand there is an option to render them out using BuildShapes, but it's not clear on how to override the individual Shape view i.e. when using @Display(shape) and to manually render out the field values.