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
Hugh Wheeler 8Hugh Wheeler 8 

Missing Standard object.

Hi,

I have recently been trying to move some code from 1 organisation to another.  I am receiving errors in the migration.

The error I am receiving is:

CustomPermission-Custom Permission Layout Page Layout 0 0 Entity Enumeration Or ID: bad value for restricted picklist field: CustomPermission

In researching this, I can see the CustomPermission object in the source organisation, but this object is missing in the target organisation. I cannot find what setting creates the CustomPermission object, or makes it visible. 

Has anyone else faced and fixed this?

Hugh
 
NagaNaga (Salesforce Developers) 
Hi Hugh,

Please see the link below

http://salesforce.stackexchange.com/questions/8245/how-to-exclude-invalid-fields-that-cant-be-deployed-by-the-migration-tool-from

Please let me know if this helps

Best Regards
Naga Kiran