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

STUCK Processing Metadata : CustomField

Open lm-dot opened this issue 1 year ago • 1 comments

Hi, the Salesforce Package.xml Generator is stuck in the "Processing Metadata : CustomField". I'm currently unable to select any Custom Field from any Object because the list of fields are not loading. Screenshot 2024-07-19 at 2 00 11 PM

I know I'm connected to my Org because I'm able to select FlexiPage, Custom Permission, Approval Process, etc... Screenshot 2024-07-19 at 4 41 45 PM

I'm using VSCode on a MacOS 13.3.1 VSCode Version: 1.91.1 (Universal) @salesforce/cli/2.50.6 darwin-arm64 node-v20.15.0 Java version Openjdk 21.0.4 2024-07-16 LTS OpenJDK Runtime Environment Temurin-21.0.4+7 (build 21.0.4+7-LTS) OpenJDK 64-Bit Server VM Temurin-21.0.4+7 (build 21.0.4+7-LTS, mixed mode)

Troubleshooting steps I've done as suggested by others: Uninstall extension, Close VSCode Install extension, Close VSCode Re-authorize Org

lm-dot avatar Jul 19 '24 20:07 lm-dot

Facing the same issue.

AsdrubalHikko avatar Aug 30 '24 15:08 AsdrubalHikko

@lm-dot - Can you share the error that you see when you open Command Palette -> Developer : Open WebView Developer Tools

vignaesh01 avatar Dec 21 '24 15:12 vignaesh01

I am also facing the same issue in macOs

chinusharma0206 avatar Dec 23 '24 14:12 chinusharma0206

Can you resend the screenshot? I am not able to see it in github Thanks, Vignaesh Ram A

On Mon, Dec 23, 2024, 19:40 chinusharma0206 @.***> wrote:

I am also facing the same issue in macOs

— Reply to this email directly, view it on GitHub https://github.com/vignaesh01/sfdx-package-generator/issues/120#issuecomment-2559779577, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADDYPO53R63N7VRFVAW6QOD2HAKWVAVCNFSM6AAAAABLFG7KVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJZG43TSNJXG4 . You are receiving this because you were assigned.Message ID: @.***>

vignaesh01 avatar Dec 23 '24 14:12 vignaesh01

Screenshot 2024-12-23 at 8 01 32 PM

chinusharma0206 avatar Dec 23 '24 14:12 chinusharma0206

@vignaesh01 here's the screenshot of error message from Command Palette -> Developer : Open WebView Developer vscode error

lm-dot avatar Dec 23 '24 14:12 lm-dot

Thanks.. how many custom fields do you have? Thanks, Vignaesh Ram A

On Mon, Dec 23, 2024, 20:06 lm-dot @.***> wrote:

@vignaesh01 https://github.com/vignaesh01 here's the screenshot of Screenshot.2024-12-23.at.8.42.23.AM.png (view on web) https://github.com/user-attachments/assets/bc710c38-b7b2-49c3-a347-ca1599b9d513

— Reply to this email directly, view it on GitHub https://github.com/vignaesh01/sfdx-package-generator/issues/120#issuecomment-2559819856, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADDYPOZOK2IXRVXHK6YZDUT2HANVZAVCNFSM6AAAAABLFG7KVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJZHAYTSOBVGY . You are receiving this because you were mentioned.Message ID: @.***>

vignaesh01 avatar Dec 24 '24 03:12 vignaesh01

@vignaesh01 there's a lot! How do I get the total count for the entire org? For now, I can tell you the usage and limit on the main objects:

  • Account 494 out of 500
  • Opportunity 399 out of 500
  • Lead 282 out of 500
  • Contact 328 out of 500
  • Quote 140 out of 500
  • Order 34 out of 500
  • Contract 64 out of 500

lm-dot avatar Dec 24 '24 14:12 lm-dot

@lm-dot Can you run both these commands in Command Prompt pointing to you org and share the results. You can change output file (outputfilename.txt) path if needed.

sf org list metadata --metadata-type CustomField --json

sf org list metadata --metadata-type CustomField --json --output-file outputfilename.txt

vignaesh01 avatar Dec 26 '24 08:12 vignaesh01

@vignaesh01 I was able to run the commands. However, I will not be able to share the output file because it contains client information. Can you tell me what to look for in the output file?

lm-dot avatar Dec 30 '24 21:12 lm-dot

I doubt that the json output breaks somewhere and the extension is unable to parse it correctly. Can you verify whether you are able to parse the json output in plain javascript?

Thanks, Vignaesh Ram A

On Tue, Dec 31, 2024, 02:35 lm-dot @.***> wrote:

@vignaesh01 https://github.com/vignaesh01 I was able to run the commands. However, I will not be able to share the output file because it contains client information. Can you tell me what to look for in the output file?

— Reply to this email directly, view it on GitHub https://github.com/vignaesh01/sfdx-package-generator/issues/120#issuecomment-2565914012, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADDYPO2LFYLP32SDJG7JEL32IGYSHAVCNFSM6AAAAABLFG7KVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRVHEYTIMBRGI . You are receiving this because you were mentioned.Message ID: @.***>

vignaesh01 avatar Dec 31 '24 13:12 vignaesh01

Hi @vignaesh01 happy new year! Can you please give me the steps on how to parse the output file?

lm-dot avatar Jan 02 '25 14:01 lm-dot

I have the same issue. The JSON i'm getting with "sf org list metadata --metadata-type CustomField --json" is valid. However it's quite large - 287 499 rows.

OsGreen avatar Feb 27 '25 09:02 OsGreen