Transform Map - Convert To Uppercase

arobertson
Tera Guru

Hi All,

 

I'm trying to take my source value and save it as uppercase in the target field. I have the below code, which seems to be doing nothing at the moment.

 

target.u_hard_disk__gb_ = source.u_hard_disk__gb_.toUpperCase();

 

Regards,

1 ACCEPTED SOLUTION

bashashaik
Giga Contributor

Hi Alex,



Try this



answer = source. u_hard_disk__gb_.toUpperCase();



Thanks,


Basha


View solution in original post

5 REPLIES 5

Hi , i am trying to make Serial number(source) and save it as upper case in target but it give me undefined.

 

answer = (function transformEntry(source) {

answer = source.serial_number.toString().toUpperCase();

})(source);

 

Please help!!