OceanBase
English日本語简体中文
Docs Home
Products
Integrations
Release Notes

Databases

OceanBase DatabaseOceanBase AI DatabaseOceanBase Cloud OceanSeekOceanBase Best Practices

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog ServiceOceanBase DataPilotOceanBase OAgent

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Databases

OceanBase DatabaseOceanBase AI DatabaseOceanBase Cloud OceanSeekOceanBase Best Practices

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog ServiceOceanBase DataPilotOceanBase OAgent
OceanBase DatabaseOceanBase Cloud ToolsConnectors and MiddlewareLifecycle Support Policy

OceanBase DataPilot

V0.35.0
  • Learn about DataPilot
    • Learn about OceanBase DataPilot
    • Feature overview
    • Core features
    • Use cases
    • Product specifications and limitations
  • Get started
    • Quick start with core features
    • Create an Agent
  • Manage workspaces
    • Workspace overview
    • Analyze data sources and access
    • Model gateways and settings
    • Manage MCP tool services
  • Agent guide
    • Agent building and publishing
    • Knowledge asset management
    • Semantic Center
    • Query plans
    • Spreadsheet filling
    • Agent verification and testing
  • Analyst guide
    • Analysts using Agents and applications
    • Personal memory (My Memories)
  • Build data products
    • AI reports
    • Dashboard
    • Data screens
    • Smart tables
    • Workflow
    • Spatiotemporal analysis
    • Document classifier
    • Data Units notebook
  • System operations
    • System operations overview
    • Operations, audit, and task observability
    • Notifications and alerts
    • License management
    • O&M logs and diagnostics
  • Integration and extension
    • Embed SDK for integration
    • Open extension platform
  • Release notes
    • V0.35.0
    • V0.34.0
    • V0.33.1
    • V0.32.0
    • V0.31.0
    • V0.30.0
    • V0.29.0
    • V0.28.0
    • V0.27.0
    • V0.26.0
    • V0.25.0
    • V0.24.0
    • V0.23.0
    • V0.22.0
    • V0.21.0
    • V0.20.0
    • V0.19.0
    • V0.18.0
    • V0.17.0
    • V0.16.0
    • V0.15.0
    • V0.14.0
    • V0.13.0
    • V0.12.0
    • V0.11.0
    • V0.10.0
    • V0.9.0
    • V0.8.0
    • V0.7.0
    • V0.6.0
    • V0.5.0
    • V0.4.0

Download PDF

Document Feedback
  1. Documentation Center
  2. OceanBase DataPilot
  3. V0.35.0

Spreadsheet filling

Last Updated:2026-11-20 12:50:52

Prerequisites
Procedure
Details
Filling rules
Delivery and unmatched items
Workbook understanding
Save, reuse, and share templates
FAQ

The spreadsheet filling feature uses the uploaded Excel report as the target structure. It employs an Agent to read the table headers, business keys, and target areas from the workbook, fetches data from accessible data tables, fills the results back into the workbook according to the report structure, and generates a new downloadable file. After successful form filling, you can save the qualified results as a template.

Prerequisites

To use spreadsheet filling, the following conditions must be met:

  • The current account has access permissions for the data to be queried.
  • The corresponding capability is enabled for the Agent in the dialog, and a usable workbook processing environment is configured.
  • The uploaded report is an .xlsx workbook and contains recognizable table headers, business keys, and target areas.

If permissions are insufficient or conditions are unclear, the Agent will not guess the input and will first clarify with the user.

Procedure

  1. Open an engineer or analyst dialog.
  2. Upload the .xlsx report to the dialog and describe the form-filling requirement in one sentence, for example, "Fill in the sales amounts of each store in East China for October 2024 into this report."
  3. If key information is missing, the Agent will ask for the period, organization scope, or business caliber. After answering, continue filling out the form.
  4. Check the result and download the generated new workbook.

During form filling, the Agent can, if needed, delegate a read-only sub-dialog to understand the workbook structure. In the dialog, you can expand the "Workbook Understanding" card to view the call details and the read-only sub-dialog.

Details

Filling rules

Results are matched to corresponding rows based on existing business keys in the report (for example, store ID, date). It is best to retain stable identifier columns in the report to avoid matching failures caused by inconsistent key types, such as text/digits and digits only.

The source file is always retained, and results are written to a new file. The Agent does not modify formulas, remove format protection, or force-feed data to fill in values. Newly written rows will inherit the borders and row height of the formatted rows above.

Delivery and unmatched items

Upon delivery, the Agent will explain the unmatched or skipped content and its reasons. Common reasons for mismatch include the business key in the report not existing in the query results, or the key type not matching. After verifying the key columns and actual data in the report, retry.

If registration fails, the already filled file can still be downloaded without re-executing the form filling.

Workbook understanding

Workbook understanding is an optional step before form filling. The Agent delegates a read-only sub-dialog to analyze the worksheets, table headers, and business descriptions, then returns the understanding result to the main dialog. It only analyzes the structure and does not replace the actual data retrieval and form filling.

Configure this by clicking Agent settings > Edit Agent > Behavior > Collaboration Strategy > Workbook Understanding in the top bar of the dialog. It is enabled by default and can be disabled separately. After disabling, basic form filling is still available, but the Agent will no longer perform this structural understanding step.

Save, reuse, and share templates

After successful form filling, you can save the qualified results as a template in the results, retaining the workbook, data retrieval logic, and form filling position. Next time, when referencing the template in a dialog, or uploading a structurally matching workbook, the system will confirm the parameters this time and retrieve data again according to the current user's data permissions to generate a new workbook. When multiple matching templates exist, you need to specify which one to use.

Engineers can publish templates with the Agent. Analysts can use shared templates they have access to, or save and manage personal templates.

The save entry is located in Agent dialog > Form Filling Result > "Save as Form Filling Template". Engineers manage and reference templates in the "Table Templates" section of the File Workspace, while analysts operate in the template area of the dialog sidebar.

Notice

Shared templates are read-only replicas. When publishing, the associated workbook and its existing data are shared together; please verify the content before publishing. Reusing a template generates a new file, and the original template and uploaded workbook remain available.

FAQ

What should I do if form filling fails?

First, check the prompt given during delivery. The Agent will indicate whether the failure was due to a query error, insufficient permissions, or a mismatch between the report structure and data. If only the operation record registration failed, the file itself is already filled out and can be downloaded; there's no need to rerun.

Why are some rows left empty in the results?

During delivery, the Agent lists the unmatched or skipped content. This is mostly because the business key in the report does not exist in the query results, or the key types do not match (for example, text/digit with digit). Verify the key columns in the report against the actual data.

Can I write the completed form back directly into the source file?

No. Spreadsheet filling always generates a new file; the source file remains unchanged to prevent overwriting the template. If necessary, download the new file to replace it.

Can templates be reused?

Yes. Reference the template in the dialog, or upload a workbook with a matching structure to retrieve data again based on the current data permissions. Reusing generates a new workbook; the original template and uploaded workbook remain available. Shared templates are read-only replicas.

Previous topic

Query plans
Last

Next topic

Agent verification and testing
Next
on this page
Prerequisites
Procedure
Details
Filling rules
Delivery and unmatched items
Workbook understanding
Save, reuse, and share templates
FAQ