I have two row rendering
Row_1
<div>
@Html.Sitecore().DynamicPlaceholder("section")
</div>
Row_2
<div>
<div>
@Html.Sitecore().DynamicPlaceholder("section")
</div>
</div>
I make both of these compatible renderings of the other.
When I drop Row_1 on the page and put a 1 column rendering (Or any rendering) in the section
placeholder, I get a presentation details like below.
Section
page-layout-{00000000-0000-0000-0000-000000000000}-0
One column
/page-layout-{00000000-0000-0000-0000-000000000000}-0/section-{23E68120-46D9-4066-B597-8A010998FEA6}-0
Now when I switch from Row_1 to Row_2 in compatible renderings, everything disappears and I only see the Section
placeholder again.
If I add a 1 column to my now empty Section
placeholder. I get a different sections ID. Notice the section is no longer {23E68120-46D9-4066-B597-8A010998FEA6}
. It is now {1AEF33CD-6BB2-458D-9BC3-8F4D6C08B395}
Section
page-layout-{00000000-0000-0000-0000-000000000000}-0
One column
/page-layout-{00000000-0000-0000-0000-000000000000}-0/section-{1AEF33CD-6BB2-458D-9BC3-8F4D6C08B395}-0
I have tried some of the extra configuration for the placeholder, besides just the name. But it seems to fail the same way. This did work with Sitecore 8.2 and the Dynamic Placeholders nuget.
Thanks all