2 questions about database-table target and entity TargetList ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ctheuring
    Senior Member
    • Oct 2022
    • 138

    2 questions about database-table target and entity TargetList ?

    question 1:
    what is the sense of the database-table target
    question 2:
    why is it not allowed to import into entity TargetList (not in selection-box in import)?

    Christoph
  • rabii
    Active Community Member
    • Jun 2016
    • 1250

    #2
    The entity TargetList (TargetList table) is used for email campaign. it allows you to create a targetlist of different records from different related entities. imagine you have an email you want to send via a campaign to (Leads - Contacts & Accounts) then you need to create a target list and start to assign leads - contacts and accounts to it. Then create you email marketing campaign and choose the created targetList and the system will send an email to all leads - contacts - accounts from the targetList.

    There is no point in uploading / importing targetList as it doesn't make sense.
    Rabii
    Web Dev

    Comment

    • yuri
      Member
      • Mar 2014
      • 8440

      #3
      The Target entity was available in very first releases and disabled right afterwards. It's a legacy.

      > There is no point in uploading / importing targetList as it doesn't make sense.

      Correct. If we had it enabled, users would often confuse trying to import targets through the target list entity. It's possible to import accounts, contacts, leads to a specific target list.
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      • ctheuring
        Senior Member
        • Oct 2022
        • 138

        #4
        hello rabii,

        why you mean, that importing into TargetList doesn't make sense? May be for you, but I want to import 300 TargetLists from an old CMS-System - for historical reasons. I didn't want to import the assigned contacts too, only the number of contacts. This make sense for me.
        Can I unlock the "forbidden" import (via code)? After importing I can look it again.
        Can I import my old TargetLists into the database-table (include generating the IDs with ID = util\generateId();​) with a database-manager without damaging anything?

        Is it possible to use it not only for the export of email-adresses (newsletter, mass-email) also using it for exporting the address as csv oder pdf to send i.o. an invitation or a giveaway?

        thanks for your time

        Christoph
        Last edited by ctheuring; 10-26-2023, 03:31 PM.

        Comment

        • rabii
          Active Community Member
          • Jun 2016
          • 1250

          #5
          The reason i said that is because the tragetList doesn't have much just a name and a description. i was just explaining from my point of view why the developer made it that way. i think you could do something in code and reverse it.
          Rabii
          Web Dev

          Comment

          • yuri
            Member
            • Mar 2014
            • 8440

            #6
            Create custom/Espo/Custom/Resources/metadata/scopes/TargetList.json

            Code:
            {
                "importable": true
            }
            Clear cache.

            Then you will be able to import Target Lists.
            If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

            Comment

            • ctheuring
              Senior Member
              • Oct 2022
              • 138

              #7
              Thank you yuri,
              I understand your reservation because of possibily user-mistaktes.
              I promise to change it back until my import has done (it would be changed back also with the next update - or not?)

              Christoph

              Comment

              • yuri
                Member
                • Mar 2014
                • 8440

                #8
                You can leave it there. Changes made in the custom are not overwritten up updates.
                If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

                Comment

                Working...