Deprecation is the process of giving code a status (deprecated) that indicates that the code should be avoided.

learn more… | top users | synonyms

0
votes
2answers
18 views

Deprecate fields in standard object (User)

Several custom fields was added to standard SF object User and included in managed package. As I understood, they can't be deleted from new version of package, only marked as 'deprecated'. Can ...
1
vote
1answer
34 views

Can Support undo the (not yet released) deletion of a managed field?

The CustomChild__c object was tied to CustomParent__c using a mdr_BadlyNamed__c relation. I planned on replacing it with a better named field and knew that this meant some migration on each customer ...
0
votes
0answers
40 views

Why can Workflow Rules (Field Updates,…) not be removed from Managed packages?

With the Spring'15 release nearly all types of metadata can be removed from managed packages. Why not Workflow related metadata? Field Updates, Rules and the like... Is there any technical reason or ...
5
votes
1answer
141 views

Unable to push-upgrade managed app after deleting packaged VF page

I just tried out the new feature Streamline Managed Packages by Deleting Unused Components that came with Spring'15 and deleted a managed VF page called "Advanced Lookup Popup" including its ...
0
votes
0answers
38 views

Global methods in Deprecated class

I have a global apex class that I want to mark as Deprecated. What do I have to do with it`s global methods and global inner classes? Do I need to deprecate them or leave as they are? Thanks.
0
votes
1answer
31 views

Best practices for upgrading a package

I have already released my package. However, I need to update this package with some fixes. I also have trialforce enabled, and I have created the trial templates. I would now like to update this ...
0
votes
0answers
45 views

Managed Package Upgrade Fails: Deprecated Method

I'm working towards releasing a new version of a Managed Package. Fresh installs of the most recent betas work fine, however upon upgrading a previous release, the install fails and leaves me the ...
4
votes
1answer
138 views

Customer org corrupted: Public class deleted in 1.2 magically gets deprecated in 1.1.1 patch

We pushed patch 1.1.1 of our managed app to a customer production org which worked fine in their sandbox for the last weeks. After the installation our customers faces compile-time type errors as Apex ...
3
votes
1answer
191 views

How do I deprecate/delete a master object part of a junction object which is part of a managed package?

Here is the scenario: As part of a managed package, we have 3 objects. Object A & Object C are Masters and Object B is the junction object between A & C. We packaged it all up and all good up ...
14
votes
1answer
330 views

Archaeology: what happened in Salesforce API 11.1 to necessitate a point release?

I'm really curious about this. Here's the list of available Salesforce API versions for a given Apex Class: 29.0 28.0 27.0 26.0 25.0 24.0 23.0 22.0 21.0 20.0 19.0 18.0 17.0 16.0 15.0 14.0 13.0 12.0 ...
10
votes
1answer
126 views

Archaeology: what *was* object type 004?

So we've all eyeballed the various standard object Key Prefixes at some point and noted: 001 is Account 003 is Contact etc I've always wondered: what was 004? What about 002?
8
votes
1answer
308 views

<deprecated>false</deprecated> randomly appears in object metadata in managed package. Why?

Sometimes when I commit the latests changes in my managed package to my version control I see those changes in the XML metadata of my custom objects. I heard that Salesforce.com is working on some ...
7
votes
2answers
734 views

Developer name already exists for given entity or has been previously used. Please choose a different name

In my managed ISV package I have many deprecated classes. Some of the are global and I cannot change their signature and just mark them as @deprecated. To make it more obvious that a class is ...
0
votes
1answer
93 views

How to deprecate a single function in a global interface

Can I deprecate a single function from a global interface that has been managed released? I was using this: global interface MyInterface { String getSomeString(); @deprecated Integer ...