Hi,
I need a custom field that holds longer texts (rich text) in Leads. I can create custom field of TextArea datatype but from API there is no such option. Is there any reason why? How can I create a custom field that holds long text through API?
Can you please explain the surrounding business requirement for creating this field via the REST API?
I would like to create textArea custom field, which stores html email as a text/string. so that i can use it in the email template {{lead.customField}}
Can you please explain the surrounding business requirement for creating this field via the REST API?
because i don't want to use UI
yes i am, it's not one time i would like to create lots of custom fields.
is there any other way to do it? storing rich text then use it {{lead.field}} in email?
Still don’t understand why you’re withholding details about your project. That’s not the best way to get help from the community.
At any rate, you can use a Marketo Custom Object. The CO schema can be managed using the API and TextArea fields are supported. They’re also a lot less intrusive as unlike Lead fields they can be deleted completely.
In general, we avoid hard-coding HTML in fields — including CO fields — because there’s almost always a better way to format data properly without wasting storage on presentation elements (tables, etc.). For example, storing data as pure JSON and then using Velocity to format it as a table.
I feel like i am expressing myself well. i am creating an app that send 10k different emails to 10k leads in one campaign/program. So i thought if i store html email as a custom field in leads, i can create one email template and inject it like {{lead.customField}}.