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
fc
7 months agoContributor
Open table as spreadhseet in dashboard
Hi everyone, I was wondering if anyone knows a way to open a table as a spreadsheet in a dashboard, allowing the user to create, remove, and edit the rows as a traditional spreadsheet. I already us...
- 7 months ago
You can use a TableView.
https://documentation.onestream.com/docs/Content/Table%20Views/Table%20View%20Business%20Rule%20Example.html
chris-kenworthy
7 months agoNew Contributor II
We used OpenXml (DocumentFormat.OpenXml.dll) to handle this, and it works very well — though it took some effort to build. See the screenshot below: the list in the background is our SQL table editor, and the list in the foreground is the same data rendered in the spreadsheet component. Users can create, remove, and edit rows in the spreadsheet and then import the changes back into the database.
Our process is:
1. Read the SQL table
2. Generate an Excel file using OpenXML
3. Store the file in the application’s documents/users folder
4. Link the file to the spreadsheet component
When importing, we reverse the flow: save the spreadsheet back to the documents/users folder, open and read it with OpenXML, and write the changes to the database.
If you'd like the full walkthrough, feel free to email me at [email protected] — happy to share the details.
We also incorporated this pattern into our OneStream partner solution, Revfore Flex, which simplifies planning with relational data. For more information visit: www.revfore.com.
Related Content
- 5 months ago
- 2 years ago