Forcing Lower Case Values

marion33678522

04-06-2018

Hello Adobe Community,

I've been asked to force case every value from my datalayer with DTM.

Since we have many rules and data elements, I would like to know if there was plugin that could be used ?

Kind regards,

Mario

Accepted Solutions (1)

Accepted Solutions (1)

Gigazelle

Employee

12-11-2018

If you want to do it within DTM, you can simply make sure 'convert to lowercase' checkbox is checked on every rule.

If you want to do it outside of DTM, you'd want to implement a bit of custom code that would iterate through the data layer and convert everything to lowercase. This page on stackoverflow seemed to have a couple ideas on how to effectively accomplish that:

javascript - What's the best way (most efficient) to turn all the keys of an object to lower case? -...

Answers (0)