Lead Convert Attachment Multiple Not converted

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • start5623
    Junior Member
    • Oct 2016
    • 10

    Lead Convert Attachment Multiple Not converted

    Hi,

    I have created custom fields for "Lead" and "Opportunity" entities and when I convert "Lead" to "Opportunity" all data got converted expect "Attachment Multiple" field. I have tried "image" field and it can be converted successfully without issues. The only issue is with "Attachment Multiple".

    I have tried to add "Custom field of the Attachment Name" under "convertFields" parameter in /application/Espo/Modules/Crm/Resources/metadata/entityDefs/Lead.json

    Code:
        "convertFields": {
            "Contact": {
            },
            
    [COLOR=#FF0000][B]        "leadFiles": {
             },[/B][/COLOR]
    
            "Account": {
    
                "billingAddressStreet": "addressStreet",
                "billingAddressCity": "addressCity",
                "billingAddressState": "addressState",
                "billingAddressPostalCode": "addressPostalCode",
                "billingAddressCountry": "addressCountry"
            },



    but still not working!

    Could you tell me where to fix this to get it working?


    Thank you
    Last edited by start5623; 10-20-2016, 11:36 PM.
  • yuri
    Member
    • Mar 2014
    • 8492

    #2
    Hi,

    We will look. Thanks.
    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

    • tanya
      Senior Member
      • Jun 2014
      • 4308

      #3
      hi
      leadFiles is not in correct section
      try this
      Code:
       "convertFields": {
              "Contact": {
              },
              "Account": {
                  "name": "accountName",
                  "billingAddressStreet": "addressStreet",
                  "billingAddressCity": "addressCity",
                  "billingAddressState": "addressState",
                  "billingAddressPostalCode": "addressPostalCode",
                  "billingAddressCountry": "addressCountry"
              },
              "Opportunity": {
                  "amount": "opportunityAmount",
                  "leadSource": "source",
                  "leadFiles": "leadFiles"
              }
          },

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        But yes, files weren't copied

        Comment

        • start5623
          Junior Member
          • Oct 2016
          • 10

          #5
          Any updates regarding converting Attachment Multiple??

          Comment

          • tanya
            Senior Member
            • Jun 2014
            • 4308

            #6
            not yet

            Comment

            Working...