Linked Questions

1 vote
1 answer
3k views

what is the maximum salesforce id length [duplicate]

what is the maximum salesforce id length? I have to communicate it to another system that has to create an ad hoc field
Pericle Parquet's user avatar
1 vote
1 answer
527 views

Are salesforce record ids generated lexicographically ? [duplicate]

I am planning to store the records in a particular object in an HBase table. I want to know if a new record Id is created lexicographically.
Mahesh's user avatar
  • 11
0 votes
0 answers
39 views

Hyperlinking a Record in Lightning:datatable [duplicate]

Having an issue with just one small part of this answer someone gave on how to Hyperlink to records in Lightning Data Table my question is what is the second ID (the one with key value of "Id&...
Bobbygllh's user avatar
  • 721
21 votes
4 answers
7k views

SOQL where clause use 15-character ID?

Can anyone confirm this: in a SOQL Where clause, when comparing an ID field to a 15-character string variable, the comparison works. I didn't expect it to work, but it does and I am surprised. I can'...
David Cheng's user avatar
  • 6,967
14 votes
2 answers
16k views

How to get an 18 digit ID from 15 digit ID using SOQL

I have a 15 digit Sfdc ID, but I do not know which object it belongs to. How can I find out which objects it belongs to and the convert it to 18 digits - all using SOQL? P.S. I was annoyed at having ...
AngryHacker's user avatar
  • 1,481
5 votes
7 answers
6k views

Differentiate Production/Sandbox Instance?

I know it is fairly straightforward in Apex to determine if the Salesforce instance is production org or a Sandbox org, but I wonder if the same is possible via formula? I have also read What are ...
Adrian Larson's user avatar
  • 149k
12 votes
2 answers
3k views

Creating a link using an 18 character ID

I have an 18 character SFDC ID. I was under the impression that I should be able to create a link to that record using the following pattern: https://<org server>.salesforce.com/<id> For ...
Ryan Elkins's user avatar
  • 7,637
12 votes
4 answers
4k views

Converting the Salesforce Pod Id to ServerUrl/Name

Given a Salesforce Org Id, how can I determine the name and serverUrl to use with APIs?* For example, given the Org Id 00DE00001234ooT I can get the Pod/Server identifier from the first character ...
Daniel Ballinger's user avatar
5 votes
2 answers
3k views

Map<Id,Id> versus Map<String,String>

Looking at legacy code. The developer is loading Account.ID and a Lookup field value. I would think the best map would be Map<Id,Id> but this was coded as Map<string,string>. The value ...
Dean Wooldridge's user avatar
18 votes
1 answer
3k views

What are the Salesforce Pod ID to instance mappings?

As per What are Salesforce ID's composed of?, the 4th and 5th character of a Salesforce ID can be used to identify which pod/server the record was created on. Note that due to events like pod ...
Daniel Ballinger's user avatar
7 votes
3 answers
383 views

Distance between Salesforce ID indicates activity of other tenants

Question Does the distance between two Salesforce IDs indicate how many records have been created by other orgs? Approach Assuming I create a scheduled job that creates an Account periodically. The ...
Christian Deckert's user avatar
11 votes
2 answers
2k views

Why does 18-character ID casing matter in a SOQL WHERE clause?

When an ID value is upper-case the expected rows are returned in a SOQL query. However, when using a lower-case ID in the where clause, zero rows are returned. It also doesn't matter if it's a ...
Mark Pond's user avatar
  • 22.9k
6 votes
2 answers
3k views

Can we query the info from "Data Management -> Storage Usage" through SOAP API?

Can we query the info from "Data Management -> Storage Usage" through SOAP API? If so how? Actually, I need the count of records in all the objects in the org, and the size. (Also would like to know ...
Sathya's user avatar
  • 3,192
0 votes
3 answers
4k views

Case.Thread_Id, is Thread_Id a field on Case object?

Case.Thread_Id When is Thread_Id value generated? I tried accessing it through SOQL and Apex and SFDC complains and throws error. How do I access Thread_Id in apex?
Nilam Patel's user avatar
4 votes
1 answer
970 views

What is the value of the first and final record id for an object?

For example, Account IDs have prefix 001 and have 15 alphanumeric digits. What are the values for the first and last records that can be represented in this format (as we understand Salesforce IDs ...
Doug Ayers's user avatar
  • 4,156

15 30 50 per page