Skip to content

JavaScript Form Item Template

PhuocLe edited this page Nov 8, 2026 · 3 revisions

Generates JavaScript files for a Dataverse model-driven app form.

Visual Studio Display Name

02. Javascript Form

Purpose

Use this item template when you want to add a JavaScript form script to a WebResource project. The scaffold uses devkit.js and includes generated typing support for form scripting.

Wizard Dialog

Field Meaning
Entity Entities loaded from the connected environment, ordered by logical name. The selected entity schema name becomes the file name.

Generated Files

File Purpose
{Entity}.js Main JavaScript file for custom form logic.
{Entity}.form.js Generated form helper file.
{Entity}.d.ts Type declaration file for IntelliSense.

When To Use

  • Add JavaScript form logic for a Dataverse table form.
  • Work in the plain JavaScript WebResource project.
  • Use generated form helper code instead of hand-writing form context access.

Related

Clone this wiki locally