What is the best way to export device tokens and relevant device details of Mobile App subscribers from Legacy system to ACS for history migration purpose? | Community
Skip to main content
Level 3
August 25, 2021
Solved

What is the best way to export device tokens and relevant device details of Mobile App subscribers from Legacy system to ACS for history migration purpose?

  • August 25, 2021
  • 1 reply
  • 3057 views

What is the best way to export device tokens and relevant device details of Mobile App subscribers from Legacy system to ACS for history migration purpose to send them Push Notifications?

 

- Campaign Workflows ?

- SDKs/APIs ?

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 dsmims

Hey,

 

I'd say via the SDKs would be the easiest/cleanest (& potentially best).

 

But if you can't, I have managed to do it at some point from a file import to ACS with tokens, Name of the App & Platform (ios, android) + any other data required (if you extended the appsubrcp resource).

 

In terms of loading the data, its kind of a 2 step process:

 

1. Load data to the AppSubRCP, need to do a enrichment of data linking the incoming data to existing Apps (using the value in your file & @2175539 in Mobile Applications, that way you can update the mobileApp link). I also loaded the first 10 Characters of the token to the marketingcloudID field.

 

2.At the same time, load the same data to the PushNotificationStatus resource (just token & marketing cloudID). Similar to point 1, I loaded the first 10 Characters of the token to the marketingcloudID field.


Point 2 seems to be needed, otherwise you cant' actually view or see the appsubrcp data.

 

Cheers,

Don 

1 reply

dsmimsAccepted solution
Level 2
September 9, 2021

Hey,

 

I'd say via the SDKs would be the easiest/cleanest (& potentially best).

 

But if you can't, I have managed to do it at some point from a file import to ACS with tokens, Name of the App & Platform (ios, android) + any other data required (if you extended the appsubrcp resource).

 

In terms of loading the data, its kind of a 2 step process:

 

1. Load data to the AppSubRCP, need to do a enrichment of data linking the incoming data to existing Apps (using the value in your file & @2175539 in Mobile Applications, that way you can update the mobileApp link). I also loaded the first 10 Characters of the token to the marketingcloudID field.

 

2.At the same time, load the same data to the PushNotificationStatus resource (just token & marketing cloudID). Similar to point 1, I loaded the first 10 Characters of the token to the marketingcloudID field.


Point 2 seems to be needed, otherwise you cant' actually view or see the appsubrcp data.

 

Cheers,

Don 

AKP3Author
Level 3
September 9, 2021

Hi Don,

 

Very helpful. Thanks so much for this! The workflow approach worked the way you mentioned. I have one follow up question though.. you have mentioned using first 10 Characters of the token to the marketing cloud ID field. Is the marketing cloud id field are separate for each separate Push ID / tokens / device tokens? Or this marketing cloud id is separate for each Mobile App / Property? Is the first 10 character of the device / registration token right value for marketing cloud id?

 

Regarding your comment on the clean way to do this is SDK - Any steps or pointers how this can be accomplished for batch execution of many registration tokens to import them to ACS will be helpful?

Level 2
September 9, 2021

Awesome, glad to hear it worked for you 🙂 

 

So the first 10 characters was a just a random number I chose to hopefully always have a unique value in this field (a bit like what a real marketing cloud id would be). Yes, that value is separate/unique for each registration token, usually this would come via the SDK so a genuine value is assigned by the Adobe Experience Cloud.

 

In general it isn't that actual value that would traditionally go here, it was in the end, the only way I could get all the steps from loading data, viewing it, selecting it & eventually sending push messages to work.

 

For loading via the SDK, I haven't managed to do this as in the end we were just being given a file to load. 

 

Cheers,

Don