Delete attributes from native schema | Community
Skip to main content
wkt85768776
New Participant
November 29, 2017
Solved

Delete attributes from native schema

  • November 29, 2017
  • 17 replies
  • 13999 views

Hello, i would like to know if i can delete an attribute from a native schema of AdobeCampaign. I need to delete some but i dont know how does it will affect neolane or the DB. I will also need to know how to do it .

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 vraghav

To delete an existing attribute on factory schemas follow the steps outlined here

  • Extend the scehma
  • Define the same attribute again in this extended schema (name must match) and then define _operation="delete"
  • Save the schema and update database structure.

<attribute name="registrationToken" _operation="delete"/>

Should you do this?

I would not recommend it as you never know what can break in the system when deletion of an attribute happens.

Regards,
Vipul

17 replies

wkt85768776
New Participant
November 30, 2017

ok thank you

david--garcia
New Participant
November 30, 2017

There are hundreds of fields that are not used most of the time on Adobe Campaign and will probably never get populated, just ignore them. You may end up breaking some kind of relationship between tables or get errors on the console as these fields are referenced by input forms and other features.

wkt85768776
New Participant
November 30, 2017

i dont need them in my new instance for now. thats why i want to delete them.

david--garcia
New Participant
November 30, 2017

Why do you need to delete it? this is required for push notifications to work.

wkt85768776
New Participant
November 30, 2017

im trying to delete some attributes of mobile app in a native schema, but i cant achieve that.

i tried to use  <attribute name="registrationToken" _operation="delete"/>  but i cant update in the DB

david--garcia
New Participant
November 30, 2017

I support Vipuls approach.

@OP what are you trying to achieve by deleting OOTB attributes?

vraghav
vraghavAccepted solution
Employee
November 29, 2017

To delete an existing attribute on factory schemas follow the steps outlined here

  • Extend the scehma
  • Define the same attribute again in this extended schema (name must match) and then define _operation="delete"
  • Save the schema and update database structure.

<attribute name="registrationToken" _operation="delete"/>

Should you do this?

I would not recommend it as you never know what can break in the system when deletion of an attribute happens.

Regards,
Vipul