5

I have a managed package which once use Customer Portal features. I think I removed them all (at least I can't find them) but whenevery I try to upload a new major or patch release the Customer Portal requirement checkbox is checked and cannot be unchecked.

  1. Where or how can I see what components are the cause for this requirement.
  2. Can it be that the requirement persists even without any causes?
  3. In case of 2) how can I get rid of it, especially in a world where nobody wants portals anymore ;-)

EDIT: The is no explicit dependancy listed on the View Dependency Page.

1
  • Anything happening like Site.createPortalUser in a test method? Commented Oct 22, 2014 at 2:48

1 Answer 1

1

Did you click on the View Dependencies button in the Package page layout?

http://screencast.com/t/gSyNM3x4QSG

It should show you what components are causing feature dependencies in the package

Once you remove whatever dependency exists, it should automatically disappear -- we've accidentally created references to fields on Contact or User that are only present in a portal-enabled org and once we made those soft references, the dependency went away by itself

But it's also worth checking the Customer Portal checkbox on the Upload page to make sure it isn't turned on explicitly:

http://screencast.com/t/HMty887mNpB8

5
  • As mentioned in my question the checkbox is active and CANNOT be deactivated. Besides that the "View Dependencies" doesn't show any components referencing this feature. Commented Aug 22, 2014 at 7:20
  • 1
    Unfortunately, it sounds like opening a PPortal case is your only option to troubleshoot further. :-(
    – daveespo
    Commented Aug 22, 2014 at 10:34
  • Yes, I opened a case and asked for help. Commented Aug 22, 2014 at 12:20
  • @RobertSösemann Did SF support help you eventually to get rid of Portal Dependency? Or was it something you missed on your side that prevented package to let that dependency go? I'm asking cause we are trying to remove Territory Management dependency following similar to your approach and without success so far.
    – wesaw
    Commented Aug 24, 2019 at 13:54
  • Wow, my memory is rusty from 5 years ago but I am fairly certain no intervention by Support was required in our case; simply removing the static references to fields/objects referenced by Customer Portal eliminated the required dependency at packaging time
    – daveespo
    Commented Aug 25, 2019 at 12:37

You must log in to answer this question.

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