Skip to main content

Posts

Showing posts from May, 2023

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).        d. Namespace to use (required); this will default to the namespace of

Using Adaptive Cards on Power Virtual Agent

  Adaptive Card for Power Virtual Agent its on preview, this feature will enable you to enhance your bot with a better visual responses. Here is a demo of a Power Virtual Agent I have embedded on Teams Its quite easy to implement you can use Adaptive Card Designer to generate JSON for your Adaptive Card. You can start by selecting "Ask with Adaptive Card" Here will be able to configure You can Use Adaptive Card Designer for designing your Card, its quite easy to work with. If you are skilled developer you can take advantage of the JSON. This is your JSON template: {     "type" : "AdaptiveCard" ,     "$schema" : "http://adaptivecards.io/schemas/adaptive-card.json" ,     "version" : "1.5" ,     "body" : [] } T

Add Power Virtual Agent to Facebook

 This is one of the exciting addition to Power Virtual Agent. You can expand your lead generation from Facebook Pages by adding Power Virtual Agent to your Facebook page. Its quite easy to implement on Power Virtual Agent side, the main configuration resides on Facebook side. Create Facebook Page Create Facebook Application Add your Facebook Page to your Facebook Application Add Messenger Product to your Facebook Application and enable API. There are so many articles you can follow to create the mentioned steps. In Power Virtual Agent: Open your Virtual Agent Navigate to Settings → Channels Select Facebook You need to populate the following: Facebook App ID Facebook App Secrete Page Id Page Access Token Once you have added those the system will generate  Callback Url Verify token Make sure to configure your Facebook App Product (Messanger) and update CalbackUrl and Verify token. Thanks for reading