How tc-ca/rom.tsis2.webresources works
Main Components and Architecture
The system should be represented with these key components:
a) Client-Side Layer:
• TypeScript/JavaScript Components (src/ts → Webresources/js)
• HTML Web Resources (Webresources/html)
• CSS Resources (Webresources/css)
• Resource Libraries (Webresources/lib)
b) Development & Build Infrastructure:
• TypeScript Compilation Pipeline
• XrmDefinitelyTyped Type Generation
• SPKL Deployment System
c) Dynamics 365 Integration Layer:
• Web Resource Registration
• Form/Entity Integration Points
• XRM Type Definitions
Component Relationships
[Development Layer]
• TypeScript Sources (src/ts/)
• ↓ (compilation)
• JavaScript Output (Webresources/js)
• ↓
[Deployment Layer]
• SPKL Configuration (spkl.json)
• ↓
[Dynamics 365 Platform]
• Web Resources Registration
• ↓
• Forms/Entities Integration
Key Integration Points
Critical connections:
• TypeScript compilation workflow
• Web resource deployment process
• Dynamics 365 form/entity integration
• Type definition generation and usage
Specific Implementation Details
Project-specific elements:
• Custom form scripts (Account.ts, Action.ts, etc.)
• HTML web resources (Dashboard_AvSec.html, etc.)
• Resource localization (resx files)
• Type definition management
Development Workflow
Development cycle:
[Local Development]
• ↓
[Type Generation (XrmDefinitelyTyped)]
• ↓
[Build Process]
• ↓
[SPKL Deployment]
• ↓
[D365 Environment]
Important Notes
• Version control integration points
• Build pipeline stages
• Deployment configuration points
• Type definition update flows