cdisc-org / cdisc-rules-engine

Open source offering of the cdisc rules engine
MIT License
50 stars 12 forks source link

Improvement request: -of BOTH (generate as well JSON as Excel report) #223

Closed JozefAerts closed 2 years ago

JozefAerts commented 2 years ago

The ability of generating the report in JSON is great, as it e.g. allows to color cells with variable values that violate a rule in a Viewer tool. But conservative pharma usually also additionally wants an Excel report under the motto "we have always done it like that" ... (P21 thinking ...). I tried with "-of XLSX -of JSON" (or the other way around), but it then only picks up the last. So, I would like to request that one can do "-of BOTH" to generate both an Excel and JSON report. The conservative world will be grateful ...

nhaydel commented 2 years ago

This should have been handled with: https://github.com/cdisc-org/cdisc-rules-engine/issues/192 are you using the latest version?

Edit: My tests show this works

JozefAerts commented 2 years ago

You are completely right Nic (as always ... ;-)). I used the earlier version (10 Nov), I just tried with the newest version and one can indeed do -of XLSX -of JSON and it produces both. I also need to implement it in my viewer... Can you close the issue? Or can I do? Apologies again for the trouble!