Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem converting page layout from source to metadata format #1081

Closed
yeanchiat opened this issue Jul 15, 2021 · 4 comments
Closed

Problem converting page layout from source to metadata format #1081

yeanchiat opened this issue Jul 15, 2021 · 4 comments
Labels
investigating We're actively investigating this issue

Comments

@yeanchiat
Copy link

Summary

Try converting a custom object's page layout from source to metadata format, but all other page layouts of that particular custom object get converted as well.

Steps To Reproduce:

  1. Specify a custom object's page layout (just 1 page layout) in manifest (package.xml)
  2. Run sfdx force:source:convert -d mdapi -x force-app\main\default\package.xml

Expected result

Expect to see 1 page layout (the one specified in manifest) being converted in the output directory.

Actual result

All other page layouts (including the one specified in manifest) related to the custom object being converted into metadata format and appear in the output directory.

System Information

{
"cliVersion": "sfdx-cli/7.109.0",
"architecture": "win32-x64",
"nodeVersion": "node-v14.17.1",
"pluginVersions": [
"@oclif/plugin-autocomplete 0.3.0 (core)",
"@oclif/plugin-commands 1.3.0 (core)",
"@oclif/plugin-help 3.2.2 (core)",
"@oclif/plugin-not-found 1.2.4 (core)",
"@oclif/plugin-plugins 1.10.0 (core)",
"@oclif/plugin-update 1.4.0-3 (core)",
"@oclif/plugin-warn-if-update-available 1.7.0 (core)",
"@oclif/plugin-which 1.0.3 (core)",
"@salesforce/sfdx-plugin-lwc-test 0.1.7 (core)",
"@salesforce/sfdx-trust 3.6.0 (core)",
"alias 1.1.10 (core)",
"apex 0.2.2 (core)",
"auth 1.7.1 (core)",
"config 1.2.12 (core)",
"custom-metadata 1.0.12 (core)",
"data 0.4.12 (core)",
"generator 1.1.7 (core)",
"limits 1.2.1 (core)",
"org 1.6.7 (core)",
"salesforce-alm 52.0.4 (core)",
"schema 1.0.7 (core)",
"sfdx-cli 7.109.0 (core)",
"sfdx-run-script 0.1.0 (link) C:\Users\3683xj\WYC\Salesforce\Repos\Post-Refresh\sfdx-deployment-scripts-runner\scriptrunner",
"telemetry 1.2.2 (core)",
"templates 52.1.0 (core)",
"user 1.3.0 (core)"
],
"osVersion": "Windows_NT 10.0.19042"
}

Additional information

This situation doesn't seem to affect standard object's page layout.

page-layout2

@yeanchiat yeanchiat added the investigating We're actively investigating this issue label Jul 15, 2021
@github-actions
Copy link

Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

@chernyy-svyat
Copy link

Have the same issue
sfdx-cli/7.86.3 darwin-x64 node-v14.15.5

@WillieRuemmele
Copy link
Member

Hi @yeanchiat @chernyy-svyat have you guys tried the beta source plugin it fixes a lot of metadata issues like this

@mshanemc
Copy link
Contributor

closed due to no response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating We're actively investigating this issue
Projects
None yet
Development

No branches or pull requests

4 participants