Can anybody explain the url. - https://ap1.salesforce.com/hexcode
I wanted to know that when i hit this url, what is the first thing it do/search or anything.
Thanks
Can anybody explain the url. - https://ap1.salesforce.com/hexcode
I wanted to know that when i hit this url, what is the first thing it do/search or anything.
Thanks
If the hexcode string is in id format ('0039000001Czs88') then it shows the record that has that id. Otherwise it will return no url page.
If 'apex/ hexcode' is in the url then it search for apex page that has name as 'hexcode' other wise it will show a visualforce error that 'Page hexcode does not exist '
The code at the end is an object ID, not a hex code. It is simply alphanumeric ID of 15 characters that is sometimes seen with 18 characters, the last 3 being used for a checksum on non-case sensitive systems accessing the API (IDs are case sensitive).
The first 3 represent the SObject prefix. You'll commonly see things like .../500/e (500 prefix is Case object) which allows you to create a new SObject of that type. Likewise the prefix with no ending /e would bring up a list view of the SObject type (e.g. .../500).
There is another post on the exchange that contains a bit more than you asked for that might be worth checking out:
now its an expected behavior but after logout when i enter URL - https://ap1.salesforce.com/0039000001Czs88 its again redirect me to the custom login page.
– Dildar Hussain Dec 22 '14 at 09:03