Canvas Apps

Upgrading to the new CDS connector

The new CDS connector offers several benefits like:

  1. Significant speed gains
  2. Increased reliability
  3. Access to Common Data Service views and File and Image field attributes
  4. Entities suggestion for CDS
  5. Enhanced data source selection

Apps created prior to November 2019 would still be using the old CDS connector. To switch to the new connector, the steps are as follows:

  1. Remove all your CDS data connections
  2. Turn on the "Improve data source experience and Common Data Service views" setting
  3. Save your app

However, step 2 isn't that straightforward. When you try to turn on that setting, you get the following error:

Error while upgrading to the new CDS connector (click to enlarge)

It seems like you are trapped in a loop - to enable the setting you want to, it tells you to, well, enable that setting!!!

To get past this, you need to follow these steps:

  • Turn on the "Relational Data, option sets, and other new features for CDS" setting (under Deprecated Features)

Enable a deprecated feature (click to enlarge)

  • Turn on the "Use column display names" (under Preview Features)

Enable a preview feature (click to enlarge)

With these two settings turned on, you will now be able to turn on the "Improve data source experience and Common Data Service views" setting,

Enabling the new CDS connector

With this setting enabled, you will be all set to enjoy all the features of the new CDS connector!

Have fun! Get addicted!

1 thought on “Upgrading to the new CDS connector”

Leave a Reply