DV Quick RunRun, build, and understand Dataverse Web API queries directly inside VS Code with metadata-aware developer tooling. A Dataverse developer console inside VS CodeDV Quick Run turns VS Code into a Dataverse developer console. KeywordsDataverse • Dynamics 365 • Power Platform • Web API • OData • VS Code extension • Developer tooling 🆕 What's New in v0.3.2This release focuses on execution transparency, developer ergonomics, and reliability improvements across DV Quick Run workflows. Major improvements:
Example: [DV:DEV] GET contacts?$select=fullname&$top=10 → 10 records returned (85ms)
These improvements make DV Quick Run feel more like a true Dataverse developer console inside VS Code, with clearer execution feedback and more predictable workflows. 🚀 Animated Demo
Typical workflow: write query Everything happens inside VS Code. ⚡ Quick Start
Provide:
🌍 Environment ProfilesDV Quick Run supports working with multiple Dataverse environments. Typical setups include:
The currently active environment is shown in the VS Code status bar. Example: DV: DEV Environment CommandsAvailable commands:
These commands manage the environments stored in: dvQuickRun.environments inside your VS Code settings. Environment SafetyTo prevent cross-environment issues:
✨ Why DV Quick Run?Working with the Dataverse Web API usually involves a fragmented workflow:
DV Quick Run collapses that loop into a single editor experience. 🔎 CodeLens Query ExecutionDV Quick Run automatically detects probable Dataverse queries and adds inline CodeLens actions.
This turns your editor into a lightweight Dataverse query workbench. 🧠 Explain QueryUnderstanding a Dataverse query can sometimes be harder than writing it. DV Quick Run breaks a query into human-readable sections. Example query: contacts?$select=fullname&$filter=contains(fullname,'john')&$orderby=createdon desc&$top=25 Explain Query shows:
Great for learning and reviewing queries. 🔍 Metadata HoverHover over fields inside a query to see Dataverse metadata. Example: contacts?$select=fullname,emailaddress1 Hovering a field may display:
Metadata is cached for fast repeated lookups. 🔧 Smart GET from GUIDSelect a GUID in the editor and instantly generate a record query. Example selected GUID:
Generated query:
Or pick fields:
🧰 Query Mutation HelpersIncrementally refine existing queries. Available helpers:
Example transformation: Original:
Add fields:
Add filter:
⚙️ Smart GET BuilderGenerate Dataverse queries through guided prompts. Workflow: Choose entity Example generated query: accounts?$select=name,accountnumber ✏️ Smart PATCH BuilderUpdate Dataverse records using guided prompts. Workflow: choose entity No manual request construction required. 🔁 Generate Query from JSONConvert a JSON record into a Dataverse query skeleton. Example JSON:
Generated query:
Useful when exploring Dataverse responses. 🔗 Relationship ExplorerExplore how Dataverse entities are connected. Example:
This helps developers understand which Relationship Graph ViewGraph view currently shows direct (1-level) relationships. Future versions will support recursive traversal. 🛡 Guardrails for Risky QueriesDV Quick Run detects risky query shapes such as:
Instead of silently executing them, the extension warns and asks for confirmation before sending the request. 🧠 Metadata IntelligenceDV Quick Run uses Dataverse metadata to power many of its features. This enables:
This metadata intelligence layer is the foundation for future features such as:
🔬 Metadata DiagnosticsDV Quick Run includes commands to inspect and manage metadata caches. Available commands:
These tools help developers verify metadata loading behaviour and recover quickly after schema changes. Diagnostics are scoped to the currently active environment, ensuring caches from different environments do not mix. 🔐 AuthenticationDV Quick Run uses Azure CLI authentication. If you are already logged in with Azure CLI, the extension will reuse that token. Login example:
No client secrets or OAuth configuration required. Tokens are cached per Dataverse environment scope, allowing DV Quick Run to safely switch between environments without re-authenticating unnecessarily. 👥 Who Is This For?DV Quick Run is designed for:
🛠 DevelopmentRun locally: npm install npm run compile Press F5 in VS Code to launch the Extension Development Host. 📜 LicenseMIT License 💡 Final ThoughtDV Quick Run is built around one idea: The fastest Dataverse workflow is the one that never leaves the editor. |
