You need to sign in to do that
Don't have an account?
RamyaKrishna
Retrieving the field id based on field api name
hi,
Using getkeyprefix() method i can able to get the object id.
How can i get the field id ?
(I have a custom object E__c with field city__c. Using getkeyprefix() i got object id. but i need to get the field id)
Can u suggest me.
This is a duplicate post.
http://boards.developerforce.com/t5/General-Development/Field-ID/td-p/289901
All Answers
I don't thing there is anything like field Id that we have , you can definitly get FieldMap for any Object, using field describe methods. A field map is map of field api name as key and schema.field as value.
like this
This is a duplicate post.
http://boards.developerforce.com/t5/General-Development/Field-ID/td-p/289901