# Uno Navigation Data

> Pass and receive data during navigation in Uno Platform applications.

- Skill: `unoplatform/uno-navigation-data` (Agent Skill)
- Install (CLI): `npx skillmds@latest add unoplatform/uno-navigation-data`
- Raw SKILL.md: https://api.skillmd.com/api/skills/unoplatform/uno-navigation-data/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: unoplatform (https://skillmd.com/u/unoplatform)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/unoplatform/uno-navigation-data

---


# Uno Navigation Data Passing — Agent Skill

## Workflow

> **Docs lookup:** call `uno_platform_docs_search(...)` first, then `uno_platform_docs_fetch(sourcePath="…")` using the `sourcePath` field from a result (a relative `.md` path; add the result's `anchor` for a section). Never pass a URL, a `.html` link, or a hand-built path.

### Step 1: Fetch the Data Passing Documentation

```
uno_platform_docs_search("Uno Navigation data passing receive NavigateDataAsync constructor injection")
```

Primary documentation pages:
- **Passing Navigation Data (Chefs)**: `external/uno.chefs/doc/navigation/PassingNavigationData.md`
- **Pass Data During Navigation**: `external/uno.extensions/doc/Learn/Navigation/Walkthrough/DisplayItemDetails.md`

Fetch the Chefs data passing page:

```
uno_platform_docs_fetch(sourcePath="external/uno.chefs/doc/navigation/PassingNavigationData.md")
```

### Step 2: For Route Configuration with Data

Data-based navigation requires proper route registration:

```
uno_platform_docs_search("Uno Navigation DataViewMap ResultDataViewMap route data type")
```

### Step 3: For Returning Results

If the user needs a round-trip (navigate, pick data, return):

The Chefs page covers `NavigateBackWithResultAsync` and `ResultDataViewMap` patterns.

### Step 4: For XAML Data Passing

For passing data declaratively:

```
uno_platform_docs_search("Uno Navigation XAML Navigation.Data binding pass")
```

## Key Principles (Stable)

- Data is received via constructor dependency injection in the target ViewModel
- `DataViewMap` associates a data type with a View/ViewModel for data-based navigation
- `ResultDataViewMap` additionally specifies a result type for round-trip navigation
- `NavigateBackWithResultAsync(data)` returns data to the calling page
- Routes must be configured in `RegisterRoutes` to support data types
- `Navigation.Data` attached property enables data passing in XAML

## Related Skills

- [[uno-navigation-routes]] — Route registration with data types
- [[uno-navigation-code]] — Programmatic navigation methods
- [[uno-navigation-xaml]] — XAML data binding for navigation

