Skip to main content

How to See a Component's Solution Layers in Power Apps

· 5 min read
Jagdish Kumawat
Founder @ Dewiride

When a flow, an app or a table behaves differently from the solution you installed, its solution layers show why. Advanced → See solution layers lists every solution that changed the component, in order, with the one that decides its behaviour on top.

Every component in Dataverse is built up in layers. Each managed solution that installs or changes it adds a layer, and all unmanaged changes share one more layer on top. Microsoft's solution layers article puts it simply: "The active layer determines the runtime behavior of the component."

The example is a flow called Say Hello. It was installed with a managed solution, How-to Examples, and then changed in its new environment from an unmanaged solution, How-to Local Changes (How to Edit a Cloud Flow in a Managed Solution in Power Automate). Its row there says Managed Yes and Customized Yes.

Step 1: Open the Component's Menu​

In Power Apps, select Solutions and open a solution that contains the component. I used How-to Local Changes. Find the component's row, select ⋮ next to its name, then Advanced. The submenu has Add required objects, Show dependencies, See solution layers, Managed properties, Remove active customizations and Add to solution.

Select See solution layers.

Step 2: Read the Layers​

A Solution Layers page opens, with the solution, All and the component's name in its breadcrumb:

The Solution Layers page for Say Hello, reached from How-to Local Changes > All: Order 2 Unmanaged layer, Publisher Default Publisher for org00000000, Layer Status Active; Order 1 HowtoExamples, Publisher Dewiride

ColumnWhat it says here
OrderThe higher the number, the higher the layer. 2 is on top of 1.
SolutionHowtoExamples, the managed solution that installed the flow, and Unmanaged layer above it
PublisherDewiride for the managed solution. The unmanaged layer shows the environment's Default Publisher, although How-to Local Changes uses another publisher: all unmanaged changes share the one layer, whichever solution you made them from.
Layer StatusActive marks the layer that decides how the flow behaves

So this flow runs as it was changed in this environment, not as How-to Examples shipped it.

Step 3: See What a Layer Changed​

Select a layer. A Properties pane opens on the right. For the unmanaged layer it said This layer contains one or more unmanaged solutions:

The Properties pane for the unmanaged layer: This layer contains one or more unmanaged solutions, the Updated and All tabs, and the clientdata property holding the flow's definition with the Compose input Hello from this environment, then workflowidunique

The Updated tab shows only the properties this layer changed. For a cloud flow, the main one is clientdata, the flow's whole definition, and you can read the change in it: the Compose step's "inputs":"Hello from this environment". The All tab lists every property of the component in that layer, changed or not.

With a layer selected, the command bar offered Compare with previous layer, which was greyed out here, and Remove active customizations, which deletes the unmanaged layer (How to Remove the Unmanaged Layer from a Managed Component in Power Apps). Closing the pane clears the selection, and those commands go with it.

Common Mistakes​

MistakeWhat happensDo this instead
Reading the bottom layer as the one that runsThe top, Active layer decides the behaviourRead the list from the top
Assuming the unmanaged layer belongs to the solution you edited fromAll unmanaged changes share one layerExpect the environment's default publisher on it
Selecting Remove active customizations just to lookIt deletes the layer for goodSelect the layer itself to see its properties

Troubleshooting​

SymptomLikely causeFix
No Unmanaged layer in the listNothing was changed in this environmentNothing to do: the managed solution decides
The commands disappeared from the command barClosing the Properties pane cleared the selectionSelect the layer again
A solution update didn't change the componentAn unmanaged layer above it is still ActiveRemove that layer, or import with Overwrite Customizations

FAQ​

Does every component have layers?​

Every component in a solution has at least one. A component made in this environment and never installed by a managed solution has only its unmanaged layer, and Microsoft's article says that one can't be removed with Remove active customizations.

Why use layers instead of the Customized column?​

Customized only says yes or no. The layers page says which solutions changed the component, in what order, and what each layer changed.

Can several managed solutions change the same component?​

Yes. Each adds its own layer, and Microsoft's article says the one installed last sits above those installed before it.

Conclusion​

⋮ → Advanced → See solution layers lists a component's layers with the Active one on top, and selecting a layer shows what it changed on the Updated tab. It's the quickest way to see why a component doesn't match the solution you installed.

Additional Resources​