function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
System DeveloperSystem Developer 

how to edit apex batch class from a managed packaged ?

we have created one batch apex class and it is related to one object but we want to remove this batch class as well as want to delete objects that is related to this batch class in to managed packaged , also we want to remove compact layout from the managed packaged .so how to remove global identifier,compact layout ,some objects into the managed packaged.?

How can we solve this issue. Thank you in advance
 
KaranrajKaranraj
If you are not an app provider, then you can't delete class or object from the managed package. You have to contact the App provider for any changes or issues if you are facing in the package. Only the app provider can able to remove objects,class and push the changes to all your customers with the new version.
System DeveloperSystem Developer
We are the app provider.error is "Error: Compile Error: Global/WebService identifiers cannot be removed from managed application:".
kindly suggest the solution
Nitin PaliwalNitin Paliwal
Hi,
Have you created this managed package or are you using this package ?

If you are just a user of this package then you cannot delete the components of the package.

Whereas if you have developed this package, you will have to create a case with salesforce to enable deleting of the components from the managed package.Contact salesforce support, raise a case there and they would enable the delete capability.

I hope this helps.


Thanks
Nitin
System DeveloperSystem Developer
We have created this package and also we have enabled the deletion functionality but we are disable to slove this error  "Global/WebService identifiers cannot be removed from managed application".
kindly provide a solution for it
Thank you
Nitin PaliwalNitin Paliwal
Hi,
Unfortunately , you cannot delete any global class.This is not allowed by SFDC.

Thanks
Nitin
System DeveloperSystem Developer
is there any way to change the object in global class? becase whenever i tried to change the object we are getting this error.