Page 1 of 1

Pre Sales Question: OData support for ComplexType

Posted: Mon Feb 13, 2017 12:14 pm
by Holger
Hello,

we are interested in your Reports/Reports.Server products for usage in our software product which publishes an OData service as an interface for reporting solutions.

I have tried out the Stimulsoft end user designer which basically supports OData, but seems to be lacking support for ComplexTypes (embedded types) and collections in EntityTypes.

This can be reproduced by using the OData "TripIn" sample service: http://services.odata.org/V4/TripPinServiceRW/People
The "Person" EntityType for example contains a collection of "Emails" and a collection of ComplexTypes "AddressInfo".

Am I missing something? Will you support this in the future?

Kindest regards,
Holger

Re: Pre Sales Question: OData support for ComplexType

Posted: Tue Feb 14, 2017 1:55 pm
by Alex K.
Hello,

At the current moment, we are working on the V4 version of OData service.
We will let you know about the result.

Thank you.

Re: Pre Sales Question: OData support for ComplexType

Posted: Tue Feb 14, 2017 2:52 pm
by Holger
Thank you for your answer.
Aleksey wrote:At the current moment, we are working on the V4 version of OData service.
We will let you know about the result.
That sounds promising.

Re: Pre Sales Question: OData support for ComplexType

Posted: Tue Feb 14, 2017 6:10 pm
by Alex K.
Hello,

We will try to add it in one or two builds. We will let you know about the result.

Thank you.

Re: Pre Sales Question: OData support for ComplexType

Posted: Mon Feb 20, 2017 7:41 am
by Holger
Hello,

I'm still in the evaluation process.

By now I'm creating a sample Report to verify whether your reporting engine will fulfill our requirements. So far it looks great and I'm really impressed with your product.

But there is a small problem that I could not resolve until now. I have created a Report containing a GroupHeaderBand and inside of a Text field in this GroupHeaderBand I want to calculate some percentage.

This is the expression of the Text field:

Code: Select all

{Convert.ToDouble(CountIf(DataBand1, /*some condition*/)) * 100D / Convert.ToDouble(Count())}
Checking the expression returns the following error: "There is no matching overloaded method for 'op_Mult(Object, Double)'

Thanks in advance
Holger

Re: Pre Sales Question: OData support for ComplexType

Posted: Tue Feb 21, 2017 8:28 am
by Alex K.
Hello,

Please send us a simple report with test data which reproduces the issue for analysis.

Thank you.

Re: Pre Sales Question: OData support for ComplexType

Posted: Tue Feb 21, 2017 10:32 am
by Holger
Hello,

Please find the sample files attached to this post.

Thanks in advance
Holger

Re: Pre Sales Question: OData support for ComplexType

Posted: Tue Feb 21, 2017 9:05 pm
by Alex K.
Hello,

Please try to use the following expression:

Code: Select all

{System.Convert.ToDouble(CountIf(Datarecord, record.status == "Error")) * 100D / System.Convert.ToDouble(Count()) + "%"}
Thank you.

Re: Pre Sales Question: OData support for ComplexType

Posted: Wed Feb 22, 2017 1:14 pm
by Holger
Hello,

Thank you for your help.

The report is rendered now without errors while the "Check" button still shows the described error message. But this is not a problem at the moment.

For reproduction purposes I've attached the updated report definition file and a screenshot showing the error message.

Regards
Holger

Re: Pre Sales Question: OData support for ComplexType

Posted: Thu Feb 23, 2017 1:20 pm
by Alex K.
Hello,

We will try to fix it in one of next builds.

Thank you.