exportData from Power Grid

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

exportData from Power Grid

Postby pitc » Wed Jun 09, 2021 1:53 pm

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?
Posts: 89
Joined: Thu Nov 14, 2019 2:22 pm
Location: Ottawa, Ontario, Canada

Return to Programming with Servoy

Who is online

Users browsing this forum: Bing [Bot] and 8 guests