How to update empty value in transform maps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2024 03:10 PM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2024 04:51 PM
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.
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2024 06:08 PM - edited 09-17-2024 07:05 PM
@AnveshKumar M yes, the XML shows blank space