Skip to main content

Posts

Showing posts with the label Plugins

Creating Early-Bound Classes with Power Platform Tool

If you're using early-bound classes for your plugins or custom development, there are a couple of ways to generate them.  You can run the CrmSvcUtil.exe with PowerShell scripts or use the XrmToolBox.  In this article, we'll cover how to generate these files using Power Platform Tool. For this example, we're using Visual Studio 2022, but you can use prior versions as well, such as Visual Studio 2019. To create classes for your tables(entities) using Power Platform Tool: 1. Open your Power Platform Solution connected to your Dataverse environment. 2. From View, select Power Platform Explorer. 3. Expand Tables. 4. Right-click on your specific table (entity), in this scenario Contact. 5. Select Create Class for Entity. 6. Populate the following:       a. Select your project (required).        b. Service Context Name (optional).        c. Filename to create (by default prepopulated with name of table).      ...

Power Platform Tool for Visual Studio 2019/2022

 Power Platform Tool for Visual Studio 2019/2022 We have a new Visual Studio Extension Power Platform Tool.  Creation and deployment of Plugins, Custom Workflows and WebResources is going to be easy and time saving.  This article is going to focus on how to connect to your environment and create your Visual Studio Solution. In a subsequent article I will try to cover on how to Create and deploy your components to your environment. Installation is straight forward go to      Tools→ Manage Extensions→ Search for Power Platform Tools     You will Need Visual Studio 2019 or later version     Subsciption to Pawer App/Dataverse or trial       .Net Framework 4.6.2 Now we will go over how to create a Project and connect it to your Environment Open Visual Studio 2019 →New Project Search for Power Platform Solution Template Add Project Name and Location → Create Click on Start from Dataverse to con...