We have a set of JSON data coming back from an API that we pass to WDR via the report.dataSource field in the initial configuration. One of these columns is a string that doesn't render in the normal display. However, the data is there and if we export Excel the column is shown there is well.
This columns still renders for most users, and we can't repro it in our dev environment. It's just a single client that we know of thats experiencing this.
What are some reasons this might be happening?
We tried changing the data, passing in different values, and specifying the data type in dataSource.mapping.
None of these had any effect
Such behavior can happen when there are multiple WebDataRocks components on the page using the
exportToAPI call from thewebdatarocksinstance. In this case,webdatarockswill be equal to the last initialized component. Hence, the export result will correspond to the slice from the last WDR instance, which may differ from the previous.If this is the case, you should use the names of WebDataRocks instances to access API calls of different components: