Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello, dear Qlikers!
I have a rather odd behaviour and maybe I am missing something out. I have a generic object ( a pivot table ) for which I want to export its data in CSV_C format.
If I export its data as OOXML, everything works as expected. But when I try to export it as a CSV_C, it outputs an empty file, just with headers.
The seemingly empiric code is as follows:
Dim gen_obj As IGenericObject = Await app.GetGenericObjectAsync(objectid)
Dim result As ExportDataResult = Await gen_obj.ExportDataAsync(NxExportFileType.EXPORT_CSV_C, "/qHyperCubeDef", NxExportState.EXPORT_POSSIBLE)
Someone has any idea why?
I appreciate it!
Catalin
My guess is that this is a limitation of the CSV export functionality that relates to the type of the hypercube being exported. There are some note on this in the top section of the documentation for the endpoint:
It doesn't specifically list pivot tables though, but I think they are problematic to export to CSV format.