cancel
Showing results for 
Search instead for 
Did you mean: 

Adding a new line using UDF

Former Member
0 Kudos

hi,

String lines;

lines = "";

lines = lines.concat(SupplierID[0] + '\n' + Supplier[0] + '\n' );

result.addValue(lines);

I have created the above UDF but when i Display the Queue i don't see the newline.

E.g. SupplierID[0] = "111111"

Supplier[0] = "XYZ"

Display Queue shows "111111XYZ".

Anything wrong with the UDF?

Thanks,

Tirumal

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

check:

lines = lines.concat(SupplierID[0] + '\n' + Supplier[0] + '\n' + ' ' );

and check the new line in the target message

(source message view)

and not in the queue

Regards,

michal

Former Member
0 Kudos

hi,

That worked.

Thanks,

Tirumal

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

glad to hear:)

thx Tirumal

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Answers (0)