How to update empty value in transform maps

pramodkumar
Tera Expert

Hi All,

We are using field level transform scripts in ldap transform maps to update business phone.

If the value is empty we are using return ""; or return ''; in script and this is making the business phone to have blank space. How to make business phone do not have blanks space when source is empty.

 

 

Thanks!

2 REPLIES 2

AnveshKumar M
Tera Sage
Tera Sage

Hello @pramodkumar,

 

The script is looking fine. Are you seeing the blank space for the business phone field in the XML (Right click on header and select Show XML)?

 

Have you checked 'Copy empty fields' attribute in the transform map?

 

Let me know if you still have issues.

 

Please mark my answer helpful 👍 and accept as a solution if it helped you.

 

Thanks,
Anvesh

@AnveshKumar M  yes, the XML shows blank space