3

I keep seeing Product under Package Requirements even though there are zero references to it anywhere in my package. I have searched through all my files both in my local editor and Developer Console and verified neither Product nor Product2 was present.

This package (in beta -no managed releases yet) used to contain references to Product2 in one Apex class but they are all removed now. It is worth mentioning that this was the case with a couple other objects too, but once their references were removed they disappeared from Package Requirements.

Any ideas how I could correct this issue?

2
  • Can you unselect the product reference or is it not editable.
    – Eric
    Commented Jan 11, 2017 at 20:14
  • @Eric It is not editable.
    – Mossi
    Commented Jan 11, 2017 at 20:17

1 Answer 1

0

Turns out this was caused by indirect references from child and/or nephew objects. It wasn't obvious at all but the View Dependencies button on the package helped me narrow it down.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .