function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AnzarAnzar 

Can we find the Table, Column description ?

Hi ,

 

Is there any way to find Table or Column description in APEX API ?

 

Please provide the approach or syntax or any method available for finding the description.

 

Kindly, suggest me on this issue.

 

 

Thanks & Regards,

Anzar.

 

 

gubsgubs

Create a binding using SoapBindingStub. Then call the binding with describeSObjects(Sobject). You will get the details of the Table.

 

Gubs

AnzarAnzar

Hi,

 

Thanks for your reply.

 

I am already able to get the details of the table using binding.

 

I want get the description of the table. May be a short text message.

 

Eg: Table Name "MARA" - Short text msg will be "General Material Data"

 

for Column  :   LAEDA - Date of Last Change

 

 

Similiarly, i need description of the table Account,  AccountShare, Contact......different tables that are available in Salaforce database.

 

I hope, you understand the problem.

 

 

Thanks & Regards,

Anzar.

dkadordkador

Object and field descriptions aren't available through the enterprise or partner APIs.  They are available through the metadata API.

 

You can create a feature request in the idea exchange if you'd like to see this change.