Questions tagged [long-text-area]
The long-text-area tag has no usage guidance.
68
questions
2
votes
2
answers
1k
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?
-1
votes
1
answer
5k
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.
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 ...
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 ...
0
votes
3
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 ...
1
vote
0
answers
767
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. ...
0
votes
1
answer
90
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.
...
1
vote
0
answers
77
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 ...
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 ...
0
votes
1
answer
951
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 ...
0
votes
2
answers
980
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 ...
1
vote
1
answer
238
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 ...
1
vote
1
answer
918
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 ...
0
votes
2
answers
160
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 ?
1
vote
1
answer
1k
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
1
answer
3k
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
1
answer
917
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 ...
1
vote
1
answer
3k
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
1
answer
273
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 ...
2
votes
1
answer
4k
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
1
answer
465
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
0
answers
94
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.
1
vote
1
answer
2k
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 ...
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 ...
2
votes
0
answers
823
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
2
answers
712
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
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 ...
0
votes
0
answers
434
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. ...
3
votes
1
answer
950
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
1
answer
3k
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 ...
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 ...
6
votes
2
answers
900
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, ...
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 ...
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 ...
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
-------------------------------------------------------...
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:...
0
votes
1
answer
67
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
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
...
2
votes
1
answer
375
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
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 ...
1
vote
2
answers
723
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 ...
1
vote
1
answer
10k
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
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 ...
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 ...
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:...
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 ...
0
votes
1
answer
293
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 ?
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 ...
16
votes
2
answers
6k
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 ...
4
votes
2
answers
11k
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 ...