HI experts
I am facing a small issue which I thought would be straight forward. I have a property field being updated from an attribute of BW info object. Here I want to apply two conversions simultaneously, one for removing the spaces and other for replacing “-“ with “_”.
I have written following conversion file for this:
EXTERNAL | INTERNAL |
* | js:%external%.toString().replace(/\s+/g,"") |
* | js:%external%.replace("-","_") |
And the transformation has Convert_Internal = NO
But it seems only the first condition is working and the second one is ignored.
Is there any way to use both the conversions work on same field. I tried to create two tabs in conversion file and direct the conversion from transformation file twice for both the conditions but only first one worked here too.
Thanks
-SM