Dictionary keys as xxx2

Stimulsoft Reports.JS discussion
Post Reply
terje.pedersen
Posts: 80
Joined: Thu Aug 18, 2016 7:29 am

Dictionary keys as xxx2

Post by terje.pedersen »

In the included sample .mrt file without any data sources anymore reading in the included json data source the keys for CustomerInvoice is translated into CustomerInvoice2 and VatSummery is translated into VatSummary2.
dictionary-vatsummary2.png
dictionary-vatsummary2.png (4.51 KiB) Viewed 2225 times
Latest version JS_2016.10.14 on Windows.

PS! Could you do something about not allowing to upload attachments with ending .json
Attachments
CustomerInvoice.json.txt
JsonDataSource
(20.34 KiB) Downloaded 277 times
CustomerInvoiceWithoutGiro.mrt
Report
(36.97 KiB) Downloaded 216 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Dictionary keys as xxx2

Post by Alex K. »

Hello,

Because report already have the same component names. And tables and component names couldn't be identical.

> PS! Could you do something about not allowing to upload attachments with ending .json

Thank you for the information. We have added changes in the forum settings.

Thank you.
terje.pedersen
Posts: 80
Joined: Thu Aug 18, 2016 7:29 am

Re: Dictionary keys as xxx2

Post by terje.pedersen »

So how do we update example data? Now I need to rename those keys back to without xxx2. Currently we have to drop the datasource and add it again with the json option when our json have changed.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Dictionary keys as xxx2

Post by Alex K. »

Hello,

In your report, there is the component with "VatSummary" name - the DataBand on the Panel ("VatSummaryPanel"). Please rename this band.

Thank you.
Post Reply