Skip to content

lsamaha/py-salesforce-id

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

py-salesforce-id

About

A simple helper function for Salesforce integrators working in Python who are encountering short (15 digit Salesforce IDs). This project implements Salesforce algorithm for converting the short form 15 character ID to a long form 18 character ID. The history of the long form ID has its basis in case-insensitive data storage performed by some external systems. The last 3 digits serve as a check-digit as explained here: The algorithm is available in the Salesforce platform and has been implelented in many other languages for integration work. This is example is for Python integrations.

Example

from salesforce import tolongid

shortid = '001A0000006Vm9r'
longid = tolongid(shortid) # 001A0000006Vm9rIAC

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages