How to get the count of items in a Collection – Canvas App/Power Apps – Power Platform

Hi Everyone,

Today I was working on CanvasApp and I have to show the count of the items in the collection on UI. This can be done easily by using the below formula.

CountRows(CollectionName)

I have given Text property of the label as below and here the result is showing the count.

Check this post on how to get and show the Dynamics 365 CE records using flow on Canvas App.


Happy 365’ing
Gopinath

Required properties are missing from object while parsing JSON in Power Automate or Microsoft Flow

Hi Everyone,

Today I am working on a flow and received below error at ParseJSON Step.

“Required properties are missing from object : property names”

This error is coming as we have specified some of the properties as required in the Schema and as they are not given as an input to Parse JSON, the step is failing while validating the data with schema.

To fix this, we have to edit the schema and remove the properties that were mentioned as Required in the schema.

If you are 100% clear that you might need the values to pass on, I would be prefer to check the data after parsing it and have your own response step to handle it.

Hope this helps.


Happy 365’ing
Gopinath