|
|
Hi All,
I'm trying to create a projection with a custom content part I have created through code, however one of the properties does not appear to be available - which is just a string prop.
public class SummaryPart : ContentPart<SummaryPartRecord>
{
[Required]
public string Summary {
get { return Record.Summary; }
set { Record.Summary = value; }
}
}
After I initially create the SummaryPart via Migrations, I add a Media Picker field, which is available to add for the Projection. Any ideas why I cant use Summary property in the Projection?
Many thanks in advance,
Peter
|
|
|
|
You'll need to add a binding for the property. Check the bindings tab inside of the query admin.
|
|
|
|
Thanks so much Brandon - just what I was looking for! Thanks again
|
|