Common Data Service, Power Platform, PowerApps Portal, Uncategorized, Web API

Power Apps portal Web API: (ERROR)An undeclared property … which only has property annotations in the payload but no property value was found in the payload…

Looking at Web API for portals this weekend. For the scenarios we currently workaround, with the API it's all easy. There is a very documentation available which will help you to start: https://docs.microsoft.com/en-us/powerapps/maker/portals/web-api-perform-operations and here: https://docs.microsoft.com/en-us/powerapps/maker/portals/web-api-overview#web-api-operations When I was trying to bind a related entity on create I was getting the following error: "An undeclared… Continue reading Power Apps portal Web API: (ERROR)An undeclared property … which only has property annotations in the payload but no property value was found in the payload…

Dynamics 365 Portals, PowerApps Portal, Uncategorized

Power Apps Portals: where do I find my portal current version?!

It's a very simple question indeed. If you think you can just go to the Admin portal and check... If you think you can find it in the portal Overview or settings ... It's a very simple thing, indeed. So why it's so not easy to find this information?! As you probably know we are… Continue reading Power Apps Portals: where do I find my portal current version?!

Business Applications, dynamics 365, Model-driven, PowerApps, Uncategorized

Dynamics 365 CE/model-driven app: the form script unexpected discovery

Something I won't expect to discover. Yet, here I am! It's all started with a very "simple" requirement to populate a read-only form field on change of another form field, Method. The fancy way it set up is when you select the field to change it pops up the window asking you if it was… Continue reading Dynamics 365 CE/model-driven app: the form script unexpected discovery

Business Applications, Common Data Service, Flow, power automate, PowerApps, Uncategorized

Power Automate: PARSE JSON action with value or null

Power automate is endless fun! Today we are going to explore a very "simple" issue which are 2 issues actually: how to define "allow null" in a schema to avoid annoying errorshow to get away with the 1. without the painful consequences Let's start from the beginning! PARSE JSON is a very useful action and… Continue reading Power Automate: PARSE JSON action with value or null

Uncategorized

Get Count of records retrieved in CDS connector in a Flow | Power Automate

I am always forgetting this expression …

D365 Demystified

In several applications, you need to know how many record were retrieved in the List records Action in a Common Data Service connector in order to take a decision.

Scenario

Typically, let’s say I know only 1 record should exist in order to take that record forward and do an action. But how do I know when only 1 record was received? That’s when you use Control

Check Count

Now, let’s say you want to want to retrieve Accounts and know how many were returned (Perhaps, you want to proceed only if at least 1 or more were retrieved)

  1. This is my List Records action and I’ve named it as Get All Records.
    defaultListRecords
  2. And just to display how many records are retrieved, I’ll use a variable. Usually, you would use this in condition (which we’ll get to in a bit)
    initVar
  3. So, in the expressions to set the Variable, under Dynamic…

View original post 163 more words