You need to sign in to do that
Don't have an account?
Alpesh Patel 16
How to get SObject's field's DESCRIPTION in apex class?
I have a apex class and trigger. I want to display Sobject's field name,Inline help Text and Description in visualforce page.
For example,
Sobject is "XYZ__c"
Fields are "Name__c" and "Address__c"
Then my visualforce page should display
Name Description Inlinehelptext
Name__c This is the Name. In this field user have to enter its name.
Address__c This is the Address. In this field user enters his address
I can get Name and Inlinehelptext using "Sobject__c.fieldapiname__c.getdescribe().getinlinehelptext()" but how to get description?.
Help Me,
For example,
Sobject is "XYZ__c"
Fields are "Name__c" and "Address__c"
Then my visualforce page should display
Name Description Inlinehelptext
Name__c This is the Name. In this field user have to enter its name.
Address__c This is the Address. In this field user enters his address
I can get Name and Inlinehelptext using "Sobject__c.fieldapiname__c.getdescribe().getinlinehelptext()" but how to get description?.
Help Me,