This is a migrated thread and some comments may be shown as answers.

Data source in Telerik Reports

1 Answer 62 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Zoran
Top achievements
Rank 1
Veteran
Zoran asked on 25 Jun 2020, 11:35 AM

    So, I have an app which prints a photo of a map which I keep in a cookie and I have to insert it in a telerik report. I also have a few dozen fields which are not inserted in a database. Do I have to get the values for the fields from a database source or is there any other way I can send the values? 

The data is basically stored in my view, so can I somehow take the data from my fields and sent it to the report? 
Same goes for the map? How do I insert the map in the report? I went through the Map Wizard in the Report Designer, but the data sources are the same. 

1 Answer, 1 is accepted

Sort by
0
Katia
Telerik team
answered on 30 Jun 2020, 07:07 AM

Hello Zoran,

The general approach we recommend is to mock the data to be able to use it in DataSource components in the Report Designer. This will allow connecting the data items (Map for example) to the data and configure their properties through the dedicated wizards which can ease the report's creation significantly.

Then, you can change the data at run-time using the Reporting API. If you use Reporting REST service for rendering reports modifications need to be applied in a custom report resolver.


Regards,
Katia
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
General Discussions
Asked by
Zoran
Top achievements
Rank 1
Veteran
Answers by
Katia
Telerik team
Share this question
or