is it possible to add CRM ID to pushNotificaiton Details or query the push token | Community
Skip to main content
Level 6
August 14, 2024
Solved

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

  • August 14, 2024
  • 1 reply
  • 523 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by RiteshY18

for the 1st one 

- consider using Object in schema 

- no one profile would /should have one CRM id

 

1 reply

RiteshY18
Community Advisor
RiteshY18Community AdvisorAccepted solution
Community Advisor
August 22, 2024

for the 1st one 

- consider using Object in schema 

- no one profile would /should have one CRM id