Activity Forums Salesforce® Discussions Will the production org IDs change when we move it to live?

  • Hazel

    Member
    March 16, 2016 at 8:59 am

    First of all, it is never a good practice to hard code IDs. There are always workarounds for every case and i can go on and on about why using hard coded ids are such a bad idea.
    But coming back to question, NO, production IDs do not change unless you migrate from one org to another or delete and insert a record.

  • Tim

    Member
    March 22, 2016 at 1:25 pm

    Hazel is right your production org ID will not change but your sandbox and dev org IDs will change all the time. So if you are hard coding your org Id then you can only do testing in the live production environment.

  • Rex

    Member
    June 20, 2016 at 1:29 pm

    Thanks @hazeljones and @tim-lynchapplango-com your answers helped me a lot.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos