Activity Forums Salesforce® Discussions What to do in case I am getting this error "Parent Target Field: bad value for restricted picklist field"?

  • Manpreet

    Member
    January 30, 2018 at 11:45 am

    Hi tanu,

    There are 2 workarounds that I have found:

    1. Deploy the field first and then deploy the code separately. 2. Uncheck the “Strictly enforce picklist values” option in sandbox, deploy the field and code in the same deployment, then re-check “Strictly enforce picklist values” option in production.

    I have not seen this bug reported in Known Issues. I may just do that now. Hopefully this blog will help prevent you from spending too much time on a simple deployment.

    Happy coding!

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos