Using CRM Alternate Key(s) for Lookup Purpose in SSIS

16 May 2016
Daniel Cai

CRM 2015 Update 1 introduced the Alternate Key feature which can be used for Update and Upsert function as an alternative way to identify a CRM record in addition to the primary key. However there is one more scenario that this feature can be useful as well, but may have been overlooked, which is to use the Alternate Key for lookup purposes. In this blog post, I will show you how we have enabled this feature in our most recent SSIS Integration Toolkit v7.1 release for Microsoft Dynamics CRM.

To enable this feature for lookup purposes, we have done some small UI changes to our Text Lookup configuration window. We now offer a Lookup Method column in the configuration window which contains a total of 4 options,

  • Primary Field
  • Manually Specify
  • Alternate Key
  • <Opt Out>

Out of the 4 options, Alternate Key is the new option that we just added in our v7.1 release of SSIS Integration Toolkit for Microsoft Dynamics CRM. Using this option, you would need to choose an Alternate Key defined by the lookup entity in the "Target text/integer field" column. Note that the input value of the working lookup field will be used as the input of the first field defined in the selected Alternate Key when the lookup is performed.

If the chosen Alternate Key contains more than one field in its definition, you will see that a "Secondary lookup field" column becomes available in the grid, which allows you to specify its input from the upstream source component that will be used as the input for the secondary field. The following is a screenshot of an Alternate Key lookup configuration that uses a combination of two fields.

Text Lookup ScreenshotHaving the support of CRM Alternate Keys opens up a lot of possibilities, particularly it enables an integration scenario where you want to use more than one key field for lookup purpose. This could not have been easily achieved in previous releases.

We are excited about the possibilities that this feature opens up, and I hope you find it useful.

Archive

December 2024 1 November 2024 3 October 2024 1 September 2024 1 August 2024 2 July 2024 1 June 2024 1 May 2024 1 April 2024 2 March 2024 2 February 2024 2 January 2024 2 December 2023 1 November 2023 1 October 2023 2 August 2023 1 July 2023 2 June 2023 1 May 2023 2 April 2023 1 March 2023 1 February 2023 1 January 2023 2 December 2022 1 November 2022 2 October 2022 2 September 2022 2 August 2022 2 July 2022 3 June 2022 2 May 2022 2 April 2022 3 March 2022 2 February 2022 1 January 2022 2 December 2021 1 October 2021 1 September 2021 2 August 2021 2 July 2021 2 June 2021 1 May 2021 1 April 2021 2 March 2021 2 February 2021 2 January 2021 2 December 2020 2 November 2020 4 October 2020 1 September 2020 3 August 2020 2 July 2020 1 June 2020 2 May 2020 1 April 2020 1 March 2020 1 February 2020 1 January 2020 1 December 2019 1 November 2019 1 October 2019 1 May 2019 1 February 2019 1 December 2018 2 November 2018 1 October 2018 4 September 2018 1 August 2018 1 July 2018 1 June 2018 3 April 2018 3 March 2018 3 February 2018 3 January 2018 2 December 2017 1 April 2017 1 March 2017 7 December 2016 1 November 2016 2 October 2016 1 September 2016 4 August 2016 1 June 2016 1 May 2016 3 April 2016 1 August 2015 1 April 2015 10 August 2014 1 July 2014 1 June 2014 2 May 2014 2 February 2014 1 January 2014 2 October 2013 1 September 2013 2 August 2013 2 June 2013 5 May 2013 2 March 2013 1 February 2013 1 January 2013 1 December 2012 2 November 2012 2 September 2012 2 July 2012 1 May 2012 3 April 2012 2 March 2012 2 January 2012 1

Tags