On character request a field character length is 4000 but it is not accepting

Community Alums
Not applicable

On character request a field character length is 4000 but it is not accepting 4000 it is taking hardly only 100 characters

2 REPLIES 2

Sandeep Rajput
Tera Patron
Tera Patron

@Community Alums Could you please share additional details/snapshot for to help others investigate the issue.

Carlos Petrucio
Mega Sage

Hello @Community Alums , I hope you are well.

If this data is being input to the table through a transform, you also need to check if the temporary table that performs the transformation also has a limit of 4000 for the source field.

Because if the maximum value in the source temporary table is 100 and in the final table it is 4000, it will only send 100 and the information will be cut off.

 

If this is not your case, follow the troubleshoot below:

 

1. Check Field Type

Ensure that the field type is appropriate for the data you're entering. If it's a String field, it will be limited by the field's maximum length.

  • Go to the Dictionary Entry for the field in question (Navigate to System Definition > Dictionary).
  • Verify the field type is set to String (for text fields) or Text (for large text entries) and that the Max Length is set to 4000.

2. Check Field Settings and Max Length

Make sure that the Max Length property is correctly configured for the field.

  • Open the field's Dictionary entry.
  • Look for the Max Length field, and verify it is set to 4000 characters.

3. Check Client Scripts or UI Policies

There might be client scripts or UI policies in place that are limiting the field’s length. If there’s a script that enforces a limit or performs validation, it could restrict the input to 100 characters.

  • Check for any UI Policies or Client Scripts that could be impacting the field.
  • Look for any validation scripts that could be cutting off the value, either through setValue(), onChange(), or other methods.

4. Review the Form Layout

Sometimes, the issue might be related to the form layout or the way the field is displayed. If the field isn't properly displayed in the form, users might be unable to input more characters than are visible.

  • Ensure that the field is displayed in a sufficiently large text area on the form.
  • Verify the field in the Form Layout to ensure there are no restrictions.

5. Check for Business Rules or Background Scripts

Business rules, background scripts, or other server-side logic may be affecting the field’s input. It’s possible that there’s a business rule or script that’s truncating the field’s value.

  • Check if any Business Rules are running on the table that might be altering the field value or limiting input.

6. Verify with Different Clients (Browser/Incognito)

Sometimes browser settings or cache might cause unexpected behavior. Try testing the issue in a different browser, an Incognito window, or clearing the browser cache to rule out any client-side issues.

 

7. Check for Any Data Transformation Issues

If the field is part of a data import or transformation process, there may be constraints imposed during the data import process that limit the input to fewer than 4000 characters.

  • If using a Data Transformation or Import Set, review the field mappings and transformation rules.

 

Mark it helpful and accept solution, If this helps you to understand.

Thanks!

- Carlos Petrucio