Component Not Available to Be Selected in the Metadata Grid

When working with Copado, the components available in the organizations are displayed on the metadata grid. This grid is displayed on pages like Git Snapshot and Org Credentials as well as when committing in user stories or selecting components to be deployed in a MetaData deployment step.

User-added image

This grid doesn't contain the actual metadata of the components displayed, it only contains the name of the components.

If the component you are looking for doesn't appear on the list, check the following:

  1. The cache has been refreshed after the component was created. Click on the Link or Button to refresh the list of components: User-added imageUser-added image
  2.  Make sure that the owner of the org credentials linked to that grid has access to the component you are looking for. If the component in the organization was created by a system administrator and the owner of the org credential linked to that grid is a different user with no access to that component, the component will not appear in the grid. Which one is the org credential linked to the grid? It could be the org credential linked to the Git snapshot that is being used to commit or the source org credential in the Deployment record.
  3. If you do not see the component after checking #1 and #2, the component might not be supported by the Describe calls that we use to display the components. These are standard Salesforce describe calls and we display the components returned by them. You can check if the component you are looking for is returned by these calls following the steps below in Workbench:
    1. Log into the org from this url:
    2. Click on Info and then select Metadata Types and Components.
 User-added image
  1. Select the metadata type for the component you are looking for. The list of components for that type will be displayed. If the component doesn't appear on that list, the component will not be displayed in the metadata grid in Copado.

User-added image

How did we do?