Duplicate an entity instead of recreating one from scratch

Last post 09-03-2008 12:22 PM by Wes Weeks. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-01-2008 11:02 AM

    Duplicate an entity instead of recreating one from scratch

    I'd like to duplicate a contact entity and just give it a new name 
    (souscripteur) but want to keep the contact entity intact. Is there a way to 
    duplicate without having to recreate a new entity with almost identical 
    fields, tab and relationship?
  • 09-03-2008 12:22 PM In reply to

    Re: Duplicate an entity instead of recreating one from scratch

    There isn't a copy entity function per se.  You could export the contact entity and edit the configuration xml by hand to create something nearly identical but there are a few relationships/fields you wont'be be able to include (like customer) because they are system entities and not enabled for use by custom entities. The contact entity is also linked to many other entities in the system which may make this undesireable when you try to create your custom entity.

    Normally, this is not a recommended approach.  Usually if a client needs to create a segregated list we use something like Customer Type code and then adjust the views and filters to show them appropriately so it is only displaying one type.  There are other approaches as well depending on the need.

Page 1 of 1 (2 items)