1

I created a field 'Legal_Records_Parent_Box_Folder_Id__c' in a sandbox for the Account object, deployed the field to production, with a few scripts where the field was referenced.

enter image description here

When I query the field in the Production org, the query editor can't find it.

enter image description here

Yet when I query it in the sandbox, it works fine without any problems. enter image description here

I'm honestly at a lost for why this is not appearing in the production org. I can find the field when I search it and I can't even delete it because the org knows I use the field in multiple scripts. Does anyone know why this is happening or how I can fix it?

5

If you deployed the field but didn't deploy any profiles then the field security needs to be updated. By default when you deploy a field on its own nobody has access to view it or edit it. Check your field level security for your new field in production.

1
  • 1
    Totally forgot to redeploy a profile. You were completely right, it was not visible for anyone. Making it visible to system administrator fixes it. Thank you so much. – EmptyStuff Jul 23 '19 at 1:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.