sfdx-package-generator
sfdx-package-generator copied to clipboard
Layout metadata not retrieving
I am using the extension to pull down selective components as an admin. When I use the package generator and check layout, I see all my layouts load to the right. When I click update package and look at my package xml, I see the following added:
When I retrieve source in manifest, it does not retrieve any page layouts. The output says there is nothing to retrieve.
I then used the org browser and downloaded the page layouts and they all download fine.

Deselect one layout and add it back manually after manifest creation. Wildcard only retrieves unmanaged layouts.
Also, you'll need to manually add the sobject namespace also to the layout name, see #19.
Deselect one layout and add it back manually after manifest creation. Wildcard only retrieves unmanaged layouts.
Also, you'll need to manually add the sobject namespace also to the layout name, see #19.
I don't understand your reply. When I use the package generator, it adds the wildcard for layout and nothing else. When I try to retrieve source, no page layouts are found. What are you saying I need to add back manually?
If you remove one layout from the selection, then the generated xml will list the rest explicitely (but without the needed namespace prefix after the hyphen).