Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view
Hi,
We need to export cockpit document via API. (pdf, xls)
This would be an essential feature for us in Knowage CE and I bet a lot of users would be interested in this too.

Is this already in the roadmap?

Has someone found an alternative and would care to share any pointers?
Environment Knowage 7.2.16
in API and SDK by (3.2k points)

1 Answer

+1 vote
 
Best answer
Dear rlagarde,

at the moment you can export the pdf for static reports like in the following rest API documentation:
https://knowage.docs.apiary.io/#reference/0/the-documents-resource

I know that the cockpit and xls export is one of the roadmap developments, but I can't give a you specific release date.

Regards.

Davide
by (11.3k points)
selected by
Thank you very much Davide.

I managed to export static reports via API
https://knowage.docs.apiary.io/reference/0/the-content-subresource-document-execution/return-the-document-content
Do you know how to change output type?
Documentation mentions different available output types.
I need a pdf file but export is always in html.

Also it is great news that cockpit export is on the roadmap!
Hi rlagarde,
you should be able to export reports in PDF by adding a parameter "outputType=PDF" to the request URL.
Try this out and let me know.
Bye,
Marco
It worked! Thank you Marco
Hi

Any updates on the possibility to export cockpit via API?
...