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
CRJ2011CRJ2011 

deployment from sandbox to production

I deployed new page layout and a custom field from configuration sandbox to production . Page layout looks fine ,but the custom field for which I chaged datatype from text to picklist is not editable . I manually made it editable through field accesibilty but even then it is not editable . One other picklist which I created new has the same behavior . What am I misssing ? 

AmitSahuAmitSahu
Did you check the deployment log if that field was modified or not?
CRJ2011CRJ2011

Thank you for response . It seems picklist values were not transferred somehow ,don't know why?

Hengky IlawanHengky Ilawan
Field accessibility is defined in profile metadata. If you used change set to deploy, you have to include the profiles to make it work.

-Hengky-
AmitSahuAmitSahu
Picklist was created in the target sandbox?
CRJ2011CRJ2011

I created picklist in sandbox . Moved the field through change set . Also moved record types . Its a mystery for me . Though created values again in production and it worked . 

 

Thanks

CRJ2011CRJ2011

Is there a better way/guidelines  to keep track of what to incude in outbound changesets .usually you do so much in sandbox then might miss something ???