Hello respectful users of Stimulsoft! This time we will tell you about the Embed all data to resources option.
Let's figure out what is the destination of this feature and how it works. As you already know, data in a report is always requested in the Preview, which requires access to the database. Now let's imagine the following situation - a report creator wants to send a report template to another creator, but the second one doesn't have access to the database. It means that he won't see data. To solve this problem, we created the Embed all data to resources option. With its help, you can embed data and send a report template to another creator, and he doesn't need to connect to data.

To do it, you should go to the Dictionary panel, then select the Actions and the Embed all data to resources.

Embed all data
Next, the Stimulsoft Designer warning window opens, which says that this feature embeds all data to the report resources, makes your report standalone, and all your data settings will be changed and won't be restored. Click Yes.

Warning window
After this, the Engine connects to the database, loads all data, creates an XML file, and then puts it into the report resources, and these data will be already embedded into the report. Now we will show you this with an example. There are data descriptions from MySQL in the Dictionary panel.

XML data source
Select Embed all data to resources, then the resources with data appear.

Resources
Now, this data is in an XML file, and the file is in the report resources. After that, you can send a report template to another report creator so as data in the report template is already integrated. It's worth paying attention to the fact that embedding data to resources changes the file volume – the report template enlarges by the size of the data size because they all are downloaded from the base.

Report page
We hope this article will help you understand how to use the Embed all data to resources option, and now you can send a report template to the creators who don't have access to the database. If you have any questions, contact us – we will be glad to help you!
By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.