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
anil Kumaranil Kumar 

IsCustomerPortal field not readable in formula field

Hi All,

I am trying to create formula field using standard Account field IsCustomerPortal in the formula. But is showing me field does not exist. Please help me on this.

User-added image
Thanks,
Anil Kumar 
Best Answer chosen by anil Kumar
SwethaSwetha (Salesforce Developers) 
HI Anil,

IsCustomerPortal field is an API field and not accessible in the UI which is why you can't reference in the formula field
There is also an idea asking this to be implemented as a feature.Please consider upvoting it.
https://trailblazer.salesforce.com/ideaView?id=0873A0000015AS8QAM
Related: https://www.reddit.com/r/salesforce/comments/hxv8c6/using_iscustomerportal_account_field_in_validation/

Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you