2

I have metadata that contains a new page layout for Account. When I deploy this metadata to a scratch org, the page layout shows up in the Object Manager as expected. But when I include this metadata in a managed package and install it to an org, the layout does not show up. (But all my other changes show up just fine.) What's going on?

I should mention that I previously installed my layout successfully with an earlier version of the package, but I had to delete the layout in order to uninstall that package. Now when I install the new version of the package, the layout doesn't show up.

6
  • Could be related to record type assignment and you are looking at record with different record type?
    – Raul
    Commented May 14, 2019 at 21:59
  • 2
    New install or upgrade? Managed package upgrades don't update layouts.
    – Keith C
    Commented May 14, 2019 at 22:01
  • Raul: The layout isn't showing up in the Object Manager at all, so I don't think the record type assignment has to do with it. Keith: I have updated my original post with more details. Maybe my situation counts as an update but I'm not sure.
    – Ian Horner
    Commented May 14, 2019 at 22:02
  • 2
    Does the org where managed package installed previously had the package version ? when you say you uninstall , was it uninstall of a specific version or complete uninstall ? Commented May 14, 2019 at 22:18
  • @MohithShrivastava: it was a complete uninstall.
    – Ian Horner
    Commented May 15, 2019 at 15:32

1 Answer 1

1

Update: I have not figured out why this problem is happening, but I found a work-around. Just change the name of the layout metadata file, and the layout will install successfully.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .