02-16-2023 04:33 AM
Hi,
I'm trying to use a csv file from a filepath as a data source for my connector. Have saw this function in OneStream parser rule, I tried but it gives me an object reference error without any clue on the error message.
api.Parser.ProcessTextFile(si, filePath, api.ProcessInfo, Nothing)
with the following syntax
Has anyone tried it before or have encounter the same issue as I am?
How can I make it work?
Thanks in advance for your response.
02-16-2023 06:23 AM
That api call should work. Chances are that the path to the file is not in the right format or otherwise not accessible by the application. Pasting documentation from the API chm: