Preventing default behaviour in PowerApps portal web form

This article would be one of the easiest and shortest article but it needs writing about.

Sometimes, in PowerApps portal, we might have a requirement to prevent the default behaviour of the out-of-box buttons and check for some conditions before continuing. This might sound easy but the normal eventArgs.preventDefault() sometimes would not work and for someone with less experience this could be a problem that could take time to resolve.

To understand how and when to use :

Continue reading “Preventing default behaviour in PowerApps portal web form”

“Undeclared Property Error” in assigning lookup field when using web API Dynamics 365

I was trying to use the Xrm.WebApi.createRecord d365 API to create a record but was getting the error :

“An error occurred while validating input parameters: Microsoft.OData.ODataException: An undeclared property ‘YOUR FIELD’ which only has property annotations in the payload but no property value was found in the payload. In OData, only declared navigation properties and declared named streams can be represented as properties without values.”

This error seems to be a common error and the solution could be found everywhere online but in my case, the solutions like this still could not resolve the issue. After much debugging and trying several things, the solution below worked for me:

Continue reading ““Undeclared Property Error” in assigning lookup field when using web API Dynamics 365”

How to stop plugins from executing programmatically

You might have a situation where you would need to create or migrate records to dynamics using a console app or using any other platforms programmatically, and you don’t want to trigger plugins associated with the targeted entity. In this post, we would see as such a requirement can be met;

Here, I have created the below plugin and registered it to trigger on post Operation of entity Create, in this case, Account entity.

Continue reading “How to stop plugins from executing programmatically”

Exam MB-400: Microsoft Power Apps + Dynamics 365 Developer

I have just recently sat for and passed the MB-400 exam, this is exam is like no other microsoft exam I have sat for in the past.

For the curious ones, the below are the areas I concentrated on :

  • Introduction to developing with the power Platform
  • Extending the power pPlatform user experience Model Driven Apps
  • Extending the Power Platform Common Data Service
Continue reading “Exam MB-400: Microsoft Power Apps + Dynamics 365 Developer”