Activity Forums Salesforce® Discussions How can I use country state picklist enabled for org in my apex class?

  • Piyush

    Member
    April 30, 2016 at 3:51 pm

    Hello Rachit,

    You can access State an Country through the Api name StateCode or CountryCode.

  • Ajit

    Member
    April 30, 2016 at 3:54 pm

    Go to Setup --> Data Management --> State and Country Picklists

    Follow the steps :
    But make sure it will change your organization data,

    In order to enable this option you must to do the following three options to enable.

    1. Configure states and countries. --> You need to configure which country you want.

    2. Scan now. --> This will scan all your existing data in contact.

    3. Convert your data. --> Then convert all your existing data.

    Once you finish those steps you will able to enable this feat

Log In to reply.

Popular Salesforce Blogs

Salesforce Marketing Cloud Integration with Google Analytics 360

Redefining the future of Marketing – Salesforce Marketing Cloud Integration with Google Analytics 360

Blog in

Know your customers better and make smarter, insight-based marketing decisions through Salesforce’s massive customer relationship management platform twinned with Google Analytics 360’s market-leading digital analytics solution…

Popular Salesforce Videos