The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
WilleaAnn
3 years agoNew Contributor II
Connector Parser.ProcessTextFile
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.
1 Reply
- JackLacava
OneStream Employee
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:
Related Content
- 9 months ago
- 1 year ago