From 3cda76c30f257e38129c5b3be296a5559a9ea5ff Mon Sep 17 00:00:00 2001 From: ajacksoncodat <149416859+ajacksoncodat@users.noreply.github.com> Date: Wed, 20 Nov 2024 16:21:12 +0000 Subject: [PATCH 1/3] blog post onconnectionstarted --- blog/241120-onconnectionstarted-.md | 28 +++++++++++++++++++++++ static/img/link/integration_selection.png | 3 +++ 2 files changed, 31 insertions(+) create mode 100644 blog/241120-onconnectionstarted-.md create mode 100644 static/img/link/integration_selection.png diff --git a/blog/241120-onconnectionstarted-.md b/blog/241120-onconnectionstarted-.md new file mode 100644 index 000000000..9c322634e --- /dev/null +++ b/blog/241120-onconnectionstarted-.md @@ -0,0 +1,28 @@ +--- +title: "2024-11-20: `onConnectionStarted` callback added to Link SDK" +date: "2024-11-20" +tags: ["Product", "Update"] +authors: ajacksoncodat +--- + +We have added to the callback functionality of the Link SDK. The `onConnectionStarted` callback will pass a `connectionId` to the SDK component. + + + +## What's new? + +When a user selects an integration (clicks "Next") in the Link SDK, the `onConnectionStarted` callback will pass a `connectionId` to the SDK component. + +![Integration Selection](/img/link/integration_selection.png) + +This indicates a connection has been successfully created in a pending state, allowing you to track users reaching this point in the link flow. By calling [get /{connectionId}](https://docs.codat.io/platform-api#/operations/get-connection) you can identify which integration was selected. + +## Who is this relevant for? + +All clients using Link SDK. + +## How to get started? + +To implement Link SDK see [Get started with Link SDK](https://docs.codat.io/auth-flow/authorize-embedded-link). + +If you are already using Link SDK, add this callback into your component. See [Use callback functions](https://docs.codat.io/auth-flow/authorize-embedded-link). \ No newline at end of file diff --git a/static/img/link/integration_selection.png b/static/img/link/integration_selection.png new file mode 100644 index 000000000..29cee8c6d --- /dev/null +++ b/static/img/link/integration_selection.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b12dffb5896687f9c0401123edecb3bc3890785830e5450a86512e38884c689 +size 59889 From 3a48a69da5815775d6d55279eca2c9ce8ea36b31 Mon Sep 17 00:00:00 2001 From: ajacksoncodat <149416859+ajacksoncodat@users.noreply.github.com> Date: Thu, 21 Nov 2024 12:33:40 +0000 Subject: [PATCH 2/3] updates --- ...20-onconnectionstarted-.md => 241120-onconnectionstarted.md} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename blog/{241120-onconnectionstarted-.md => 241120-onconnectionstarted.md} (86%) diff --git a/blog/241120-onconnectionstarted-.md b/blog/241120-onconnectionstarted.md similarity index 86% rename from blog/241120-onconnectionstarted-.md rename to blog/241120-onconnectionstarted.md index 9c322634e..0bb3c2875 100644 --- a/blog/241120-onconnectionstarted-.md +++ b/blog/241120-onconnectionstarted.md @@ -15,7 +15,7 @@ When a user selects an integration (clicks "Next") in the Link SDK, the `onConne ![Integration Selection](/img/link/integration_selection.png) -This indicates a connection has been successfully created in a pending state, allowing you to track users reaching this point in the link flow. By calling [get /{connectionId}](https://docs.codat.io/platform-api#/operations/get-connection) you can identify which integration was selected. +This indicates a connection has been successfully created in a pending state, allowing you to track users reaching this point in the link flow. By calling [Get connection](https://docs.codat.io/platform-api#/operations/get-connection) you can identify which integration was selected. ## Who is this relevant for? From ec0577697a8a75015d17b5bb0b7834a555f8b0cf Mon Sep 17 00:00:00 2001 From: Max Clayton Clowes Date: Fri, 22 Nov 2024 11:13:14 +0000 Subject: [PATCH 3/3] Update blog/241120-onconnectionstarted.md --- blog/241120-onconnectionstarted.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/241120-onconnectionstarted.md b/blog/241120-onconnectionstarted.md index 0bb3c2875..f4b58842c 100644 --- a/blog/241120-onconnectionstarted.md +++ b/blog/241120-onconnectionstarted.md @@ -5,7 +5,7 @@ tags: ["Product", "Update"] authors: ajacksoncodat --- -We have added to the callback functionality of the Link SDK. The `onConnectionStarted` callback will pass a `connectionId` to the SDK component. +We have added to the callback functionality of the Link SDK. The `onConnectionStarted` prop allows you to provide a callback function to the SDK component. This function will be called with a Connection argument, including its`connectionId`.