Working with Multiple Data Sources

View as MarkdownMarkdown

Set up your AI 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 mcp add --transport http groupdocs-docs 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.

claude mcp add groupdocs-assembly -- dnx GroupDocs.Assembly.Mcp --yes
Folders, licensing and more →

Explicit Support for Multiple Data Sources

Using DocumentAssembler.assembleDocument overload user can reference multiple data source objects and their members in the template. Names of all the data sources must be specified and unique.

Parameters

DataSources

An array of data source objects like object[] dataSources.

DataSourceNames

An array of names to reference the data source objects within the template like string[] dataSourceNames.

Articles in this section