Generating Report using Multiple Data Sources in Spreadsheet Document
Leave feedback
Copy for LLM Copy
Copied
Failed
View as Markdown Markdown
Set up agent Agent
Give your coding agent live access to the GroupDocs documentation and API reference through the
GroupDocs Docs MCP server — no install, no API key. Learn more
Claude Code
Cursor
VS Code
Codex
Claude Desktop
Other
Claude Code Cursor VS Code Codex Claude Desktop Other claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcpAlso process documents locally
The GroupDocs.Assembly MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.
claude mcp add groupdocs-assembly -- dnx GroupDocs.Assembly.Mcp --yesFolders, licensing and more → Add to Cursor Or add it to ~/.cursor/mcp.json:
{
"mcpServers": {
"groupdocs-docs": { "url": "https://docs.groupdocs.com/mcp" }
}
}Also process documents locally
The GroupDocs.Assembly MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.
Set up the GroupDocs.Assembly MCP server → Install in VS Code Or add it to .vscode/mcp.json in your workspace:
{
"servers": {
"groupdocs-docs": { "type": "http", "url": "https://docs.groupdocs.com/mcp" }
}
}Also process documents locally
The GroupDocs.Assembly MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.
Set up the GroupDocs.Assembly MCP server → codex mcp add groupdocs-docs --url https://docs.groupdocs.com/mcpAlso process documents locally
The GroupDocs.Assembly MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.
codex mcp add groupdocs-assembly -- dnx GroupDocs.Assembly.Mcp --yesFolders, licensing and more → In Claude Desktop or claude.ai, open Settings → Connectors → Add custom connector, and paste this URL:
https://docs.groupdocs.com/mcpAlso process documents locally
The GroupDocs.Assembly MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.
Set up the GroupDocs.Assembly MCP server → Any MCP client that supports remote (HTTP) servers:
{
"mcpServers": {
"groupdocs-docs": { "url": "https://docs.groupdocs.com/mcp" }
}
}No MCP support? Point your agent at https://docs.groupdocs.com/assembly/java/llms.txt — every page also has a Markdown version at its URL + .md.
Also process documents locally
The GroupDocs.Assembly MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.
Set up the GroupDocs.Assembly MCP server →
In this article, we will use GroupDocs.Assembly to generate a report. This report will fetch data from multiple data sources.
The code uses some of the objects defined in
The Business Layer .
Generating Report in Microsoft Excel Document
Add a bullet list at the place where you want it to display clients’ names. Insert a table with two columns, that will show managers’ and their contact prices. Save your Document As a report developer, you are required to generate a report that fetches data from two different data sources (e:g custom object, excel data table). Report must show following information:
Bulleted list of clients A table showing managers’ along with their contract prices and sum of contract prices Adding Syntax to be evaluated by GroupDocs.Assembly Engine
In-cell list
We provide support for the following clients:
<<foreach [in getClients()]>>
- <<[getName()]>><</foreach>>
Multiple-cell list
We provide support for the following clients:
<<foreach [in getClients()]>>
- <<[getName()]>>
Total Contract Prices by Managers «foreach [group in contracts .groupBy(c => c.Manager) .orderBy(g => g.key)]» «[group.key]» «[group.sum( c => c.Contract_Price)]» «/foreach»
Get the template from here.
Generating the ReportGenerating Report using Custom Objects and Excel Data Source
We value your opinion. Your feedback will help us improve our documentation.