Page 1 of 1

exportData from Power Grid

PostPosted: Wed Jun 09, 2021 1:53 pm
by pitc
When attempting to use the method exportData from the PowerGrid is get this exception:
Code: Select all
Uncaught Exception:
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received
   at validateString (internal/validators.js:120:11)
   at Object.join (path.js:375:7)
   at Session.<anonymous>
   at Session.emit (events.js:315:20)

The fileName argument that I pass is the simple form like: "abc"
The error comes up and then the select folder dialog.

This in the NgClient and the NgDesktop.
Servoy 2021.03.0.3642

Is this exportData from power grid not compatible with ng?
What is the preferred way to exportData from the PowerGrid?