Forum Discussion

hamsolo's avatar
hamsolo
Cloud Apps
01-20-2025
Solved

API exporting dashboard as PDF paper Format

Hi, Recently upgraded to Sisense Linux which required updating some syntax of API calls. Managed to get the exporting call working, however, having an issue with the "paperFormat" parameter. Pre-upg...
  • AssafHanina's avatar
    01-20-2025

    Hey hamsolo ,

    The Paper format supports the following enum options: [A0, A1, A2, A3, A4, A5, LEGAL, LETTER, TABLOID].
    Using "paperFormat": "Letter" in the API results in the error: "No enum match for: Letter", as the value is case-sensitive and must be in uppercase. To resolve this issue, use "paperFormat": "LETTER" in the endpoint body.

    Best regards