Uno Navigation Data Passing — Agent Skill
Workflow
Docs lookup: call
uno_platform_docs_search(...)first, thenuno_platform_docs_fetch(sourcePath="…")using thesourcePathfield from a result (a relative.mdpath; add the result'sanchorfor a section). Never pass a URL, a.htmllink, 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
DataViewMapassociates a data type with a View/ViewModel for data-based navigationResultDataViewMapadditionally specifies a result type for round-trip navigationNavigateBackWithResultAsync(data)returns data to the calling page- Routes must be configured in
RegisterRoutesto support data types Navigation.Dataattached 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