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
Jordan@BracketLabsJordan@BracketLabs 

Remove 'Public and Private' tagging from being required in managed package

We have a managed package app that currently requires 'Public and Private Tagging' to be enabled by default for the org that is to be installed into.

 

This requirement is Auto Detected by the package uploader.

 

I have been tasked to get this requirement to go away. 

 

I have replaced all references to '__tag' with 'dynamic DML', except for @RemoteAction annotated methods that return types containing: "__tag"

 

The API reports: 

Save error: Global/WebService identifiers cannot be removed from managed application: Method: LIST<Task__Tag> recordTags

 Is there anyway around this so I can change the return types to: sObject or another datastructure that will allow me to avoid the installation requirement in the package uploader.

 

Thanks.

Best Answer chosen by Admin (Salesforce Developers) 
Jordan@BracketLabsJordan@BracketLabs

Salesforce has reported to us that this is only possible via two routes:

 

1. 'Roll-back', ask all managed package installations to uninstall the package. At which point the elements in question will be unlocked and allowed to be re-added as beta components.

 

2. Create a new 'Namespaced' package based on the original code, resubmit for security review, and ask any users whom you wish to have the updated code, to uninstall your original package, and than install this new package.