Hi,
I'm capturing a CollectPii call from the (AEP) Mobile SDK in Experience Platform Data Collection. In the rule I use a Modify Data action to transform the context data from the call into an XDM for AEP.
In the input context some fields may be missing, so I did set up default values for those data elements that might be missing.
However in the generated XDM schema, the default values are not taken into account:
e.g. snippet from the modify data JSON:
"xdm": {
"person": {
"name": {
"lastName": "{%%pii_lastname%%}",
"firstName": "{%%pii_firstname%%}"
}
},...
data element "pii_firstname" set up as a Context data field matching "firstname", default value set to "-"
Griffon log (no firstname field in contextdata):
"contextdata": { "country": "Belgium", "lastname": "Test", "language": "be_nl",
...
"xdm": { "homeAddress": { "country": "Belgium" }, "preferredLanguage": "be-nl", "person": { "name": { "firstName": "", "lastName": "Test" } }
Anyone any idea if I did setup something wrong, or if I misinterpreted the "default" value processing?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @stefanm38281801,
Instead of setting default value to '-' can you try setting it to 'NA' or some other string but don't set special characters alone as default value.
Thanks,
Charles
Views
Replies
Total Likes
Hi @stefanm38281801,
Instead of setting default value to '-' can you try setting it to 'NA' or some other string but don't set special characters alone as default value.
Thanks,
Charles
Views
Replies
Total Likes
Hi Charles,
doesn't make any difference. default value is not picked up.
Stefan
Views
Replies
Total Likes
Did you get the solution?
Views
Replies
Total Likes
Nope
Views
Replies
Total Likes