Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Deleting custom target mappings including all generated schemas

David__Garcia
Level 8
Level 8

Hi All,

 

I've created a custom target mapping for the purpose of contacting a custom recipient schema, that generated new schemas for tracking, exclusions, broadlog, appsubscriptions etc.

 

What would be the correct approach to delete the target mapping and everything linked to it?

 

I've tried deleting the target mapping and it wont let me as it says there is a delivery linked to it, I then tried to delete the delivery and the error states that there is a target mapping referencing it, how do you get out of this loop?

ACC Target target mappings
1 Accepted Solution
DavidKangni
Correct answer by
Community Advisor
Community Advisor

Hi David, 

I had this issue and there is not a straightforward way to delete it.

What I've done is:

  • delete all deliveries that are using the target mapping
  • delete the global delivery tied to the target mapping
  • empty the default traffic source in the storage Tab (see screenshot below) and save 
  • delete the target mapping
  • delete the schemas created (tracking, broadlog, etc)

You may have some errors when deleting the deliveries but you can find them based on the ids in the error message. Make sure you delete them also from delete deliveries folder.

DavidKangni_0-1611327379157.png

 

Hope that helps

Thanks,

David

View solution in original post

7 Replies
Manoj_Kumar_
Community Advisor
Community Advisor

Hello @David__Garcia 

 

Have you created custom schemas for this target mapping by linking them?

 

If yes, then you should be looking at the revIntegrity attribute.

You can find more details here:

https://experienceleague.adobe.com/docs/campaign-classic/using/configuring-campaign-classic/schema-r...

 

Thanks,

Manoj

David__Garcia
Level 8
Level 8

Hey Manoj, I added the revintegrity and set it to neutral on the link frmo the custom table to recipient but didnt make any difference.

DavidKangni
Correct answer by
Community Advisor
Community Advisor

Hi David, 

I had this issue and there is not a straightforward way to delete it.

What I've done is:

  • delete all deliveries that are using the target mapping
  • delete the global delivery tied to the target mapping
  • empty the default traffic source in the storage Tab (see screenshot below) and save 
  • delete the target mapping
  • delete the schemas created (tracking, broadlog, etc)

You may have some errors when deleting the deliveries but you can find them based on the ids in the error message. Make sure you delete them also from delete deliveries folder.

DavidKangni_0-1611327379157.png

 

Hope that helps

Thanks,

David

View solution in original post

David__Garcia
Level 8
Level 8
It wont let me delete the delivery because is referenced by target mapping, it wont let me delete the target mapping because is referenced by the delivery,
DavidKangni
Community Advisor
Community Advisor
I did it several times. I can try on my sandbox tomorrow and let you know the correct steps.
adithyacs86
Level 5
Level 5

Hi @David__Garcia , 

 

May be at first you might have to consider deleting the tracking logs data of the deliveries that are sent.

Like :- trackingRCP data , and then tracking log tables, which are actually linked to the deliveries, and then deleting the deliveries would work ,  but need to make sure the deletion is happening in the correct sequence otherwise the tracking and the data clean up workflow (OOTB workflows) would start to fail. 

Please check with Adobe for more details. 

 

Thanks,
Adithya

 

Sukrity_Wadhwa
Employee
Employee

Hi @David__Garcia,

Were you able to resolve this query with any of the given solutions or do you still need more help here? Do let us know.

Thanks!