« Trusted Sites for Microsoft Dynamics CRM 2011 Online | Main | Which Fields Synch from CRM to Outlook Contacts? »

May 29, 2012

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00e54fb34b6f8833016305ccbfe7970d

Listed below are links to weblogs that reference Transform Multi-Select / Delimited fields into CRM Many-To-Many Relationships.:

Comments

Ian Smith

Looks good Scott,

I was in the process of implementing this very functionality as a proof-of-concept for a prospective client, so this is timely and relevant for me.

Question - upon producing the many-to-many pairs, could you recommend an approach to get that info into CRM Online records with Scribe or SSIS? I imagine there's a way to code for the creation of the needed N:N records programmatically as opposed to using Scribe or SSIS (in the cloud) to create the records...

My application is pulling the comma-delimited values from a web form, so I'm having to process this all on-the-fly as the web form data is processed into CRM (i.e., it's not a data migration from SalesForce and I wasn't planning on having to use Scribe or SSIS).

Scott Sewell

Hi Ian -

I have used both Scribe and SSIS for creating the N:N records - it's actually rather simple - it's just another entity in the system, albeit one with no form and effectively 2 fields plus an ID.
(Just be mindful that it does not allow duplicate relationships - which makes sense - so avoid the errors by avoiding attempting to insert dupe N:N records.)

If you're not planning on using SSIS or Scribe, here's an example of creating them programmatically.
http://msdn.microsoft.com/en-us/library/gg509062.aspx#BKMK_CreateNNEntityRelationship

Saram

Hi Scott,

I am using Scribe Insight to pull data from salesforce in to a SQL Server DB and I need to do take data from a multi-picklist in Salesforce and put it into a child table in SQL Server. It sounds like your solution would work great, but I am a little confused about where the SQL script would run. I know Scribe lets you run a SQL script on the connection either before or after the job is run. Is this where you would place the script you provided? If you could provide a little more specific info about how you used this script with Scribe, I think it would clear things up for me.

Thanks,
Sara M.

Scott Sewell

Sara - In cases where I need to perform transforms on datasets of any size using Scribe, I'll push the some or all of the data from SFDC to an staging table in a local SQL database, then perform the transformation in SQL. Finally, I take the results and upload them into CRM from SQL (via Scribe.) - Scott.

Saram

Thanks Scott for the response. That makes a lot of sense. It is not quite the answer I was hoping for, but it does make sense.

--Sara

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Comments are moderated, and will not appear until the author has approved them.

Search The Blog

  • Search the Blog

Twitter Updates

    follow me on Twitter