on 09-21-2015 12:17 PM
Hello All,
Need your help for Conversion File.
Can we maintain multiple conditions for single dimension in conversion file?
For Example:
For Cost Center dimension can we assign the prefix as well as change from '-' to '_'?
External Internal Formula
*-* js:%external%split("-").join("_")
* CC_*
I have maintained the following conversion file whereas after the completion of DMP, the first condition was executed and not with the second condition. Please advice on how we can achieve the both condition through conversion file.
Thank You.
It's absolutely easy to combine both in the same line!
External Internal
* js:"CC_"+%external%.toString().replace(/-/g,"_")
Please, read some javascript tutorial!
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
16 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.