Questions tagged [long-text-area]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
33 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 ...
2
votes
1answer
23 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 ...
0
votes
1answer
31 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 ...
0
votes
1answer
55 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 ...
0
votes
0answers
103 views

lightning:textarea not displaying long text area in multi lines in aura component

I have my code like below in aura component, where an lighting:textarea is used to display long text area field in multiple lines <lightning:textArea aura:id="{!question.fieldAPIName}" name="{!...
0
votes
1answer
31 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 ...
3
votes
3answers
9k 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 ...
0
votes
1answer
160 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?...
1
vote
2answers
1k 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 ...
1
vote
1answer
77 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 ...
0
votes
0answers
35 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.
0
votes
1answer
764 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 ...
2
votes
1answer
229 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 ...
1
vote
1answer
461 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 ...
1
vote
0answers
425 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, ...
0
votes
2answers
469 views

Lighting:textArea minLength not wokring

Component : <lightning:textarea aura:id="commentId" name="comments" required="true" value="{!v.case.Comments}" placeholder="Enter comments here" ...
1
vote
1answer
436 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 ...
1
vote
1answer
5k 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 ...
0
votes
0answers
255 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. ...
1
vote
3answers
1k 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 ...
2
votes
1answer
504 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 ...
-4
votes
1answer
803 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 ...
6
votes
2answers
426 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, ...
2
votes
2answers
759 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 ...
1
vote
1answer
744 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 -------------------------------------------------------...
3
votes
1answer
2k 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:...
0
votes
1answer
56 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
0
votes
1answer
742 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 ...
1
vote
2answers
423 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 ...
0
votes
2answers
1k 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 ...
0
votes
2answers
3k 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 ...
0
votes
2answers
3k 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:...
11
votes
2answers
3k 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 ...
3
votes
2answers
6k 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 ...
8
votes
1answer
6k views

Long Text field in Report Workaround

So I know that Rich/Long text fields will automatically get truncated when running a report in the UI or when trying to schedule a report. I get this and think this is something that should be in ...
0
votes
1answer
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 ...
0
votes
1answer
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 ...
5
votes
1answer
3k views

SOQL on Rich text fields long text

I'm working on a custom search page, which will search through the fields of the Project object. I use dynamic SOQL query similar to that: SELECT Id, Name, Link_Test__c, ...
0
votes
1answer
137 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 ?
2
votes
1answer
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 ...
1
vote
1answer
498 views

Long text area not able to save

I have one field with long text area datatype with limit 1000. During the input, I am using JEasyCounter to validate 1000 character. The user insert 1000 character including new line (Of course ...
1
vote
0answers
259 views

Regex to hide html tags

I have one field Long text in which I have to escape HTML tags, I am able to escape HTML tags using REGEX but problem is if Content in field has gretaer than(<) character , this charcter is also ...
2
votes
2answers
341 views

Find ' Mc'/' MC' in Name field and make immidiate next letter capital in trigger

I have below trigger. After forming Name field I need to search ' mc' / ' Mc' / ' MC' and make immidiate next letter capital. Also convert the character after space/hyphen/apostrophe to uppercase. Can ...
3
votes
1answer
1k views

Long Text Area field in javascript custom button

I have a custom button (JavaScript) which copies the Description field from Event to my custom Object like this: summary.Discussion_Topics__c = '{!Event.Description}'; Both fields are of Long Text ...
1
vote
1answer
1k views

Changing custom field type

I need to change the field type of custom field from Text to Text Area (Long). I have around 2000 records for an object requiring this change. I also have apex and visualforce code referring to the ...
6
votes
1answer
2k views

outputField, long textarea field and unwanted spaces

I am having trouble with apex:outputField and a long textarea field. Salesforce appears to be inserting extra spaces on lines after BR tags after the page is rerendered following an actionFunction. ...
6
votes
2answers
24k views

replaceAll() \r\n in a JSON serialized string

I can't get replaceAll to work on the '\r\n' sequence in a JSON serialized string. I am serializing a Map object that contains long textarea fields with newlines. I need to change '\r\n' to '\\r\\n' ...
3
votes
1answer
3k views

Is there a way to search a long text area for contains string in SOSL

I have a request for fix a typo in a long text area. So it might be worthwhile for me to search for the same typo for all the objects of that type. Since SOQL can't filter on long text area, I guess ...
4
votes
3answers
4k views

Exact Target Data Extension and special characters - HTML markup

We have text fields and areas displayed within our Exact Target Landing Pages which had been inserted into a Data Extension text field using AMPscript enabled landing pages. We are using the "pre" tag ...
1
vote
0answers
75 views

Incorrect email textbox layout format

When sending an email from within a case (or other object records) in Salesforce, after accidentally pressing a specific key combination, I am now unable to use the full text box pane, instead I am ...