I am creating a new report which gets it's data from a web service which looks like this:
The data provided from the report is fine and everything looks nice untill I have to use the result from the service
The DTO looks like this
I now want to have a report which groups by Attributes and has all it's definitions listed underneath them.
I have tried it with =Fields.AttributeText and =Fields.Attributes.AttributeText but had no luck.
Can you please help me
Edit: I am now taking another approach... Instead of generating one dto which hass all the information I generate one with the attribute-definition-bookmark hierarchy and another one which has the summary data also needed... Will post if this works
private ReportDto GetEvaluationReports(Guid evaluationId){ var dto = new ReportDto(); var result = (from e in ... ).ToList(); dto.Attributes = result; return dto;}The data provided from the report is fine and everything looks nice untill I have to use the result from the service
The DTO looks like this
public class ReportDto{ public List<Attribute> Attributes { get; set; }}public class Attribute{ public Guid Id { get; set; } public string AttributeText { get; set; } public IQueryable<EvaluationDefinition> DefinitionsQuery { get; set; } public List<EvaluationDefinition> Definitions { get { return DefinitionsQuery.ToList(); } }}public class EvaluationDefinition{ public Guid Id { get; set; } public string DefinitionText { get; set; } public IQueryable<EvaluationBookmark> BookmarksQuery { get; set; } public List<EvaluationBookmark> Bookmarks { get { return BookmarksQuery.ToList(); } }}public class EvaluationBookmark{}I now want to have a report which groups by Attributes and has all it's definitions listed underneath them.
I have tried it with =Fields.AttributeText and =Fields.Attributes.AttributeText but had no luck.
Can you please help me
Edit: I am now taking another approach... Instead of generating one dto which hass all the information I generate one with the attribute-definition-bookmark hierarchy and another one which has the summary data also needed... Will post if this works