Skip to main content

Questions tagged [long-text-area]

The tag has no usage guidance.

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

How to Preserve Formatting in Long Text Field Input for Screen Flows

I have a screen flow that takes in input through a long text field and then inputs it into a text template used for an email. The formatting from the long text field is not preserved for some reason ...
Ethantium's user avatar
0 votes
0 answers
119 views

Performing Fuzzy search by using multiple keywords, on a specific long text area field which has keywords, hashtags on a custom object

I have a requirement to perform fuzzy search on a specific long text area field on a custom object and return the results, where long text area field can have some keywords, hashtags or quantity of ...
Vasudev Pai's user avatar
2 votes
2 answers
2k views

GetInstance not returning whole value in Long Text field from Custom Metadata

I am querying a long text area field from custom metadata using GetInstance and it is not fetching complete value. Can somebody please tell me what is the reason?
Uditchawla's user avatar
-1 votes
1 answer
8k views

Cannot reference a Long Text Area data type into a Formula Text field [closed]

Is there a way I can reference a long text area field to a formula text field? I just need to check if my LongText field value is blank or not.
Ishaan Jain's user avatar
0 votes
0 answers
27 views

How to concatanate text into a bigger field?

I need to keep some kind of a log system. In one text field the users will enter text, and once saved, the data will be concatanted to a bigger text field with [usercreate] and the entrytextfield will ...
Saariko's user avatar
  • 5,610
0 votes
1 answer
1k 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 ...
Maverick's user avatar
0 votes
2 answers
1k 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 ...
Don's user avatar
  • 118
1 vote
0 answers
865 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. ...
Katie Zinman's user avatar
0 votes
1 answer
115 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. ...
Pravindra Singh's user avatar
1 vote
0 answers
89 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 ...
Bilesh Ganguly's user avatar
0 votes
1 answer
1k 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 ...
vanessen's user avatar
  • 2,705
0 votes
1 answer
1k 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 ...
CompassCourse's user avatar
0 votes
2 answers
1k 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 ...
Sisir's user avatar
  • 111
1 vote
1 answer
251 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 ...
SalesforceNovice's user avatar
1 vote
1 answer
1k 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 ...
CPS's user avatar
  • 365
0 votes
2 answers
176 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 ?
starboy The's user avatar
1 vote
1 answer
2k 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 ...
kratos's user avatar
  • 541
2 votes
1 answer
6k 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 ...
Semmel's user avatar
  • 2,507
0 votes
1 answer
1k 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 ...
user81642's user avatar
  • 687
1 vote
1 answer
4k 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 ...
user81642's user avatar
  • 687
0 votes
1 answer
292 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 ...
Marc De La Cruz's user avatar
2 votes
1 answer
5k 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?...
James's user avatar
  • 193
1 vote
1 answer
552 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 ...
Robert Sösemann's user avatar
0 votes
0 answers
124 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.
prasanth's user avatar
  • 177
1 vote
1 answer
3k 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 ...
Moyeetri Pattanaik's user avatar
1 vote
1 answer
2k 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 ...
Rahul Gawale's user avatar
  • 12.2k
2 votes
0 answers
844 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, ...
Daniel Cedilotte's user avatar
0 votes
2 answers
729 views

Lighting:textArea minLength not wokring

Component : <lightning:textarea aura:id="commentId" name="comments" required="true" value="{!v.case.Comments}" placeholder="Enter comments here" ...
Nagendra K S's user avatar
1 vote
1 answer
2k 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 ...
gopal1007's user avatar
0 votes
0 answers
435 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. ...
teeshu's user avatar
  • 79
3 votes
1 answer
1k 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 ...
Micz Domz's user avatar
  • 685
-4 votes
1 answer
4k 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 ...
Meena's user avatar
  • 57
4 votes
3 answers
5k 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 ...
Meena's user avatar
  • 57
6 votes
2 answers
1k 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, ...
Santanu Halder's user avatar
3 votes
2 answers
1k 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 ...
WantToBeACoder's user avatar
1 vote
3 answers
3k 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 ...
apn's user avatar
  • 1,722
1 vote
1 answer
2k 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 -------------------------------------------------------...
starhunter's user avatar
4 votes
1 answer
4k 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:...
Nick's user avatar
  • 7,074
0 votes
1 answer
69 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
Skobiwankanobi's 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 ...
angela.addison's user avatar
2 votes
1 answer
402 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 ...
Gabriela Radu's user avatar
1 vote
2 answers
8k 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 ...
Fred O'Hara's user avatar
1 vote
2 answers
760 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: [email protected] To: [email protected] Lorem ipsum ...
Slice32's user avatar
  • 29
1 vote
1 answer
11k 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 ...
SfdcPro's user avatar
  • 217
0 votes
1 answer
4k 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 ...
Prabhu Sethupathy's user avatar
0 votes
1 answer
4k 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 ...
Prabhu Sethupathy's user avatar
0 votes
2 answers
5k 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:...
MKT's user avatar
  • 46
3 votes
3 answers
14k 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 ...
Febrian Rizky's user avatar
0 votes
1 answer
312 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 ?
codebandit's user avatar
  • 1,773
0 votes
2 answers
3k 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 ...
SFDC_BigDog's user avatar