+ Start a Discussion
Anand_agrawal@persistent.co.inAnand_agrawal@persistent.co.in 

How to get formula field type?

Hi,

 

I've created 2 FORMULA fields in my custom object. One of which is of TEXT AREA field and another is TEXT FIELD.

 

Now I want to perform some operation that will based on the field types (i.e. TEXT AREA or TEXT FIELD). However using the describe call I don't get such information of the formula field. When I try to fetch the field type for FORMULA FIELD every time it returns the STRING type.

 

So how can I differentiate between FORMULA TEXT AREA and FORMULA TEXT FIELD ?

 

Thanks & Regards,

Anand Agrawal.

Best Answer chosen by Admin (Salesforce Developers) 
forecast_is_cloudyforecast_is_cloudy

The only Output Type option when creating a Formula Field in Salesforce is 'Text'. You can't have a 'TEXT AREA' type Formula Field. Not sure what the question is therefore.

All Answers

forecast_is_cloudyforecast_is_cloudy

The only Output Type option when creating a Formula Field in Salesforce is 'Text'. You can't have a 'TEXT AREA' type Formula Field. Not sure what the question is therefore.

This was selected as the best answer
Anand_agrawal@persistent.co.inAnand_agrawal@persistent.co.in

Thanks guy..

 

I thought we can. Sorry for wasting your time. :(

 

--Anand.