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
Sergey
OneStream Employee
3 years agoSaveFileBytesToUserTempFolder returning an error message
Hi,
I am trying to use the Business Rule API "SaveFileBytesToUserTempFolder" in order to open a file stored as a byte in a datatable.
This is exactly like in the "Reporting Compliance" dashboard,...
JeffT
9 months agoNew Contributor
Hi All,
I ran into the same issue earlier today and managed to get it working, so I wanted to share the solution in case it helps others.
In my case, the error was caused by an invalid path name. The SaveFileBytesToUserTempFolder function saves the file to the temp folder, and then my dashboard button tries to open that path. I was using a |UserName| substitution variable in the Navigation Arguments. However, since the username contained spaces, the system couldn't locate the path correctly.
To resolve this, I created an XFBR rule to trim the spaces from the username, and now everything works as expected.
Related Content
- 2 months ago
- 2 years ago
- 3 years ago