You have reached the limit for dashboards run as the logged-in user: Error

SFDX: Retrieve Source from Org failed to run Salesforce (missing package.xml)

In the previous post about this topic there were some comments about how to get the package.xml file generated.

I found this in recent updates to Salesforce CLI they have added a method to generate the package file with any name you want.

Steps to genarate the file

Right click on the force-app folder and select generate manifest file. This will prompt you to give a name. Enter any name in the box and hit enter. The folder and the file will get created as the second image.

Generate package file command

File got created but now you will have to fill it with the metadata name you want. Only issue here is again you will have to specify which metadata you want to pull from server.

metadata file

One additional point to note here, you can create multiple xml files in this folder now to have specific metadata pulled in them. You can see the below screenshot I have one package.xml for all metadata, apexclass.xml for only pulling apexclasses and so on. This is helpful if you are concentrating on a specific types and want to save some time pulling only the metadata you want in your project.

multiple package files

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *