0

My organisation has a managed package DevABC which has a namespace prefix Dev_ABC. I created a SFDX project using manifest. I authorized the org using the system administrator. Now, when I tried to retrieve the source in manifest from org, I do not see an apex classes or lightning components. I even tried using force.source.retrieve and force.mdapi.retrieve commands but wasn't able to retrieve anything.

I updated my package.xml file as well to include Dev_ABC__* instead of * in the members tag but I get warnings like these:

Entity of type 'ApexClass' named 'Dev_ABC__*' cannot be found 

Not sure what exactly I am missing!

1
  • PS: I checked the org browser: metadata in vs code but there's no metadata visible Commented Jan 21 at 10:54

1 Answer 1

1

Apex classes and the vast majority of metadata included in a managed packaged have IP Protection. Documentation states:

To protect the intellectual property of the developer, the component’s metadata, such as Apex code or Custom Metadata record information, is hidden in the installed org

In that link there is a list of metadata that can be included in a managed package and for each one the documentation states where it has IP Protection. Everytime you see "Component Has IP Protection = Yes" you know that there is no way to retrieve that metadata.
That's why you cannot retrieve Apex classes included in a managed package, nor you can see their code from Developer Console.

Only the developer of the package can update such components.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.