Skip to content

Metadata catalog: restricting tables and fields - #801

Open
srodriguezinfragistics wants to merge 3 commits into
masterfrom
srodriguez/catalog-field-restriction
Open

srodriguezinfragistics wants to merge 3 commits into
masterfrom
srodriguez/catalog-field-restriction

Conversation

@srodriguezinfragistics

@srodriguezinfragistics srodriguezinfragistics commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Documents the table- and cube-level DiscoveryMode added in Infragistics-BusinessTools/Reveal.Sdk.AI#433. Merge this when that change ships.

Changes to docs/ai/metadata-catalog.md:

  • Schema Reference.
    • The Table table gets a DiscoveryMode row: "Default" (every field) or "Restricted" (only the listed fields).
    • The Database DiscoveryMode row links to the new section.
  • New "Restricting Tables and Fields" section:
    • Database restriction (tables) and table restriction (fields) are independent of each other. A SQL Server example hides dbo.Employees' personal columns; the AI can't use them, even when a user asks for them by name.
    • Notes:
      • listing fields in Default mode only adds descriptions and hides nothing;
      • a Restricted table without Fields restricts nothing, and "Fields": [] hides every column;
      • calculated fields are always visible and can use hidden columns (pre-calculated ones only); their expression text reveals the column's name;
      • catalog descriptions are shown to the AI as written, so they shouldn't mention hidden columns;
      • names are matched case-insensitively but must otherwise be exact (schema included), and mismatches are logged as warnings;
      • the setting controls what the AI sees, not data access.
    • Cubes: catalogs are Databases and cubes are Tables. The example is the Adventure Works Finance cube, followed by a table of what each kind of listed item exposes:
      • a measure;
      • a dimension, with everything in it;
      • a hierarchy, with its levels and sets;
      • a level or set on its own exposes nothing.
    • Applying a Change: metadata that was already generated keeps the old fields. Remove the datasource's generated files, and the next generation run rebuilds them.

The English site builds without errors, and the new anchors resolve. The Japanese translation will follow once the English is approved, before merge.

🤖 Generated with Claude Code

Documents table- and cube-level DiscoveryMode (Reveal.Sdk.AI #433): a
Restricted table shows the AI only its listed fields; a Restricted cube only
its listed measures, dimensions and hierarchies, restricted in whole units.
Adds the Table DiscoveryMode row, a "Restricting Tables and Fields" section
with SQL Server and cube examples, and how to apply a change to metadata that
was already generated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fields: [] hides every column; calculated fields can use hidden columns
(post-calculated ones only listed fields); catalog descriptions are used as
written; names must match (schema included) and mismatches are logged; the
setting controls what the AI sees, not data access.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant