How can i Render System Object

2 Answers 477 Views
Report Designer - Web Report Parameters
n/a
Top achievements
Rank 1
Iron
n/a asked on 09 Sep 2021, 06:51 PM

I Have a List, inside a List, than i have my values.

Follow the Images:

 

 

 

 

I already configure my Endpoint to receive all the values, when i configure the dataSource and download the sample, i already have the values, according in the Picture 1.

Now i cannot access the values that i have.

 

2 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 14 Sep 2021, 08:40 AM

Hello Ivone,

If I understand correctly, you would like to access the nested list's properties, is that correct?

In order to be able to use hierarchical data, you can take advantage of the Bindings functionality. Using it, you can bind declaratively the data item's DataSource property to a given collection property from your business object and the data item will display all collection items.

For more information, please see the How to Databind to Collection Properties article.

Please let me know if you have any other questions or need further assistance.

Regards,
Dimitar
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
0
n/a
Top achievements
Rank 1
Iron
answered on 14 Sep 2021, 04:58 PM

Hi Dimitar, exactly this way.

I try to do what you sad, but its not possible, the data are blank. Btw, that article was very incomplete.

Dimitar
Telerik team
commented on 17 Sep 2021, 02:21 PM

Could you please send us a sample report alongside some sample data to inspect locally what could be the problem?

Note that after you bind the data item DataSource property, you only need to say the field name in the expression. For example, to display the value of the id field after an item has been bound to the $values field, you may simply use the following expression: = Fields.id

Keep in mind that the data of the $values field is available only to the bound item scope. For example, if you bind a List report item to that field, you cannot display any of the $values fields outside the list item.

Besides binding, you may use data from a nested field through JSONPath - How to Use JSONPath to filter JSON data.

It is also possible to display certain items from a list/array field through the item function which returns the element of the collection with the given index (zero-based).

Tags
Report Designer - Web Report Parameters
Asked by
n/a
Top achievements
Rank 1
Iron
Answers by
Dimitar
Telerik team
n/a
Top achievements
Rank 1
Iron
Share this question
or