Page 1 of 1

[REACT] Scheduler - Using export server with PDF export feature

Posted: Wed Mar 22, 2023 10:08 am
by marasoft@netrom.ro

Hello,

We are trying to use the pdf export feature. For now, we are using the below configuration:

pdfExportFeature=
              {{
                    exportServer: 'https://dev.bryntum.com:8082',
                    translateURLsToAbsolute: '... our resources base path...',
                    enableDirectRendering: false,
                    sendAsBinary: true,
                    repeatHeader: true,
                    keepRegionSizes: true,
                    localizable: false,
                    exportDialog: {
                      items: {
                        orientationField: { hidden: true },
                        paperFormatField: { hidden: true },
                      }
                   }
              }}

We already disabled the infinite scrolling when generating the export.
We want to use our own export server, but could not find in the documentation how to configure/implement it. Can you provide more information about what should the export server API expose? (what methods and what should they do).

Best regards.


Re: [REACT] Scheduler - Using export server with PDF export feature

Posted: Wed Mar 22, 2023 11:52 am
by alex.l

Hi,

You can review our implementation of PDF server in the repo https://github.com/bryntum/pdf-export-server
There is also /docs folder guides.