fiogf49gjkf0d You will need to write data into SLX using the SalesLogix OLEDB Provider.
If your Lead Capture page is hosted on the Same Server as your SLX Web Site, that means that you would already have all components installed, and may not have a need for a Web Service, just write the code to post the lead into the DB.
If your Lead Capture page is external, then yes you would need some sort of Web Service (although even a Page where you post the data would do).
From the Server side code, all you would need to do is create 2 records:
LEAD and LEAD_ADDRESS
Just use the OleDB objects from the .Net Libraries and connect to the DB using a SalesLogix connection string.
There are several articles on this forum as to how to build the Connection String and how to Generate IDs for new records.
As always, you would need to ensure you know which fields are required (or FKs) and where to get those values from (e.g. Owner, Account Manager, Address Description, Address Type, Create User)
|