My Oracle Support Banner

Newline/Line Breaker in SetLargeTextValue Method Does Not Work (Doc ID 2891976.1)

Last updated on AUGUST 30, 2022

Applies to:

Oracle Agile Product Collaboration - Version 9.3.5.0 and later
Information in this document applies to any platform.

Symptoms

Text field shows values in a single line instead of multiple lines. Those values were output by PX using Object.setLargeTextValue(Largetext, DaysoftheWeek);

 

Steps to reproduce
1) Add Largetext Field to an Object
2) Write PX Code to do the following

String DaysoftheWeek;
DaysoftheWeek = 'Sunday ' + "\n';
DaysoftheWeek = DaysoftheWeek + 'Monday ' + "\n';
DaysoftheWeek = DaysoftheWeek + 'Tuesday' + "\n';
DaysoftheWeek = DaysoftheWeek + 'Wednesday' + "\n';
DaysoftheWeek = DaysoftheWeek + 'Thursday' + "\n';
DaysoftheWeek = DaysoftheWeek + 'Friday' + "\n';
DaysoftheWeek = DaysoftheWeek + 'Saturday' + "\n';

Object.setLargeTextValue(Largetext, DaysoftheWeek);

Expect result is
Sunday
Monday
Tuesday
etc...

Actual Result is
Sunday Monday Tuesday etc...

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.