Skip to main content
replaced http://salesforce.stackexchange.com/ with https://salesforce.stackexchange.com/
Source Link

I need to distinguish different Org type as follows

  • Production Org
  • Sandbox Org
  • Developer Org
  • Demo Org (created by Salesforce, sometimes called SDO - or created by partners, sometimes called PDO)
  • Trial Org (customer org which will expire)

To distinct Sandboxes I found this Can we determine if the Salesforce instance is production org or a Sandbox org?Can we determine if the Salesforce instance is production org or a Sandbox org?

select Id, IsSandbox from Organization limit 1

Is there something comparable to distinct the rest?

In addition: is there a way to distinct the different sandbox-types:

  • developer
  • developer pro
  • partial copy
  • full copy

I'm open to solutions via APEX or JavaScript. The less hackish, the better.

I need to distinguish different Org type as follows

  • Production Org
  • Sandbox Org
  • Developer Org
  • Demo Org (created by Salesforce, sometimes called SDO - or created by partners, sometimes called PDO)
  • Trial Org (customer org which will expire)

To distinct Sandboxes I found this Can we determine if the Salesforce instance is production org or a Sandbox org?

select Id, IsSandbox from Organization limit 1

Is there something comparable to distinct the rest?

In addition: is there a way to distinct the different sandbox-types:

  • developer
  • developer pro
  • partial copy
  • full copy

I'm open to solutions via APEX or JavaScript. The less hackish, the better.

I need to distinguish different Org type as follows

  • Production Org
  • Sandbox Org
  • Developer Org
  • Demo Org (created by Salesforce, sometimes called SDO - or created by partners, sometimes called PDO)
  • Trial Org (customer org which will expire)

To distinct Sandboxes I found this Can we determine if the Salesforce instance is production org or a Sandbox org?

select Id, IsSandbox from Organization limit 1

Is there something comparable to distinct the rest?

In addition: is there a way to distinct the different sandbox-types:

  • developer
  • developer pro
  • partial copy
  • full copy

I'm open to solutions via APEX or JavaScript. The less hackish, the better.

Syntax and spelling
Source Link
Bartley
  • 5.3k
  • 10
  • 68
  • 126

General way to distinct betweendistinguish different Org types?

I need to distinct betweendistinguish different Org type as follows

  • Production Org
  • Sandbox Org
  • Developer Org
  • Demo Org (created by Salesforce, sometimes called SDO - or created by partners, sometimes called PDO)
  • Trial Org (customer org which will expire)

To distinct Sandboxes I found this Can we determine if the Salesforce instance is production org or a Sandbox org?

select Id, IsSandbox from Organization limit 1

Is there something comparable to distinct the rest?

In addition: is there a way to distinct the different sandbox-types:

  • developer
  • developer pro
  • partial copy
  • full copy

I'm open to solutions via APEX or JavaScript. The less hackish, the better.

General way to distinct between different Org types?

I need to distinct between different Org type as follows

  • Production Org
  • Sandbox Org
  • Developer Org
  • Demo Org (created by Salesforce, sometimes called SDO - or created by partners, sometimes called PDO)
  • Trial Org (customer org which will expire)

To distinct Sandboxes I found this Can we determine if the Salesforce instance is production org or a Sandbox org?

select Id, IsSandbox from Organization limit 1

Is there something comparable to distinct the rest?

In addition: is there a way to distinct the different sandbox-types:

  • developer
  • developer pro
  • partial copy
  • full copy

I'm open to solutions via APEX or JavaScript. The less hackish, the better.

General way to distinguish different Org types?

I need to distinguish different Org type as follows

  • Production Org
  • Sandbox Org
  • Developer Org
  • Demo Org (created by Salesforce, sometimes called SDO - or created by partners, sometimes called PDO)
  • Trial Org (customer org which will expire)

To distinct Sandboxes I found this Can we determine if the Salesforce instance is production org or a Sandbox org?

select Id, IsSandbox from Organization limit 1

Is there something comparable to distinct the rest?

In addition: is there a way to distinct the different sandbox-types:

  • developer
  • developer pro
  • partial copy
  • full copy

I'm open to solutions via APEX or JavaScript. The less hackish, the better.

Tweeted twitter.com/#!/StackSalesforce/status/631169644401922052
Source Link
Uwe Heim
  • 28.5k
  • 20
  • 121
  • 287

General way to distinct between different Org types?

I need to distinct between different Org type as follows

  • Production Org
  • Sandbox Org
  • Developer Org
  • Demo Org (created by Salesforce, sometimes called SDO - or created by partners, sometimes called PDO)
  • Trial Org (customer org which will expire)

To distinct Sandboxes I found this Can we determine if the Salesforce instance is production org or a Sandbox org?

select Id, IsSandbox from Organization limit 1

Is there something comparable to distinct the rest?

In addition: is there a way to distinct the different sandbox-types:

  • developer
  • developer pro
  • partial copy
  • full copy

I'm open to solutions via APEX or JavaScript. The less hackish, the better.