Expand my Community achievements bar.

SOLVED

is it possible to add CRM ID to pushNotificaiton Details or query the push token

Avatar

Level 7

The push notification token/dataset looks like this: 

  "pushNotificationDetails": [
    {
      "denylisted": false,
      "token": "CAOUJOSDAFR12309172309",
      "identity": {
        "namespace": {
          "code": "ECID"
        },
        "id": "123456"
      },
      "platform": "apns",
      "appID": "com.tenant"
    }

 I am wondering

1) Is it possible to add our CRM ID somewhere into the namespace or the object so that we know what CRM ID this ECID belongs to? It is possible that there are multiple CRM IDs/online logins in the same profile

2) How can I fetch/query the token in real-time? Looks like the push token doesn't get stored in any dataset/datalake as far I can see, not even the "Push Profile dataset". As far as I understand, it comes from the AEP Mobile SDK directly into the profile, is there anyway I can query the profile in real-time, I would like to add the CRM ID through a query if possible.

 

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Level 8

for the 1st one 

- consider using Object in schema 

- no one profile would /should have one CRM id

 

View solution in original post

1 Reply

Avatar

Correct answer by
Level 8

for the 1st one 

- consider using Object in schema 

- no one profile would /should have one CRM id