
You can get all Custom Field id's and API Name from ToolingAPI callout. You have to deploy Apex Tooling API from https://github.com/afawcett/apex-toolingapi. Here Id is Field Id, DeveloperName is API Name of that Field and TableEnumOrId is Object name of that Field.
Full Answer
How do I get a list of SFDC fields in apex?
The normal Apex technique is to use the Field Describe methods as documented in the Apex developer's guide. You'll get a token to the metadata about an SFDC field where you can then fetch all sorts of information about the field (name, label, type, etc.)
How to call describe call on object in Salesforce dynamic apex?
You can use Dynamic Apex to perform describe call on object for which you want to get meta-data as described in below example: List<String> fields = new List<String> (); fields.addAll ( (Event__c.SObjectType.getDescribe ().fields.getMap ().keySet ());
How to get meta data from an object in Salesforce dynamic apex?
You can use Dynamic Apex to perform describe call on object for which you want to get meta-data as described in below example: List<String> fields = new List<String> (); fields.addAll ( (Event__c.SObjectType.getDescribe ().fields.getMap ().keySet ()); Above code will return all fields of Event__c Object which will get stored in List of type String.
Is it possible to get the full name of a customfield?
There is now an undocumented field on the CustomField object called "FullName" which gives you the full name of the field including the table on which it's located using dot syntax, the namespace, and the __c at the end. The current implementation though gives you an error if you query more than 1 record at a time, but if you need it, it's there!

How do I find the ID of a custom field in Salesforce?
Where do I find the ID of a custom field in Salesforce?Login to salesforce.com.In the top right corner, click on Setup.Click on Customize, select Leads and then click on Fields.Click on the name of the custom field you want.Copy this ID into AgileForms.
How do I find the custom Object ID in Apex?
2:554:08Find the ID of an Object in Salesforce - YouTubeYouTubeStart of suggested clipEnd of suggested clipClick the object manager tab. From here go to the object that has a record type to begin let's sayMoreClick the object manager tab. From here go to the object that has a record type to begin let's say we want one for a custom object. From here click on the record type tab.
Do Salesforce fields have ids?
And yes, every piece of metadata in Salesforce comes with an ID. I need to get the API name and ID for all picklist fields on an Object.
How is the field ID defined in Salesforce?
ID Field Type. With rare exceptions, all objects in the API have a field of type ID. The field is named Id and contains a unique identifier for each record in the object.
Where do I find the Salesforce ID?
Salesforce Profile IDs can be obtained from the Salesforce URL address associated with an individual profile. To locate this number, go to "Setup" followed by "Manage Users" and "Profiles." From here, click the desired profile to load it. If you look in the URL address, you should find the code.
How do I retrieve record ID in Salesforce?
Click Setup. Under 'Build,' click Customize | click the object of your choice | Record Types....Click the gear icon.Click Setup.Click Object Manager.Select the object of your choosing.Click Record Types.Click the Record Type name and inspect the URL to get the ID.
What are the two ways to get the record ID?
There are two ways to find them: Go to the Record Type (Setup> Customize> (object)> Record Types). Click on the record type. Find the Record Type ID in the URL between id= and &type.
How do I find the 15 digit ID in Salesforce?
Follow the below given steps to convert 15 character IDs to 18 character IDs for any record:Go to Setup | Customize | Object Name | Click Fields. ... In the related list “Custom Fields & Relationships” click New.Click the Formula radio button.Click the Text radio button for “Formula Return Type.” (Return type: Text)More items...
How do I create a field external ID in Salesforce?
To get started, create an External ID field on the desired object:Navigate to Setup.Navigate to Fields under the desired object. ... Click New.Select Text.Click Next.Add the name of the field and label.Select Unique: "Do not allow duplicate values." Then select "Treat "ABC" and "abc" as different values (case sensitive)"More items...
How is the field ID defined?
A field identifier (fieldid) is defined using typedef as a FLDID32 for FML32, and is composed of two parts: a field type and a field number (the number uniquely identifies the field). Field numbers are restricted to be between 1 and 33,554,431, inclusive, for FML32.
How do I get field data type in Apex?
we can get the all the standard and custom objects fields data types using the getGlobalDescribe, getDescribe, getType. Here Schema. DisplayType enum value is returned by the field describe result's getType method....Click here for more details:Type Field ValueWhat the Field Object ContainsIntegerInteger values21 more rows•May 14, 2014
How do I find the field reference in Salesforce?
On a custom field's detail page, click Where is this used? to see the field reference details. To view the settings for the layout, formula, or other reference, click a reference label. The list can include these references. Note References to reports on objects where there's a foreign key relationship don't appear.