JSON with Picture in two columns

Stimulsoft Reports.NET discussion
Post Reply
hydrant
Posts: 9
Joined: Mon Nov 14, 2022 8:08 am

JSON with Picture in two columns

Post by hydrant »

Hello, we have a report that has a JSON file as its data source. In this JSON file there are entities with at least one image attached to each. The images are also stored in JSON as binary code and connected to the associated entity with a relation.
Our question now is how we do this in a report in a two-column view (left column: information about the entity, right column: the image linked to it). Thanks for an idea.
Master600
Posts: 5
Joined: Wed Feb 28, 2018 5:38 pm

Re: JSON with Picture in two columns

Post by Master600 »

For your two-column layout, I'd suggest using a reporting tool that lets you define custom layouts. Something that lets you bind the image data directly from the JSON to an image component in the right column.
What reporting tool are you using?
Lech Kulikowski
Posts: 7333
Joined: Tue Mar 20, 2018 5:34 am

Re: JSON with Picture in two columns

Post by Lech Kulikowski »

Hello,

Please send test data for analysis.

Thank you.
hydrant
Posts: 9
Joined: Mon Nov 14, 2022 8:08 am

Re: JSON with Picture in two columns

Post by hydrant »

Hello, I have now found a “way”. See description in screenshot, should be self-explanatory.
Unfortunately, there is still a problem with the placement or alignment of the images in the report that are related to an entity. Maybe you have an idea about this.
Attachments
report_schachtprotokoll_test_neu.json
Json Datasource
(2.46 MiB) Downloaded 32 times
Scrennshot
Scrennshot
protokoll.png (485.68 KiB) Viewed 10527 times
protokoll.mrt
Example MRT
(281.91 KiB) Downloaded 34 times
Lech Kulikowski
Posts: 7333
Joined: Tue Mar 20, 2018 5:34 am

Re: JSON with Picture in two columns

Post by Lech Kulikowski »

Hello,

Could you explain what is wrong in the sent report?

Thank you.
Post Reply