You need to sign in to do that
Don't have an account?
pradeep kumar yadav
Can we split formula's using any language too fetch Object's Name and their field Names.
I have already fetched the value of formula field using Metadata API, and now I want to fetch ObjectNames with field Names .
Hi Pradeep,
We can find whether the given field is formula fields or not using isCalculated() DescribeFieldResult Method.
Please refer this link https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_fields_describe.htm
To accesss ObjectNames:
Use the Schema getGlobalDescribe method to return a map that represents the relationship between all sObject names (keys) to sObject tokens (values),
To accesss Field Names :
Use the field describe result's getMap method to return a map that represents the relationship between all the field names (keys) and the field tokens (values) for an sObject.