Closed SanaeLM closed 1 year ago
Fakepath is not a drawflow problem. The fakepath is used for security in browsers.
Here is a possible solution for electron: https://stackoverflow.com/questions/38530293/electron-get-full-path-of-uploaded-file
thank you Sir, Cordially
On Wed, May 10, 2023 at 12:50 PM Jero Soler @.***> wrote:
Fakepath is not a drawflow problem. The fakepath is used for security in browsers.
Here is a possible solution for electron:
https://stackoverflow.com/questions/38530293/electron-get-full-path-of-uploaded-file
— Reply to this email directly, view it on GitHub https://github.com/jerosoler/Drawflow/issues/691#issuecomment-1542154271, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYTOTWGHMZQG4642S7TTJOLXFOFIZANCNFSM6AAAAAAX4S2AEE . You are receiving this because you authored the thread.Message ID: @.***>
Hello @jerosoler ! this is my component node :
and this is data: {"drawflow":{"Home":{"data":{"1":{"id":1,"name":"ImportCsv","data":{"mytemplate":"C:fakepathtest.xlsx","csv":""},"class":"ImportCsv","html":"ImportCsv","typenode":"vue","inputs":{"input_1":{"connections":[]}},"outputs":{"output_1":{"connections":[]}},"pos_x":366.3999938964844,"pos_y":260.1999969482422}}}}} My problem is that I need store the realpath not the fakepath. (desktop app using electron.js and Vue ts 3 and drawflow library)