You need to sign in to do that
Don't have an account?
Ad_Infosys
Error: schema.sobjectfield not a valid type
Not able to use
Schema.DescribeFieldResult f = Schema.sObjectType.Account.fields.Name;
in an apex code.
I want to store the field name in a variable and use it in SOQL to make it dynamic
From I tip off, it was suggested that dynamic Apex has to be enabled for an Org.
I am not sure if this is true. I have already logged a case with SFDC support to enble this feature if possible.