function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
zeezackzeezack 

Strange ID references?

My question is.
 
1) is salesforce able to store php5 scripts
2) when I pull out id's they seem to have an additonal 3 letters after them
 
I have an account that comes out as
0018000000PEei7AAD
but when I check the salesforce records and its url id its
0018000000PEei7
 
can you help explain what is going on here?
http://www.whenscottmetmichelle.com/site-editor/phptoolkit/samples/HelloWorld2.php
its the same for the claims too

Id = 0038000000Z617yAAB
instead of
Id = 0038000000Z617y
 
I know I can shave off 3 characters but I'd like to know more about the system before I do a quickfix.
Robs
SuperfellSuperfell
search for 15 vs 18 char ids. they represent the same Id.
zeezackzeezack

15 v 18 char id's

 

you mean - the stored value is limited to 15?

zeezackzeezack

All of these id's are storing extra numbers... which are generated automatically from the salesforce database

 

Id = 0018000000PElz4AAD
IsDeleted = false
MasterRecordId =
Name = hgfhgfhgf hgfhgfhgfhgf
Type =
ParentId =
BillingStreet =
BillingCity =
BillingCity =
BillingPostalCode =
BillingCountry =
ShippingStreet =
ShippingCity =
ShippingState =
ShippingPostalCode =
ShippingCountry =
Phone =
Fax =
AccountNumber =
Website =
Sic =
Industry =
AnnualRevenue =
NumberOfEmployees =
Ownership =
TickerSymbol =
Description =
Rating =
Site=
OwnerId = 00580000001j1JPAAY
CreatedDate = 2009-03-10T15:45:34.000Z
CreatedById = 00580000001j1JPAAY
LastModifiedDate = 2009-03-10T15:45:34.000Z
LastModifiedById = 00580000001j1JPAAY
SystemModstamp= 2009-03-10T15:45:34.000Z
LastActivityDate =
CustomerPriority__c =
SLA__c =
Active__c =
NumberofLocations__c =
UpsellOpportunity__c =
SLASerialNumber__c =
SLAExpirationDate__c =
Hello__c = World

SuperfellSuperfell
no, i mean search the forums/docs for 15 vs 18 char Ids to find all the info.
zeezackzeezack
mmm I am still a little vague... what should I do...leave the id as it is? It seems to still work with the system?
SuperfellSuperfell
The API uses 18 charIds across the board, and yes the work with the entire API.