docs
Data Integration
Configuring Data for Slides

Configuring Data for Slides

When your template contains data-connected shapes (charts and tables linked to data collections), you need to configure which specific data to use before generating slides.

The Data Configuration Modal

When you start a new slide deck that uses a template with data-connected shapes, the Data Configuration Modal appears. This is where you specify parameters that identify which data files to use.

Modal Structure

The modal has three main sections:

1. Global Parameters Form

At the top, you'll see input fields for all unique parameters used across data-connected shapes:

┌─────────────────────────────────────────────────┐
│ 📊 Global Parameters                            │
│                                                 │
│ Valuation Date:   [📅 2024-12-01        ]      │
│ Portfolio ID:     [GROWTH_FUND__________]      │
│ Version:          [1___________________]       │
│                                                 │
│ [Validate & Apply ✓]                           │
│                                                 │
│ ✅ Validation Status: All 5 shapes validated   │
└─────────────────────────────────────────────────┘

Input types match parameter types:

  • Date parameters → Date picker
  • String parameters → Text input
  • Integer parameters → Number input

2. Shape List

Below the global form, you see all data-connected shapes grouped by slide:

┌─ Slide: Executive Summary ──────────────────────┐
│                                                 │
│ ┌─ Chart: Revenue Overview ─────────────────┐  │
│ │ 📊 monthly-sales                          │  │
│ │ Parameters: ✓ Using global                │  │
│ │ Status: ✅ Data available                  │  │
│ │   • 52 KB, 245 rows × 8 columns           │  │
│ │                                            │  │
│ │ [Override Parameters]  [Preview Data ▼]    │  │
│ └────────────────────────────────────────────┘  │
│                                                 │
│ ┌─ Table: Holdings Breakdown ────────────────┐  │
│ │ 📋 portfolio-holdings                      │  │
│ │ Parameters: ✓ Using global                 │  │
│ │ Status: ❌ Error                            │  │
│ │   File not found for date 2024-12-01       │  │
│ │                                            │  │
│ │ [Override Parameters]                       │  │
│ └────────────────────────────────────────────┘  │
└─────────────────────────────────────────────────┘

Each shape card shows:

  • Shape name and type (chart/table)
  • Data collection it's linked to
  • Whether it uses global or custom parameters
  • Validation status with details

3. Footer

The footer summarizes the configuration status:

┌─────────────────────────────────────────────────┐
│ ✅ 4 of 5 shapes configured                     │
│                                                 │
│ [Cancel]              [Continue to Build →]    │
└─────────────────────────────────────────────────┘

The "Continue" button is only enabled when all shapes are validated successfully.

The Configuration Workflow

Step 1: Enter Global Parameters

Fill in the parameter values that apply to most or all shapes:

Example:

  • Valuation Date: 2024-12-01
  • Portfolio ID: GROWTH_FUND

These values will be used for all shapes by default.

Step 2: Validate & Apply

Click the "Validate & Apply" button. The system:

  1. Sends a validation request for each data-connected shape
  2. Checks if a data file exists matching the parameters
  3. If found: fetches the data and shows metadata
  4. If not found: shows an error with details

During validation:

  • A spinner shows on each shape being validated
  • Progress updates as shapes complete
  • Overall status updates in the header

Step 3: Review Results

After validation, each shape shows one of:

✅ Success:

Status: ✅ Data available
  • Object: GROWTH_FUND_2024-12-01
  • Size: 52 KB, 245 rows × 8 columns
  • Modified: Dec 1, 2024

[Preview Data ▼]

❌ Error:

Status: ❌ Error
  File not found for date 2024-12-01
  
Suggestion: Check if data has been uploaded for this date.

Step 4: Handle Errors (if any)

For shapes with errors, you have options:

Option A: Fix the global parameter

  • Maybe the date is wrong
  • Update in the global form and re-validate

Option B: Override with custom parameters

  • Click "Override Parameters"
  • Enter shape-specific values
  • Click "Revalidate" for that shape

Option C: Skip this shape

  • Not possible - all shapes must validate before continuing
  • This ensures your presentation has all required data

Step 5: Continue

Once all shapes show ✅, click "Continue to Build" to proceed with the slide deck creation.

Overriding Parameters

Sometimes a specific shape needs different parameter values than the rest.

When to Override

  • One chart needs last month's data while others need current
  • A table shows a different portfolio than the main charts
  • Historical comparison shapes with older dates

How to Override

  1. Click "Override Parameters" on the shape
  2. The shape expands to show parameter inputs (pre-filled with global values)
  3. Modify the values as needed
  4. Click "Revalidate" to check the new parameters
  5. The shape now shows "⚙️ Custom" instead of "✓ Using global"

Returning to Global

If you change your mind:

  • Click "Use Global" on an overridden shape
  • Shape reverts to using global parameters
  • May need to re-validate

Previewing Data

For validated shapes, you can preview the actual data:

  1. Click "Preview Data ▼"
  2. Expands to show a data table
  3. Shows first 10 rows
  4. Includes column headers

This helps verify you're getting the right data before proceeding.

Validation Status Indicators

Shape Status Colors

ColorMeaning
🔵 BlueValidating in progress
🟢 GreenData found and loaded
🔴 RedError - data not found or invalid
⚪ GrayNot yet validated

Overall Status

The header shows overall validation progress:

  • Not validated - No validation attempted yet
  • Validating... - Currently checking shapes
  • All X shapes validated - All successful
  • X errors - Some shapes failed validation

Error Messages and Solutions

"File not found for parameters"

Meaning: No data file exists matching the specified parameters.

Solutions:

  1. Check if the data has been uploaded to the collection
  2. Verify the parameter values are correct (especially dates)
  3. Use "Override Parameters" to try different values
  4. Upload the missing data file if needed

"Missing required parameter"

Meaning: A required parameter wasn't provided.

Solutions:

  1. Fill in all fields in the global parameters form
  2. For overridden shapes, ensure all required fields have values

"Invalid parameter value"

Meaning: A parameter value doesn't match the expected format.

Solutions:

  1. For dates: use YYYY-MM-DD format
  2. For integers: use only numbers
  3. Check for typos in string values

"Network error"

Meaning: Couldn't connect to the server.

Solutions:

  1. Check your internet connection
  2. Try validating again
  3. Refresh the page if issues persist

Templates Without Data Connections

If your template has no data-connected shapes, the Data Configuration Modal is skipped entirely. You'll proceed directly to the Build phase.

Workflow Pre-Configuration

When using a workflow that specifies default data configuration, those values may be pre-filled in the modal. You can still modify them before validation.

Best Practices

Before Opening the Modal

  • Know what data you need (dates, portfolio IDs, etc.)
  • Verify the data has been uploaded to the relevant collections
  • Have correct parameter values ready

During Configuration

  • Start with global parameters for the most common case
  • Override only when specific shapes truly need different data
  • Preview data to verify before continuing
  • Don't skip validation - it prevents errors during generation

If Something's Wrong

  • Check the collection to see what files are available
  • Upload missing data before retrying
  • Use different parameter values if the originally planned data isn't available

What Happens to Validated Data

Once you click "Continue":

  1. Data is cached - No need to re-fetch during slide generation
  2. Metadata is stored - Row counts, file info available throughout
  3. Content pieces created - Data objects appear in your content list
  4. Shapes are linked - Each shape knows its data source

During the Populate phase, the validated data is used to fill charts and tables automatically.

Next Steps