New answers tagged

0 votes

Is there a way to distinguish Long Text Area field or Rich Text Area field from a regular Text Area?

You can use the method isHtmlFormatted to distinguish between the two isHtmlFormatted() Returns true if the field has been formatted for HTML and should be encoded for display in HTML, false ...
  • 1,659
0 votes

Update IsCustomerPortal field in Account Object

When you want to create a community user for a contact, just set the user ProfileId field to a community user profile. The system will automatically enable the account when you insert the user. User ...
  • 6,758

Top 50 recent answers are included