SOQL – Deployed Field Not Visible After Deployment via Change Sets

change-setcustom-fielddeploymentdeployment-errorsoql

I deployed my code through change sets from full copy sandbox to production: I included my new custom field and I can see that field on Contact from Setup on Production:
enter image description here

But despite adding them at page layouts, I still can't see them on Contact records on Production.

I can't access a field also from SOQL on Production:
enter image description here

What can be the reason of that error here? I checked also on Classic – I also don't see that field on a record. I did deployment about 20 minutes ago

Best Answer

This is because when you deploy the field through change set its field level security is not configured automatically unless you add the profile to the change set.

Checkout the official documentation outlining the behavior.

Make sure you edit the field level security for the field and configure it to be read only or edit as needed.

Related Topic