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
dede 

Error: "Cannot modify managed object"

Hi,
 
When updating a web link's url or an scontrol's content through the api, we get an error stating that "Cannot modify managed object".
 
Our web links and scontrols are in fact components of a managed package, but we did not encounter this problem with SFDC Winter 07 release. Is this a new behaviour (in Spring 07 release)? Is there a suggested work around as these managed components contain placeholders that need to be updated after the managed app is installed and activated.
 
Thanks,
de
Jim Yu.ax185Jim Yu.ax185
Hi De,

Are you trying to modify this in the developer org or the subscriber org? 

You should be able to modify it in the developer org, but not in the subscriber org.  If you want to update the subscriber org, you can do this by:

- Releasing a new version of your managed package
- Upgrading the subscriber's org.

Best,
Jim