An app needs a custom page generated with code-first control. What can you propose?
Why D is the answer
A code-first generative page
A code-first generative page gives developers code-level control over a custom page in an app.
In detail
- A code-first generative page gives you that control.
- Choose this when a standard page is not enough.
Use case
An illustrative scenario, not a real incident.
An app needs a custom dashboard page, and a team wants control over its code, so it proposes a code-first generative page.
See it in different ways
stateDiagram-v2 [*] --> Requirement Requirement --> Copilot: Copilot already meets it Requirement --> Extend: Copilot needs your data or tools Requirement --> Build: needs its own logic Build --> CustomModel: existing models fail a measured need
flowchart TD
Q{"What does the page need?"}
Q -->|"Standard layout"| A0["Standard page"]
Q -->|"Code-level control"| A1["Code-first generative page"]Key point: Generative pages can be code-first.
Why the other options are wrong
- A. A fallback topic, which answers when no other topic can be matched
- A fallback topic answers chat.
- B. A managed solution export
- A solution export moves components.
- C. A canvas app template with no code access
- That gives no code control.

