Sage SalesLogix
  • Contact Us
  • Sage North America
800-643-6400
Welcome Twitter Facebook LinkedIn
Community Home Blogs Share Ideas Search Request Access Resources
Reply
Moderator
jperona
Posts: 232
Registered: 05-07-2008

Custom Import Leads - Example

[ Edited ]

An example of customizing the Web Import Lead to allow custom transformations for fields.  Example shows Owner and Account Manager assignment.

Contained in the zip file:

 

• C# project for Custom Transformation Provider
• Test Import Data CSV file.
• ImportConfigurations.xml (Currently, cannot be bundled in AA, must be modified in the VFS in Configuration/Global) (This configures the import to use the Custom Transformation Provider.)

 

    Changed:
       <TransformationProviderType>Sage.SalesLogix.Services.Import.ImportTransformationProvider, Sage.SalesLogix.Services.Import, Version=7.5.0.1100, Culture=neutral, PublicKeyToken=null</TransformationProviderType>


    To:
  <TransformationProviderType>Custom.Import.CustomTransformationProvider, Custom.Import</TransformationProviderType>


• Modified SmartPart ( StepProcessRequest.ascx.cs)

     Commented out one line that forces the Transformation Provider to the default.
• AA Bundle that added the SmartPart and CustomImport.dll to the correct  support file  locations


After setting this up correctly you then can see the new custom transformation in the Import Wizard UI  during the mapping step.


Here we mapped AccountManager to [Set Account Manager Name] and Team to [Set Owner By Name].

 

 

Message Edited by jperona on 08-02-2009 02:21 PM
Message Edited by jperona on 08-02-2009 02:25 PM
Message Edited by jperona on 08-02-2009 02:35 PM

John Perona

Director, SalesLogix Engineering

Sage SalesLogix

Sage

Please use plain text.
Gold Super Contributor
RJLedger
Posts: 2,234
Registered: 03-19-2009

Re: Custom Import Leads - Example

Excellent John!
--
RJ Ledger - rjledger@rjlSystems.net

".. Stay Focused..."
http://www.rjlSystems.net - blog: www.rjlSystems.net/blog.html
Please use plain text.
New Member
mdskils
Posts: 1
Registered: 10-30-2009

Re: Custom Import Leads - Example

Hi john,            Its nice and working good..... great john

 

Manish Dave

Salelogix Professional

 

Please use plain text.
Nickel Contributor
bfry24
Posts: 52
Registered: 01-25-2010

Re: Custom Import Leads - Example

Hello John,  This customization looks great.  The only problem I am having is that after it is imported as a lead, when I convert it to a contact, the owner field changes back to Everyone instead on the imported owner.  I looked at the SetProcessRequest.aspx.cs but was not sure what line was commented out.
Please use plain text.
New Member
michael9000
Posts: 1
Registered: 12-29-2010

Re: Custom Import Leads - Example

we have used this code since 7.5.1 and love it !

now, we are trying to upgrade to 7.5.3 and are getting an error:

it fails on record 1 with the error: Record Number 1: Error in calculated Transformation [Set Account Manager by Name] Source Field [Account Manager]

 

it appears to me that we need to change the CustomImport.dll in order to get it working in 753.

is it possible to get the source code for the dll so we can continue to use it?

 

Thanks,

Michael

 

Please use plain text.