Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

I have a reference in VF page to a SOBject from another package like this...

  <apex:pageBlockTable value="{!UsageStats}" var="usageStatRecord"> 
     <apex:column headerValue="AM_Details__c" value="{!usageStatRecord.OTHER_PKG__AM_Details__c}"/>

This mean I can't build one of my own packages because it has a reference to this package.

When I try I get:

An extension of a beta package (OTHER_PKG) cannot be uploaded

This seem fair enough. Why should I be allowed build a package that is not modular. However, any tips how I get around this?

Is it possible to change this from a static reference to a dynamic reference? Or can I build my package another way?

share|improve this question
    
You could bind to a controller method which dynamically instantiates and returns a value? –  techtrekker Feb 20 '13 at 17:59
add comment

1 Answer 1

The error message here seems to suggest that OTHER_PKG is in fact a beta release of that package. If true, salesforce is doing you a favor by blocking this as building an extension package off of a beta release would mean that you are forever locked into that specific version of the package. Why?

  • You can't upgrade beta packages.
  • You can't uninstall a package that your managed package has dependencies on.
  • Once your package is released as managed you can't remove many types of components.

If you want to build an extension of OTHER_PKG make sure you get a non-beta release installed in your dev org, then try again. Extension packages like this are supported (although salesforce tries to discourage them as they're harder to test and can have some interesting side effects), so I suspect the beta package is what's holding you up here.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.