This first module provides participants with an overview of the Common Data Service architecture and where the extension points are as a developer.
- Overview of the Common Data Service application development framework
- Introduction to the Common Data Service platform
- Helpful skills in developing Common Data Service solutions
Working with Common Data Service Web API
The Common Data Service Web API provides a development experience that can be used across a wide variety of programming languages, platforms, and devices to access Common Data Service data and functionality.
This module teaches students how they can execute CRUD operations, Actions and Functions using the Web API.
- Introduction to the Common Data Service Web API
- Registering applications with Azure Active Directory
- Authenticate with the Common Data Service Web API using OAuth 2.0 and ADAL/MSAL
- Performing CRUD operations using the Common Data Service Web API
- Executing Actions and Functions
Working with the Common Data Service Organization Service
This chapter introduces participants to the Common Data Service Organization Service endpoint and will teach them how to do CRUD operations using .NET code.
Also, the concepts of early and late binding with entities is covered in this chapter.
- SOAP endpoints in the Common Data Service
- Early versus late-binding when accessing entity records
- The Organization Service
- Create, update, delete and retrieve entity records
- Retrieving data using the QueryExpression and QueryByAttribute classes
- Fault handling
Querying the Common Data Service with FetchXML
When accessing the Common Data Service as a developer you have several ways to query for data.
In this chapter you will learn the syntax of the FetchXML language to query the Common Data Service.
- Introduction to FetchXML
- Writing FetchXML queries
- Using FetchXML Builder to create FetchXML queries
- Executing FetchXML queries using the Common Data Service Web API
- Executing FetchXML queries using the Common Data Service Organization Service
A plug-in is custom business logic that you can deploy inside the Common Data Service to modify or augment the standard behavior of the Common Data Service.
This chapter teaches students how they can write a custom Plug-in in .NET and deploy it to the Common Data Service. Students also learn how to debug Plug-ins in the Common Data Service
- Plug-in overview
- Writing custom plug-ins
- Register and deploy plug-ins using the Plug-In Registration Tool
- Debugging plug-ins in the Common Data Service
- Deploying Plug-Ins with Solutions
The Common Data Service supports integration with Azure. Developers can register plug-ins with Common Data Service that can pass runtime message data, known as the execution context, to one or more Azure solutions in the cloud.
Besides writing a custom Plugin, Azure is the only other supported solutions for communicating runtime context to external line-of-business (LOB) applications.
- Overview of the Azure integration with the Common Data Service
- Integration with Azure Service Bus
- Configuring the Azure-aware OOB plug-in
- Write a custom Azure-aware plug-in
- Integration between the Common Data Service and Web Hooks
Implementing Business Processes
As a developer or power user you can automate common tasks inside the Common Data Service using processes.
What you can do inside a process is limited by default. In this chapter participants learn how to write custom activities that extend the process engine of the Common Data Service with extra capabilities.
- Creating processes
- Writing custom Workflow activities
- Deploying and debugging custom workflow activities
- Creating Custom Actions
- Using Custom Actions with the Web API
- Using Custom Actions in Power Automate
- Handling Form/View and Field events
- Root objects in the Client API object model
- Working with the Client API execution context object
- The Client API Form context object
- Interacting with forms and attributes using the Client API object model
- The Client API grid context object
- The Client API Xrm object
- Best practices in writing client-side Code
Customizing the Command Bar in a model-driven app
The Command Bar is displayed above every form or view in a model-driven app. In this chapter you will learn about how you can customize the Command Bar by adding or removing Commands.
- Overview of the Command Bar
- Available Command Bars in model-driven apps
- Working with Display and Enable rules
- Creating a custom Ribbon Action
- Pass data or URL parameters to a Ribbon Action
- Adding or removing Commands in the Command Bar
- Working with URL addressable forms and views
- Using Ribbon Workbench to customize the command Bar
Building Web Resources
- Web resources overview
- Building custom HTML Web Resources
The Power Apps Component Framework
The Power Apps component framework enables developers create code components for model-driven and canvas apps (experimental preview) to provide enhanced user experience for the users to work with data on forms, views, and dashboards.
- Install the Microsoft Power Apps CLI
- Using the Microsoft Power Apps CLI
- Create and build a code component
- Package a code component in a Solution
This course will teach developers how they can extend Common Data Service and Model-driven apps with custom code.
Although the Common Data Service and Model-driven apps have quite some out of the box customization options, many companies have requirements which can only be met by extending the existing feature set of the Common Data Service.
This course is targeting developers who have limited Common Data Service and Model-driven apps development skills.
Before attending the course, delegates must have the following prerequisite knowledge
- Understanding of Web development and design
- Working knowledge of building or customizing Model-driven apps (power-user perspective)