sfdx-package-generator icon indicating copy to clipboard operation
sfdx-package-generator copied to clipboard

Components are not displayed

Open RRIEMEA opened this issue 2 years ago • 12 comments

I use Salesforce Package.xml Generator for a long time and I'm very happy with it. I now changed my Maschine to a new Mac M1 Pro, but since, some components are not retrieved. In this example Layouts should be displayed, but they are not. Also custom fields are not displayed. Others, like Apex or trigger and others are displayed. I updated, deleted and reinstalled the extension but no change. Any Idea, what could be the cause? Bildschirmfoto 2021-11-24 um 15 52 59

RRIEMEA avatar Nov 24 '21 14:11 RRIEMEA

@RRIEMEA I'm seeing the same issue.

dan-boudreau avatar Nov 26 '21 19:11 dan-boudreau

That's good to know, that it's maybe not due to my maschine but a general issue. Hopefully someone is watching this channel.

RRIEMEA avatar Nov 26 '21 22:11 RRIEMEA

Facing same issue on desktop, in my laptop works fine, not sure if some update on vscode or extensions broke it Error when click on 'Customfield' Metadata Types

bekzzz avatar Nov 26 '21 23:11 bekzzz

Same for me

juanjardim avatar Nov 29 '21 10:11 juanjardim

i love this tool and i started to have this issue when trying to pull the custom field, and it showed me blank field only. Not sure if anyone find any workaround for this issue so far

sorry to ping you @vignaesh01 but do you know if there is anything else i can try here?

guan-tay avatar Nov 30 '21 22:11 guan-tay

Yes, having the same issue.

choughSFDC avatar Dec 01 '21 18:12 choughSFDC

I had the same issue after upgrading my SFDX CLI Version. And as you can guess, uninstalling SFDX CLI and reinstalling an older version worked. Mine was pretty old, after uninstalling i used this command : npm install [email protected] --global

I hope this can help

antoine-foucher avatar Dec 01 '21 18:12 antoine-foucher

Thats's a good advice @antoine-foucher . And it is enough to go back to Version 7.124.0. Just tried and this one works also fine. I heard somewhere, that a new SFDX CLI update will be published the next days to solve the issue with these commands sfdx force:mdapi:listmetadata -m CustomField and other components.

RRIEMEA avatar Dec 01 '21 23:12 RRIEMEA

Thats's a good advice @antoine-foucher . And it is enough to go back to Version 7.124.0. Just tried and this one works also fine. I heard somewhere, that a new SFDX CLI update will be published the next days to solve the issue with these commands sfdx force:mdapi:listmetadata -m CustomField and other components.

Hello , what is the best way to downgrade sfdx on windows 10 ?

tony-tawk-ei avatar Dec 07 '21 13:12 tony-tawk-ei

Try this in terminal: First uninstall CLI: npm uninstall sfdx-cli --global
Then install new version: npm install [email protected] --global

RRIEMEA avatar Dec 07 '21 14:12 RRIEMEA

I updated SFDX CLI to 7.130.1 and it is working again for me. It seems to be an issues with 7.98.0

Mac with the M1.

fbairn avatar Dec 09 '21 21:12 fbairn

Hey All - I am unable to recreate this issue.

Please try the following,

  1. Update to the latest version of Salesforce generator extension.
  2. Check whether the package.xml is present inside the manifest folder.
  3. Reauthenticate your org with your sfdx project

If still the issue persists, please send me the extension logs & developer tools log.

Steps for Extension logs: Help -> Toggle Developer Tools View -> Command Palette -> Developer : Open Logs Folder

Steps for Developer tools log: View -> Command Palette -> Developer : Open Webview Developer Tools

vignaesh01 avatar Jan 30 '22 09:01 vignaesh01