Hi,
Does DynamicPDF ReportWriter for .NET (dplx template) support child fields in the bound business object? For example, if I'm binding a Contact object that has an Address object exposed as a public properties could I create a RecordBox in the dplx with the field specified as:
Address.City
I've tried something like this and got a parser exception, so I'm assuming the answer is no but I thought I'd ask.
Thanks,
Chris
Using child fields in a business object
Re: Using child fields in a business object
Support · Oct 23, 2014Hello Chris,
It is not possible to specify the child object properties directly (as Address.City) in the RecordBox. Exposing the child object property as a property in the main object should work.
For example, you could create new property “City” in the main object as shown below that exposes the desired child object property. Then add “City” to the RecordBox field.
public string City
{
get { return Address.City; }
set { Address.City = value; }
}
Thanks,
ceTe Software Support Team.