Exporting to PDF from .mrt Template data relationships not working
-
- Posts: 6291
- Joined: Tue Mar 20, 2018 5:34 am
Re: Exporting to PDF from .mrt Template data relationships not working
Hello,
We couldn't reproduce the issue. Could you explain how to reproduce the issue?
Thank you.
We couldn't reproduce the issue. Could you explain how to reproduce the issue?
Thank you.
-
- Posts: 13
- Joined: Wed Aug 03, 2022 6:36 pm
Re: Exporting to PDF from .mrt Template data relationships not working
For example in attach. The first report(the-right-report) is the right structure of the report as expected, the second report(the-wrong-report) is the wrong one. The first report(the-right-report), is generated via angular application, the second report(the-wrong-report) is by the code sample that i sent that im trying to make it work as expected. The data used to generate is the same.
Btw, In the sample project, when u call the endpoint, the report will be generated as pdf in the root of the project.
Sample project in attachment.
Thanks
Btw, In the sample project, when u call the endpoint, the report will be generated as pdf in the root of the project.
Sample project in attachment.
Thanks
- Attachments
-
- the-right-report.pdf
- (68.43 KiB) Downloaded 141 times
-
- the-wrong-report.pdf
- (34.3 KiB) Downloaded 131 times
-
- Posts: 6291
- Joined: Tue Mar 20, 2018 5:34 am
Re: Exporting to PDF from .mrt Template data relationships not working
Hello,
We need some time to investigate the issue. We will let you know about the result.
Thank you.
We need some time to investigate the issue. We will let you know about the result.
Thank you.
-
- Posts: 13
- Joined: Wed Aug 03, 2022 6:36 pm
Re: Exporting to PDF from .mrt Template data relationships not working
Hello Lech Kulikowski.
Does you guys found any solution for this case?
do you guys have a specialized techinical support that we can contact?
Thanks a lot for the help!
Does you guys found any solution for this case?
do you guys have a specialized techinical support that we can contact?
Thanks a lot for the help!
-
- Posts: 6291
- Joined: Tue Mar 20, 2018 5:34 am
Re: Exporting to PDF from .mrt Template data relationships not working
Hello,
After adding all data sources, you should check and add all relations that were used in the original report.
Thank you.
After adding all data sources, you should check and add all relations that were used in the original report.
Thank you.
- Attachments
-
- Screenshot 2023-12-24 135733.png (581.09 KiB) Viewed 1157 times
-
- Posts: 13
- Joined: Wed Aug 03, 2022 6:36 pm
Re: Exporting to PDF from .mrt Template data relationships not working
Hello Lech.Lech Kulikowski wrote: ↑Sun Dec 24, 2023 12:58 pm Hello,
After adding all data sources, you should check and add all relations that were used in the original report.
Thank you.
So doing like this its not the right way? Do i need to add manually the relations then?
The strange part is that it add automatically the relations to the Dictionary.Relations when i do like this.
Code: Select all
report.RegData("filtros", data.Tables["filtros"]);
report.RegData("relatorio", data.Tables["relatorio"]);
report.RegData("relatorio_movimentacoes", data.Tables["relatorio_movimentacoes"]);
report.RegData("relatorio_pedidos", data.Tables["relatorio_pedidos"]);
report.RegData("relatorio_pedidos_produtos", data.Tables["relatorio_pedidos_produtos"]);
-
- Posts: 6291
- Joined: Tue Mar 20, 2018 5:34 am
Re: Exporting to PDF from .mrt Template data relationships not working
Hello,
Json data that is used in your project only with one relation.
Thank you.
Json data that is used in your project only with one relation.
Thank you.
- Attachments
-
- Screenshot 2023-12-27 170324.png (762.5 KiB) Viewed 970 times