Questions tagged [long-text-area]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
26 views

Formatting is not retained in Salesforce Rich Text Area fields

We have a requirement to store large text in Rich Text Area Fields of custom object containing bullet indentation and tables. Unfortunately, RTA fields do not support sub-bulletining or table ...
user avatar
0 votes
1 answer
31 views

Get character limit for long text area using Apex

I am trying to get the character limit for a long text area. So for example I have a custom field called --> My_Text_area__c which has the char limit set as 5000. So how can I get this value in my ...
user avatar
0 votes
0 answers
26 views

Is there a way to completely disable a compact layout for an object?

There is a custom object in my org that I'm using as a lookup field on Account for special handling instructions. This object only has one useful field which is a custom long text area field. My ...
user avatar
0 votes
2 answers
80 views

What are the considerations and steps to Change Data Type from Text Area (Long) to Text Area

As described in the title. I need to build reports in Tableau with data from salesforce and Tableau doesn't support fields with Text Area (long). So the only solution is the convert those fields to ...
user avatar
  • 1
1 vote
0 answers
190 views

Converting Long Text with HTML Tags to another Rich Text Field

I've run into a unique situation converting values from a 'long text' field into a 'rich text' field. Our SFDC instance is integrated with another tool ('Tool X') that sends data back into Salesforce. ...
user avatar
0 votes
1 answer
32 views

Long Text Area field behaving as case sensitive while searching a keyword

I have a Long Text Area(500) field Description__c on Account object. When i'm trying to search a keyword in this field value, it seems it's behaving as Case sensitive to find that keyword. For e.g. ...
user avatar
1 vote
0 answers
37 views

How to set a text block of more than 3.9k characters based on a condition in a formula field?

I have a requirement where I need to create a number of formula fields that will contain one or more paragraphs of legal verbiage based on certain conditions. But since formula fields only take 3.9k ...
user avatar
0 votes
1 answer
217 views

Is textarea supported in flow variable assignment?

I search for the restrictions using salesforce flow for field update and find nothing about texarea. My use case is to update the related contact details field (textarea type) when the object x__c ...
user avatar
  • 2,393
0 votes
1 answer
260 views

Comparing two Long Text Fields

Good morning, Relatively new to Salesforce, so learning as I go at the moment. We have an issue where the text from one (long text) field is being duplicated on another long text field in some records ...
user avatar
0 votes
2 answers
351 views

Handle double quotes in a long text field when generating a CSV file from apex

I have a custom object in which I have a long text area field. I am querying it in apex and building a CSV and sending an email with csv as attachment. The value in the long text area field and which ...
user avatar
  • 91
1 vote
1 answer
100 views

Searching CSV Data stored in Long Text Field

I am new to Salesforce and wanted to get some guidance on building a solution for the following use case. I am currently working on a Salesforce project building a hotel reservation system for service ...
user avatar
1 vote
1 answer
571 views

Why Salesforce does not accept my REGEX?

I have a RegEx created and tested in regex platforms, this one: ;.+$ If I check its functionality the result is okay, you could check it too in this link https://regex101.com/r/ocDofm/1/. The problem ...
user avatar
  • 155
0 votes
2 answers
55 views

How to store 50 billion currency value in salesforce? [closed]

Long Val1= 50000000000 ; Throws an error Illegal Integer.How would i assign 50 billion value in salesforce ?
user avatar
1 vote
0 answers
525 views

Changing field from Text Area to Text Area (Long) results in cannot change type due to data loss. Why?

On a sandbox I commented out references of a text area field from : ApexClass, ApexPage, EmailTemplate, 2 Flows, and a layout. I then was able to make the change of the data type just fine. Now when ...
user avatar
  • 471
2 votes
1 answer
160 views

Is there a native line break for Salesforce?

I'm having some text area fields that are populated via some external service via the API and also by the users who sometimes create new records, as well as changing existing ones. Via the API I can ...
user avatar
  • 1,956
0 votes
1 answer
289 views

Handling the String with <> characters

I am trying to convert the Long Area Text in to the RTF Field, the long text area sometime has the the <> in between the texts which is treated as a markup. I tried below to escape the ...
user avatar
  • 599
1 vote
1 answer
1k views

Converting a Long Area Text to Rich Field Text

I am trying to convert a Long Text Area Field to a RTF but when I do so I loose all the formatting it just removes the HTML tags and makes the area a whole chunk. So what I am trying is instead of ...
user avatar
  • 599
0 votes
1 answer
168 views

Mirror a Longtext Field using a Trigger

I am pretty new to salesforce development and was assigned a task to mirror a long text field from a parent object to a child object. I tried using a formula but I guess you can't use a long text ...
user avatar
1 vote
1 answer
2k views

"Visual Lines" attribute for Long Text Area field doesn't do anything?

I created a new field on a custom object, and when creating it, I have the option to specify the amount of visible lines: But when I look at the object in SF, all the lines are displayed. Why is this?...
user avatar
  • 163
1 vote
1 answer
244 views

How to store huge text in Salesforce record

I want to store the content of a small book in a Salesforce record. I want to make the text to be searchable by the Standard Salesforce UI and via Apex and SOSL and display it in Lightning UI. I know ...
user avatar
0 votes
0 answers
54 views

unable to pull down long text area in lightning experience but works in Classic

We are unable to view the long text area with the same height in lightning experience which we can see in classic experience.
user avatar
  • 171
1 vote
1 answer
1k views

Hyperlink in a long text Area

I have a long text area field on an object. There is a link present for each record on that field which works fine at the record level but does work on reports. I want to make the link clickable in ...
user avatar
1 vote
1 answer
1k views

Cannot resize width of Text Area on click and drag in LEX

I am using visualforce page with inputfield, I have field segment which is of type 'long text', that corner button on down right corner of input field(refer above image), we can click and drag both ...
user avatar
  • 10.6k
2 votes
0 answers
712 views

Lightning component String.length not the same as what the custom field gives as length

I'm working on a lightning component which stores it's data to a Salesforce Long Text Area custom field of size 600 on the Account object. In the component, we have an html text area, upon each keyup, ...
user avatar
0 votes
2 answers
585 views

Lighting:textArea minLength not wokring

Component : <lightning:textarea aura:id="commentId" name="comments" required="true" value="{!v.case.Comments}" placeholder="Enter comments here" ...
user avatar
1 vote
1 answer
1k views

Validation rule not firing if there are empty spaces in Long text area field

I have a validation rule that should fire whenever there is a value on field 'A' and the 'description' field Long Text Area(32000)) of case object is left blank. This rule fires for manual cases but ...
user avatar
0 votes
0 answers
407 views

workflow logic problem on long text area

It keeps showing accounts with DMARC blank records. I added 2 ISBLANK conditions to try to stop it but that doesn't seem to work. I'm guessing it has to be the way we combined the boolean logic. ...
user avatar
  • 69
3 votes
1 answer
717 views

Email Attachment (CSV) Issue

I have created a batch that will copy some event fields to a csv and attach it to an email. The problem I have is that I failed to replicate some characters (• bullet point, in this case) from the ...
user avatar
  • 643
-4 votes
1 answer
2k views

How to escape html characters in long text area field

I have a requirement where i need to copy the contents of a contentnote to a longtextarea field called 'comments' using apex anonymous. The issue is i am getting the following HTML characters for ...
user avatar
  • 37
2 votes
2 answers
2k views

Flow not recognizing enter key/line breaks in long text area field

I hav a flow that fetches data from a custom long text area field and populates its values in the contentnote. I have used HTMLEncode() in my flowformula so that it includes any spl characters in the ...
user avatar
  • 37
6 votes
2 answers
618 views

OFFSET with long text area field - undocumented?

I have a custom object with 4 long text fields, all with max length 131,072 characters. I have more than 200 records in my org of type CustomObject__c. Now, Scenario 1: [Select LongText1__c, ...
user avatar
3 votes
2 answers
926 views

All TextArea replace with the Rich Text

I have one visualforce page and trying to display only Notes as a Richtextarea but not sure why all TextArea are replacing with the rich text When i am clicking on Add Product Button then all ...
user avatar
1 vote
3 answers
2k views

Long text area field - Trigger is detecting field change even when no changes are made to the field

I have a long text area field which is on the page layout along with other fields. User is changing a picklist field but when trigger compares old and new values, long text are field is also detected ...
user avatar
  • 1,702
1 vote
1 answer
1k views

how to save blank spaces in text area

I have a large text area wherein among other things details in following format has to go: Start IP End IP Protocol Start Port End Port -------------------------------------------------------...
user avatar
4 votes
1 answer
3k views

How to wrap Rich Text Area in Visualforce

How do you wrap the text automatically? I have tried several approaches but none of them it works. Data type for the Description field is: Rich Text Area(131072) Visualforce page: <apex:...
user avatar
  • 6,614
0 votes
1 answer
60 views

Text Field Update not Populating Case Description Long Text Field

I'm trying to create a Field Update Workflow where once the new case is generated, the description of the case will include text that shows: First item Second item Third item Fourth item
user avatar
0 votes
1 answer
1k views

Can I copy specific lines from long text field to other fields

I need to copy data from a long text field (source field a) into 3 other fields: field b = lines 1-40 of source field a field c = lines 41-80 of source field a field d = lines 81-end of source field a ...
user avatar
2 votes
1 answer
307 views

Create a LongTextArea custom Field and show this in Layout

I have a problem creating a LongTextArea custom field. I don't understand what is wrong, if it's actually not created or not visible as a field. This is my code: CustomField customField = new ...
user avatar
0 votes
2 answers
5k views

First 255 of long text into a Text field

I'm looking for a way to take the first 255 characters of a long text field and plop it into a text field. Is there a formula field or workflow rule solution? Or am I going to need to loop through ...
user avatar
1 vote
2 answers
501 views

Parsing Text Area Long to Find To and From Email Apex Trigger

I am trying to parse out both TO: and FROM: Emails from the description field on a task and put them into two fields. Example of the text From: ther92@gmail.com To: threfort@gmail.com Lorem ipsum ...
user avatar
  • 29
1 vote
1 answer
8k views

Change datatype from Text to Text Area(Long)

I have a requirement where a text field char size(255) is not sufficient and I have used that text field in various codes. If I change datatype from Text to Text Area (Long) will my other ...
user avatar
  • 217
0 votes
1 answer
3k views

Change textarea value using Jquery not working [closed]

I'm using a JQuery to change a textarea input value when a picklist is selected...i can see the value is changed in the screen when i select an item in the picklist but when saving the new value is ...
user avatar
0 votes
1 answer
3k views

Jquery to disable textarea field not working - Load function

I have a textarea which i'm trying to disable using the below code via JQuery read function jQuery( document ).ready( function(){ jQuery( 'input[id$=oprm12]' ).prop('disabled', true); //Works for ...
user avatar
0 votes
2 answers
4k views

Problem in adding a new line character in TextArea field using a formula

I have a Text Area field, which I am updating using a formula from Process Builder. I want to add a new line and tried to do so using '\n' and '\r\n' but none of these work. Here is the formula used:...
user avatar
  • 46
3 votes
3 answers
12k views

Line break on Text Area (Long) in Visualforce

i have one long text area field and i used it on my visualforce. my long text area field value is - Fees are valid only for the payment of the Grade specified in this Letter of Offer.\n- Fees ...
user avatar
0 votes
1 answer
218 views

Unable to edit Long Text Area field in chrome

I am intermittently facing this issue today in my Org . In Chrome I am not able to edit Long Text Area field . Any one aware of this bug/issue ?
user avatar
  • 1,753
0 votes
2 answers
2k views

Limit the visibility of number of lines shown in text long area fields

This is how I see the text long area field in Standard layout in salesforce. How can I limit the visibility of it to 3 lines and to provide the option to the user to expand it. Is there any way to ...
user avatar
15 votes
2 answers
5k views

Missing 'Required' attribute for Long Text Area fields?

Here is the snapshot for a "Text Area" field, notice that the "required" attribute is available i.e. we can set this field as required: Here is another snapshot for a "Long Text Area" field, notice ...
user avatar
  • 1,732
4 votes
2 answers
9k views

Convert Rich text area field to long text area

I have a rich text area custom field on custom object and I am trying to convert it to long text area fields but when i exported the data using data loader,I see lot of html tags.Is it possible to ...
user avatar
  • 13.3k
2 votes
1 answer
1k views

long text area ( formula )

I am trying to find number of lines of long text area field using (formula).As formula field doesn't supports long text area workaround is to use workflow field update formula(workflow field update ...
user avatar
  • 13.3k