<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Toni Petov</title>
    <description>The latest articles on DEV Community by Toni Petov (@tpetrov9).</description>
    <link>https://dev.to/tpetrov9</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F205272%2F9847157a-94a8-4ffa-9ae5-00b48c40b0e1.jpeg</url>
      <title>DEV Community: Toni Petov</title>
      <link>https://dev.to/tpetrov9</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tpetrov9"/>
    <language>en</language>
    <item>
      <title>Troubleshoot npm run setup SELF_SIGNED_CERT_IN_CHAIN, npm SSL, and E400 Errors in io.Connect Desktop v10</title>
      <dc:creator>Toni Petov</dc:creator>
      <pubDate>Fri, 04 Dec 2026 13:11:27 +0000</pubDate>
      <link>https://dev.to/interopio/troubleshoot-npm-run-setup-selfsignedcertinchain-npm-ssl-and-e400-errors-in-ioconnect-1663</link>
      <guid>https://dev.to/interopio/troubleshoot-npm-run-setup-selfsignedcertinchain-npm-ssl-and-e400-errors-in-ioconnect-1663</guid>
      <description>&lt;p&gt;Authors: &lt;strong&gt;&lt;a href="https://community.interop.io/u/bshopov/summary" rel="noopener noreferrer"&gt;Borislav Shopov&lt;/a&gt;&lt;/strong&gt;, &lt;strong&gt;&lt;a href="https://community.interop.io/u/bvalev/summary" rel="noopener noreferrer"&gt;Bogomil Valev&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;This guide explains how to troubleshoot and resolve network, proxy, and certificate errors (&lt;code&gt;SELF_SIGNED_CERT_IN_CHAIN&lt;/code&gt;, &lt;code&gt;UNABLE_TO_VERIFY_LEAF_SIGNATURE&lt;/code&gt;, &lt;code&gt;UNABLE_TO_GET_ISSUER_CERT_LOCALLY&lt;/code&gt;, &lt;code&gt;npm error code E400&lt;/code&gt;, &lt;code&gt;400 Bad Request&lt;/code&gt;, &lt;code&gt;403 Forbidden&lt;/code&gt;) during &lt;code&gt;npm run setup&lt;/code&gt; in the io.Connect Desktop v10 Seed Project.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;npm run setup&lt;/code&gt; executes in two distinct stages that fail for different reasons and require separate network/TLS handling:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Stage 1 (Component Download):&lt;/strong&gt; The &lt;code&gt;@interopio/iocd-cli&lt;/code&gt; downloads the platform binaries from GitHub releases using Node.js's built-in &lt;code&gt;fetch&lt;/code&gt;. Node.js does not read OS proxy/PAC settings automatically.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stage 2 (Dependency Installation):&lt;/strong&gt; The CLI spawns child processes to run &lt;code&gt;npm install&lt;/code&gt; inside each application under &lt;code&gt;apps/&lt;/code&gt;. npm has its own proxy and SSL validation behavior.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Quick Diagnostic Guide
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;What you see&lt;/th&gt;
&lt;th&gt;Stage&lt;/th&gt;
&lt;th&gt;Likely cause&lt;/th&gt;
&lt;th&gt;Go to&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;SELF_SIGNED_CERT_IN_CHAIN&lt;/code&gt;, &lt;code&gt;UNABLE_TO_VERIFY_LEAF_SIGNATURE&lt;/code&gt; or &lt;code&gt;UNABLE_TO_GET_ISSUER_CERT_LOCALLY&lt;/code&gt; during component download&lt;/td&gt;
&lt;td&gt;Stage 1&lt;/td&gt;
&lt;td&gt;Node.js does not trust the corporate proxy's re-signed CA certificate&lt;/td&gt;
&lt;td&gt;Step 2: Configure Proxy and CA Trust&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;TypeError: fetch failed&lt;/code&gt; and no proxy mentioned in the CLI log&lt;/td&gt;
&lt;td&gt;Stage 1&lt;/td&gt;
&lt;td&gt;Proxy environment variables are not set, or the CLI is outdated (&amp;lt; &lt;code&gt;0.0.54&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;Step 1 and Step 2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SSL/certificate errors during &lt;code&gt;npm install&lt;/code&gt;, after Node is configured&lt;/td&gt;
&lt;td&gt;Stage 2&lt;/td&gt;
&lt;td&gt;npm needs the CA/proxy environment inherited correctly, or temporary SSL relaxation&lt;/td&gt;
&lt;td&gt;Step 3: Configure npm SSL Settings&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;npm error code E400&lt;/code&gt; / &lt;code&gt;400 Bad Request&lt;/code&gt; on &lt;code&gt;@interopio/*&lt;/code&gt; packages&lt;/td&gt;
&lt;td&gt;Stage 2&lt;/td&gt;
&lt;td&gt;Corporate proxy mangles URL-encoded slash (&lt;code&gt;%2f&lt;/code&gt;) or registry mirror does not proxy the scope&lt;/td&gt;
&lt;td&gt;Steps 4 and 5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;403 Forbidden&lt;/code&gt; mentioning rate limits&lt;/td&gt;
&lt;td&gt;Stage 1&lt;/td&gt;
&lt;td&gt;Shared corporate egress IP exceeded GitHub's unauthenticated limit&lt;/td&gt;
&lt;td&gt;Extra cases: GitHub Rate Limits&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Execution stops or appears silent for minutes&lt;/td&gt;
&lt;td&gt;Any&lt;/td&gt;
&lt;td&gt;Component download retries or captured &lt;code&gt;npm install&lt;/code&gt; output&lt;/td&gt;
&lt;td&gt;Extra cases: Log Files and Diagnostics&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;No external GitHub access&lt;/td&gt;
&lt;td&gt;Stage 1&lt;/td&gt;
&lt;td&gt;Organization blocks direct access to GitHub releases&lt;/td&gt;
&lt;td&gt;Extra cases: Air-Gapped and Offline Environments&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Which of the three certificate codes you get depends on whether the proxy sends an intermediate; all three mean the same thing here.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Applies to
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Product:&lt;/strong&gt; io.Connect Desktop v10 Seed Project (&lt;code&gt;@interopio/iocd-cli&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CLI boundary:&lt;/strong&gt; &lt;code&gt;@interopio/iocd-cli@0.0.54&lt;/code&gt; is the minimum version that reads proxy environment variables. Earlier versions attempt direct connections because those variables are not read by the CLI.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Node.js:&lt;/strong&gt; v22.13.0 or later, the minimum declared by CLI 2.2.0. &lt;code&gt;--use-system-ca&lt;/code&gt; needs v22.15.0 or later, which added it for every platform at once; on the 23.x line the equivalent is 23.9.0.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;npm:&lt;/strong&gt; v9.x or later, the CLI's stated minimum. Node 22 ships npm 10.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Corporate CA certificate:&lt;/strong&gt; PEM-encoded &lt;code&gt;.pem&lt;/code&gt; or &lt;code&gt;.crt&lt;/code&gt; file provided by your internal IT/Security team.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Verification reported in the Community source:&lt;/strong&gt; &lt;code&gt;@interopio/iocd-cli&lt;/code&gt; 1.0.1, 1.0.3 and 1.1.0 on Node 24.18 and npm 11.16 against an intercepting proxy with a private CA.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Resolution Steps
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Steps 1 and 2 are the whole fix on an ordinary corporate network. Run Step 6 to confirm, and use Steps 3 to 5 only if it still fails.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 1: Verify and Update the CLI Version
&lt;/h3&gt;

&lt;p&gt;Proxy support was added in &lt;code&gt;@interopio/iocd-cli@0.0.54&lt;/code&gt;. Earlier versions, including &lt;code&gt;0.0.52&lt;/code&gt; and &lt;code&gt;0.0.53&lt;/code&gt;, ignore proxy environment variables and attempt direct connections.&lt;/p&gt;

&lt;p&gt;Check your installed version and update if necessary:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx iocd --version
npm update @interopio/iocd-cli
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 2: Configure Proxy and CA Trust (Fixes Stage 1)
&lt;/h3&gt;

&lt;p&gt;Because Node's built-in &lt;code&gt;fetch&lt;/code&gt; ignores system PAC and OS proxy settings, explicitly export the proxy endpoints and configure CA trust.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;macOS / Linux (&lt;code&gt;~/.zshrc&lt;/code&gt; or &lt;code&gt;~/.bashrc&lt;/code&gt;):&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# 1. Define proxy endpoints&lt;/span&gt;
&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;HTTP_PROXY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"http://proxy.corp.example:8080"&lt;/span&gt;
&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;HTTPS_PROXY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"http://proxy.corp.example:8080"&lt;/span&gt;
&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;NO_PROXY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"localhost,127.0.0.1,.corp.example"&lt;/span&gt;
&lt;span class="c"&gt;# 2. Establish CA trust (Choose Option A or Option B)&lt;/span&gt;
&lt;span class="c"&gt;# Option A: Explicit corporate CA file in PEM format (recommended)&lt;/span&gt;
&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;NODE_EXTRA_CA_CERTS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"/path/to/corporate-ca.pem"&lt;/span&gt;
&lt;span class="c"&gt;# Option B: OS certificate store (Node 22.15.0+)&lt;/span&gt;
&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;NODE_OPTIONS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"--use-system-ca $NODE_OPTIONS"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Windows (PowerShell):&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$env&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="no"&gt;HTTP_PROXY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"http://proxy.corp.example:8080"&lt;/span&gt;
&lt;span class="nv"&gt;$env&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="no"&gt;HTTPS_PROXY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"http://proxy.corp.example:8080"&lt;/span&gt;
&lt;span class="nv"&gt;$env&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="no"&gt;NO_PROXY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"localhost,127.0.0.1,.corp.example"&lt;/span&gt;
&lt;span class="c1"&gt;# Option A: Explicit CA file (recommended)&lt;/span&gt;
&lt;span class="nv"&gt;$env&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="no"&gt;NODE_EXTRA_CA_CERTS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"C:\path\to\corporate-ca.pem"&lt;/span&gt;
&lt;span class="c1"&gt;# Option B: OS certificate store&lt;/span&gt;
&lt;span class="nv"&gt;$env&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="no"&gt;NODE_OPTIONS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"--use-system-ca $env:NODE_OPTIONS"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Windows (Command Prompt / persistent environment):&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight batchfile"&gt;&lt;code&gt;&lt;span class="k"&gt;set&lt;/span&gt; &lt;span class="no"&gt;HTTP_PROXY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;http&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;//&lt;/span&gt;&lt;span class="n"&gt;proxy&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;corp&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;8080&lt;/span&gt;
&lt;span class="k"&gt;set&lt;/span&gt; &lt;span class="no"&gt;HTTPS_PROXY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;http&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;//&lt;/span&gt;&lt;span class="n"&gt;proxy&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;corp&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;8080&lt;/span&gt;
&lt;span class="k"&gt;set&lt;/span&gt; &lt;span class="no"&gt;NO_PROXY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;localhost&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;127.0&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="mf"&gt;0.1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;corp&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;
&lt;span class="k"&gt;set&lt;/span&gt; &lt;span class="no"&gt;NODE_EXTRA_CA_CERTS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="no"&gt;C&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;\&lt;span class="n"&gt;path&lt;/span&gt;\&lt;span class="n"&gt;to&lt;/span&gt;\&lt;span class="n"&gt;corporate&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ca&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;pem&lt;/span&gt;
&lt;span class="k"&gt;REM&lt;/span&gt; &lt;span class="nc"&gt;Persist&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;future&lt;/span&gt; &lt;span class="n"&gt;sessions&lt;/span&gt;
&lt;span class="n"&gt;setx&lt;/span&gt; &lt;span class="no"&gt;HTTP_PROXY&lt;/span&gt; &lt;span class="s2"&gt;"http://proxy.corp.example:8080"&lt;/span&gt;
&lt;span class="n"&gt;setx&lt;/span&gt; &lt;span class="no"&gt;HTTPS_PROXY&lt;/span&gt; &lt;span class="s2"&gt;"http://proxy.corp.example:8080"&lt;/span&gt;
&lt;span class="n"&gt;setx&lt;/span&gt; &lt;span class="no"&gt;NO_PROXY&lt;/span&gt; &lt;span class="s2"&gt;"localhost,127.0.0.1,.corp.example"&lt;/span&gt;
&lt;span class="n"&gt;setx&lt;/span&gt; &lt;span class="no"&gt;NODE_EXTRA_CA_CERTS&lt;/span&gt; &lt;span class="s2"&gt;"C:\path\to\corporate-ca.pem"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Why Option A is recommended.&lt;/strong&gt; Option B reads the machine's own certificate store, so it only helps if your corporate CA has already been rolled out there. When it has not, the run fails in exactly the same way as doing nothing at all, with the same certificate error and no indication that the flag was ignored, which makes a missing CA easy to misread as a proxy problem.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note on&lt;/strong&gt; &lt;code&gt;.crt&lt;/code&gt; conversions: If your IT team provided a DER-encoded certificate, convert it with OpenSSL:&lt;/p&gt;


&lt;pre class="highlight plaintext"&gt;&lt;code&gt;openssl x509 -inform der -in corporate-ca.crt -out corporate-ca.pem
&lt;/code&gt;&lt;/pre&gt;

&lt;/blockquote&gt;




&lt;h3&gt;
  
  
  Step 3: Configure npm SSL Settings (Fixes Stage 2)
&lt;/h3&gt;

&lt;p&gt;When the CLI runs &lt;code&gt;npm install&lt;/code&gt; inside &lt;code&gt;apps/*&lt;/code&gt;, the child process inherits &lt;code&gt;HTTP_PROXY&lt;/code&gt;, &lt;code&gt;HTTPS_PROXY&lt;/code&gt;, &lt;code&gt;NO_PROXY&lt;/code&gt;, and &lt;code&gt;NODE_EXTRA_CA_CERTS&lt;/code&gt;. In most cases, the trust configured in Step 2 is sufficient for both stages.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Do not use&lt;/strong&gt; &lt;code&gt;npm config set cafile&lt;/code&gt; &lt;strong&gt;as the default fix.&lt;/strong&gt; Setting &lt;code&gt;cafile&lt;/code&gt; replaces npm's built-in root trust store instead of adding to it, which can break SSL validation for standard public packages. Prefer &lt;code&gt;NODE_EXTRA_CA_CERTS&lt;/code&gt;, which adds the corporate CA to Node's default roots.&lt;/p&gt;

&lt;p&gt;If dependency installs still fail with certificate errors, and you need a temporary last-resort fallback:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm config &lt;span class="nb"&gt;set&lt;/span&gt; strict-ssl &lt;span class="kc"&gt;false&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Revert the setting once proper root certificates are in place:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm config &lt;span class="nb"&gt;set&lt;/span&gt; strict-ssl &lt;span class="kc"&gt;true&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;This is temporary in intent only. &lt;code&gt;npm config set&lt;/code&gt; writes to your user &lt;code&gt;.npmrc&lt;/code&gt;, so the setting stays in force for every project on the machine until you revert it, and while it is off anything between you and the registry can hand you a package you did not ask for.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h3&gt;
  
  
  Step 4: Verify Registry Configuration
&lt;/h3&gt;

&lt;p&gt;Ensure npm points to the public npm registry or your internal mirror:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm config get registry
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To point npm to your internal registry mirror:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm config &lt;span class="nb"&gt;set&lt;/span&gt; registry &lt;span class="s2"&gt;"https://registry.corp.example/npm/"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  Step 5: Resolve &lt;code&gt;400 Bad Request&lt;/code&gt; on Scoped Packages
&lt;/h3&gt;

&lt;p&gt;If installation fails specifically on &lt;code&gt;@interopio/*&lt;/code&gt; packages with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm error code E400
npm error 400 Bad Request - GET https://registry.npmjs.org/@interopio%2fcomponents-react
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;An HTTP 400 response is different from a TLS certificate-validation failure. A proxy or registry may reject the request because of URL handling, scope configuration, or policy. Two causes are worth separating:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Proxy URL mangling (&lt;code&gt;%2f&lt;/code&gt;):&lt;/strong&gt; Some corporate proxies decode or corrupt the URL-encoded slash used in scoped package requests.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mirror scope configuration:&lt;/strong&gt; If using an internal registry mirror such as Artifactory or Nexus, verify that the &lt;code&gt;@interopio&lt;/code&gt; scope is proxied through to the public npm registry rather than served from an internal allowlist.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Test from inside the failing app folder (e.g. &lt;code&gt;apps/launchpad&lt;/code&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm view @interopio/components-react version
npm view react version
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If unscoped &lt;code&gt;react&lt;/code&gt; succeeds but &lt;code&gt;@interopio/*&lt;/code&gt; fails with &lt;code&gt;400&lt;/code&gt;, route through an internal mirror or report the &lt;code&gt;%2f&lt;/code&gt; handling issue to your network team.&lt;/p&gt;




&lt;h3&gt;
  
  
  Step 6: Re-run Setup and Verify
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm run setup
npm run dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Extra Cases to Check
&lt;/h2&gt;

&lt;h3&gt;
  
  
  GitHub Rate Limits (&lt;code&gt;403 Forbidden&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;Behind a corporate proxy, multiple developers share the same egress IP address. Export a standard GitHub personal access token:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;GITHUB_TOKEN&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"your_token_here"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Log Files and Diagnostics
&lt;/h3&gt;

&lt;p&gt;Check the &lt;code&gt;Log file:&lt;/code&gt; path printed near the top of the CLI console output:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;macOS / Linux:&lt;/strong&gt; &lt;code&gt;$TMPDIR/@interopio-iocd-cli/cli-&amp;lt;timestamp&amp;gt;.log&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Windows:&lt;/strong&gt; &lt;code&gt;%TEMP%\@interopio-iocd-cli\cli-&amp;lt;timestamp&amp;gt;.log&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Look for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;Proxy initialized&lt;/code&gt; — confirms proxy variables were detected.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;No proxy configured in environment variables&lt;/code&gt; — confirms variables were not detected.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Silence is not a hang.&lt;/strong&gt; The component download makes ten attempts with exponential backoff capped at 30 seconds, so a hard certificate failure takes about two and a half minutes to report. The per-app &lt;code&gt;npm install&lt;/code&gt; then runs with its output captured rather than streamed, so a blocked install shows nothing until it fails, which on a large app is several minutes more.&lt;/p&gt;

&lt;h3&gt;
  
  
  Air-Gapped and Offline Environments (Local Mirror)
&lt;/h3&gt;

&lt;p&gt;Download components on a connected machine:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @interopio/iocd-cli@latest components download ./components-mirror \
  --components &lt;span class="s2"&gt;"iocd@10.3.0;demos@1.3.0;devTools@2.0.0"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Update &lt;code&gt;config/iocd.cli.config.json&lt;/code&gt; in your offline project:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"components"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"store"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"local"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;"path"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"./components-mirror"&lt;/span&gt;
      &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Remove any &lt;code&gt;github&lt;/code&gt; store definition. The CLI evaluates stores in precedence order &lt;code&gt;github&lt;/code&gt;, then &lt;code&gt;local&lt;/code&gt;, then &lt;code&gt;s3&lt;/code&gt;, so a &lt;code&gt;local&lt;/code&gt; block left beside a &lt;code&gt;github&lt;/code&gt; one has no effect.&lt;/p&gt;




&lt;h2&gt;
  
  
  Network Requirements (Allowlist for IT/Security)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;api.github.com&lt;/code&gt; — component release metadata&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;github.com&lt;/code&gt; and &lt;code&gt;release-assets.githubusercontent.com&lt;/code&gt; — binary downloads&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;registry.npmjs.org&lt;/code&gt; — dependency installations and CLI update checks&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;*.ingest.us.sentry.io&lt;/code&gt; — error telemetry (or set &lt;code&gt;SENTRY_ENABLED=false&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Important: Build-Time vs. Runtime Configuration
&lt;/h2&gt;

&lt;p&gt;The environment variables configured here (&lt;code&gt;HTTP_PROXY&lt;/code&gt;, &lt;code&gt;HTTPS_PROXY&lt;/code&gt;, &lt;code&gt;NO_PROXY&lt;/code&gt;, &lt;code&gt;NODE_EXTRA_CA_CERTS&lt;/code&gt;, &lt;code&gt;NODE_OPTIONS&lt;/code&gt;) apply to setup/build tooling.&lt;/p&gt;

&lt;p&gt;Configure the io.Connect Desktop runtime separately using the top-level &lt;code&gt;proxy&lt;/code&gt; block in &lt;code&gt;system.json&lt;/code&gt;. The setup/build environment variables above are not a substitute for that runtime configuration.&lt;/p&gt;




&lt;h2&gt;
  
  
  Related Documentation
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://docs.interop.io/desktop/developers/seed-project/development/index.html" rel="noopener noreferrer"&gt;io.Connect Desktop – Seed Project Development Guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.interop.io/desktop/developers/configuration/system/index.html" rel="noopener noreferrer"&gt;io.Connect Desktop – System Configuration&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Originally published on &lt;a href="https://community.interop.io/t/troubleshoot-npm-run-setup-self-signed-cert-in-chain-npm-ssl-and-e400-errors-in-io-connect-desktop-v10/709" rel="noopener noreferrer"&gt;interop.io Community&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>npm</category>
    </item>
    <item>
      <title>Sharing Instrument Data Between Fidessa and Bloomberg</title>
      <dc:creator>Toni Petov</dc:creator>
      <pubDate>Fri, 04 Dec 2026 13:07:00 +0000</pubDate>
      <link>https://dev.to/interopio/sharing-instrument-data-between-fidessa-and-bloomberg-m69</link>
      <guid>https://dev.to/interopio/sharing-instrument-data-between-fidessa-and-bloomberg-m69</guid>
      <description>&lt;p&gt;&lt;em&gt;Author: &lt;a href="https://community.interop.io/u/toni.petrov/summary" rel="noopener noreferrer"&gt;Toni Petrov&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;This quick demo shows two ways io.Connect can bring Fidessa and Bloomberg into the same workflow.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create a Bloomberg watchlist from the selected Fidessa orders: right-click an instrument in Fidessa and select &lt;code&gt;Create BBG Watch list&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Connect Fidessa and Bloomberg through a common color Channel, so selecting an instrument in either application updates the other.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Demo:&lt;/strong&gt; &lt;a href="https://canada1.discourse-cdn.com/flex028/uploads/interopio/original/1X/0c0d4dca8bdb37bd4bea59b5cd9787d1521b60e4.mp4" rel="noopener noreferrer"&gt;Watch the 93-second Fidessa/Bloomberg recording&lt;/a&gt;, or &lt;a href="https://community.interop.io/t/sharing-instrument-data-between-fidessa-and-bloomberg/662" rel="noopener noreferrer"&gt;open it on Community&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Although both workflows move instrument data between the same applications, they solve different problems.&lt;/p&gt;

&lt;h2&gt;
  
  
  Creating the watchlist is an action
&lt;/h2&gt;

&lt;p&gt;In the first part, the trader asks the system to do something: take a set of instruments from Fidessa and create a watchlist in Bloomberg. The API can expose Interop methods for creating a Worksheet with an initial list of securities, as well as appending, replacing and removing securities.&lt;/p&gt;

&lt;p&gt;Read more here - &lt;a href="https://community.interop.io/t/key-io-connect-integration-concepts-explained/255#p-523-interop-methods-streams-service-reuse-and-data-feeds-6" rel="noopener noreferrer"&gt;io.Connect Concepts (Actions)&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;and here - &lt;a href="https://community.interop.io/t/interop-methods-vs-intents/35" rel="noopener noreferrer"&gt;https://community.interop.io/t/interop-methods-vs-intents/35&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Instrument tracking is shared context
&lt;/h2&gt;

&lt;p&gt;The second part doesn’t create anything. It keeps the applications focused on the same instrument.&lt;/p&gt;

&lt;p&gt;Both applications’ tracking groups are mapped via io.Connect Channels (based on io.Connect Shared Context). An instrument selection can flow in either direction:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fidessa Tracking Group ↔ io.Connect Channel ↔ Bloomberg Group&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Read more here - &lt;a href="https://community.interop.io/t/key-io-connect-integration-concepts-explained/255#p-523-shared-contexts-programmatic-data-sharing-1" rel="noopener noreferrer"&gt;io.Connect Concepts (Data sharing)&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Related resources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://docs.interop.io/adapters/bloomberg/overview/index.html" rel="noopener noreferrer"&gt;Bloomberg Adapter overview&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.interop.io/adapters/bloomberg/tapi-bridge/worksheets/index.html" rel="noopener noreferrer"&gt;Bloomberg Worksheets&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.interop.io/adapters/bloomberg/tapi-bridge/groups/index.html#channel_mapping" rel="noopener noreferrer"&gt;Bloomberg Group and Channel mapping&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.interop.io/adapters/fidessa/overview/index.html" rel="noopener noreferrer"&gt;Fidessa Adapter overview&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.interop.io/adapters/fidessa/tracking-groups/index.html" rel="noopener noreferrer"&gt;Fidessa Tracking Groups&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.interop.io/adapters/fidessa/mapping-services/index.html" rel="noopener noreferrer"&gt;Fidessa Mapping Services&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.interop.io/desktop/capabilities/data-sharing/channels/overview/index.html" rel="noopener noreferrer"&gt;io.Connect Channels&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://community.interop.io/t/install-adapters-with-io-connect-seed-project-office-bbg/476" rel="noopener noreferrer"&gt;Installing adapter components&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://community.interop.io/t/fixed-income-workflow-demo/658/1" rel="noopener noreferrer"&gt;Fixed Income Workflow Demo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://community.interop.io/t/interop-use-cases-for-beginners/616" rel="noopener noreferrer"&gt;Interop Use Cases for Beginners&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Originally published on &lt;a href="https://community.interop.io/t/sharing-instrument-data-between-fidessa-and-bloomberg/662" rel="noopener noreferrer"&gt;interop.io Community&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ioconnectdesktop</category>
    </item>
    <item>
      <title>Interop.io &amp; io.Connect Glossary</title>
      <dc:creator>Toni Petov</dc:creator>
      <pubDate>Thu, 04 Dec 2025 15:19:39 +0000</pubDate>
      <link>https://dev.to/tpetrov9/interopio-ioconnect-glossary-43h3</link>
      <guid>https://dev.to/tpetrov9/interopio-ioconnect-glossary-43h3</guid>
      <description>&lt;p&gt;If you are new to io.Connect and the interop.io ecosystem you may wonder what some of the acronyms and nicknames you see are. I tried to put together a glossary to help:&lt;/p&gt;

&lt;h2&gt;
  
  
  Acronyms &amp;amp; shorthand
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;IOCD&lt;/strong&gt; - shorthand for &lt;strong&gt;io.Connect Desktop&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;IOCB&lt;/strong&gt; - shorthand for &lt;strong&gt;io.Connect Browser&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ENV‑REG&lt;/strong&gt; - The “environment‑region” folder name in user paths (e.g., &lt;code&gt;UserData/DEMO-INTEROP.IO&lt;/code&gt;). You’ll see it in examples like &lt;code&gt;.../UserData/&amp;lt;ENV&amp;gt;-&amp;lt;REG&amp;gt;/apps&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;BBG&lt;/strong&gt; - Bloomberg adapter namespace (e.g., &lt;code&gt;T42.BBG.*&lt;/code&gt;); shows up in method names if you use the Bloomberg integration.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;FDC3&lt;/strong&gt; - an open interoperability standard for &lt;strong&gt;financial services&lt;/strong&gt; , building apps for the trading/analysis desktop. It’s created and governed in FINOS and promoted across the industry as a common way for apps to discover each other&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;GD&lt;/strong&gt; - Legacy shorthand for &lt;em&gt;Glue Desktop / Glue42 Desktop&lt;/em&gt; (today: &lt;strong&gt;io.Connect Desktop&lt;/strong&gt; ). Can still appear in method namespaces (&lt;code&gt;T42.GD.*&lt;/code&gt;), query params (&lt;code&gt;?gd&lt;/code&gt;), or some repo names. &lt;strong&gt;Glue42&lt;/strong&gt; was the previous name of the product that evolved into &lt;strong&gt;io.Connect Desktop&lt;/strong&gt; after the merge with &lt;strong&gt;Finsemble&lt;/strong&gt; , that formed &lt;strong&gt;interop.io&lt;/strong&gt; in 2023.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;T42&lt;/strong&gt; - Legacy namespace/prefix you can see in method names, logs, etc. It comes from the name &lt;strong&gt;Tick42&lt;/strong&gt; (the company behind &lt;strong&gt;Glue42&lt;/strong&gt; ) that merged with &lt;strong&gt;Finsemble.&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;FSBL (Finsemble)&lt;/strong&gt; - The other company that merged into &lt;strong&gt;interop.io&lt;/strong&gt;. &lt;strong&gt;Finsemble&lt;/strong&gt; was (and is) also the name of the company’s desktop interop platform.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Platform building blocks
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Interop‑enable an app&lt;/strong&gt; - To “interop-enable” an app means wiring it to io.Connect so that the latter can launch/manage it and the app can talk to others. Give it the client library (auto-inject via &lt;code&gt;system.json → windows.autoInjectAPI&lt;/code&gt; or import) and initialize to get the &lt;code&gt;io&lt;/code&gt; object. This enables apps to discover each other, share context, and hand off tasks without brittle one-offs or copy/paste, so workflows move smoothly across windows.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;App Stores&lt;/strong&gt; - Where app definitions come from. Can be local folders, REST, or &lt;strong&gt;io.Manager&lt;/strong&gt;. IOCD loads all defined stores on startup.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;io.Connect Gateway&lt;/strong&gt; - The message bus that carries inter‑app and app↔platform messages (WebSockets by default).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;App Definition&lt;/strong&gt; - A JSON file that describes an app (name, type like &lt;code&gt;window&lt;/code&gt;/&lt;code&gt;exe&lt;/code&gt;/&lt;code&gt;node&lt;/code&gt;, URL or path, sizing, etc.). Place it under the user apps folder to make the app launchable from IOCD.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Launchpad / Launcher&lt;/strong&gt; - The built‑in UI navigation sidebar that lists apps and lets users start them.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Application Adapters&lt;/strong&gt; - Prebuilt integrations (Excel, Outlook, Bloomberg, Salesforce, etc.) that expose those apps’ actions to your interop‑enabled apps.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;IODesktop()&lt;/strong&gt; - The JavaScript factory function you call to initialize the io.Connect API inside an app. Returns the &lt;code&gt;io&lt;/code&gt; object.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Polyfill (Finsemble)&lt;/strong&gt; - a &lt;strong&gt;compatibility layer in the Finsemble Seed&lt;/strong&gt; that lets Finsemble projects run on &lt;strong&gt;io.Connect Desktop (IOCD)&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If there’s anything I’ve missed, please post below so we can add it.&lt;/p&gt;

&lt;p&gt;&lt;small&gt;1 post - 1 participant&lt;/small&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://community.interop.io/t/interop-io-io-connect-glossary/385" rel="noopener noreferrer"&gt;Read full topic&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ioconnectdesktop</category>
    </item>
    <item>
      <title>How to Build Interop That People Actually Use</title>
      <dc:creator>Toni Petov</dc:creator>
      <pubDate>Wed, 26 Nov 2025 00:37:55 +0000</pubDate>
      <link>https://dev.to/interopio/how-to-build-interop-that-people-actually-use-16pe</link>
      <guid>https://dev.to/interopio/how-to-build-interop-that-people-actually-use-16pe</guid>
      <description>&lt;p&gt;&lt;em&gt;Original Community author: &lt;a href="https://community.interop.io/u/ivan.pidov" rel="noopener noreferrer"&gt;Ivan Pidov&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In &lt;a href="https://community.interop.io/t/from-strategy-to-poc-setting-up-desktop-interop-that-actually-works/303" rel="noopener noreferrer"&gt;Part 1&lt;/a&gt;, I covered the planning work that prevents disasters before you write a single line of code: identifying the right workflows, understanding integration complexity, and establishing governance. Now let’s talk about execution - how to actually build interop that scales and gets adopted.&lt;/p&gt;

&lt;p&gt;Because once you move from planning to building, the stakes change completely, and this is where technical decisions compound. It’s not just whether your integrations work, but whether they’re maintainable, whether users trust them, and whether the architecture you choose today becomes technical debt tomorrow.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep Architecture Simple
&lt;/h2&gt;

&lt;p&gt;Architecture is inherently complex. We’re solving problems across systems that were never meant to talk to each other. But sometimes, it’s not just complex, it’s &lt;em&gt;complicated&lt;/em&gt;. And there’s a difference.&lt;/p&gt;

&lt;p&gt;The extra complication usually comes from things we inherit like legacy systems, rushed timelines, or designs that worked in one context but don’t scale. You might build something that works perfectly for one business unit, then replicate it everywhere without thinking holistically. So again, you end up with a patchwork of siloed mini-projects that don’t play well together.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Micro Frontend Trap
&lt;/h2&gt;

&lt;p&gt;Take micro frontends as an example. They can be powerful when used wisely. But too often, teams slice their UI into dozens of tiny apps, each with its own state, services, and dependencies. Or worse, they overload the UI layer, using it as a caching layer or even a mini backend.&lt;/p&gt;

&lt;p&gt;At first, it feels productive. Things ship faster. Components are reusable. Everything’s “decoupled.”&lt;/p&gt;

&lt;p&gt;Fast-forward six months or a year and you’ve got ten teams coordinating versioning, dependency conflicts, inconsistent user experiences, and performance issues.&lt;/p&gt;

&lt;p&gt;That’s when complexity stops being useful and starts being a liability.&lt;/p&gt;

&lt;h2&gt;
  
  
  Start Simple, Expand with Confidence
&lt;/h2&gt;

&lt;p&gt;Here’s the rule for interop-heavy environments: start with the cleanest, most minimal architecture that meets requirements. Fewer moving parts mean fewer places for things to break. It’s always easier to add complexity later when you have a real reason than to untangle a mess after everything’s in production.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://canada1.discourse-cdn.com/flex028/uploads/interopio/original/1X/279d507f3a3f2bf91d165dc6d4cc3f46b7001d80.png" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbb1ro2b1jc0pb1hc1wf6.png" width="539" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Build iteratively:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Phase 1:&lt;/strong&gt; Get the basics working. Two apps sharing context. One workflow functioning end-to-end.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Phase 2:&lt;/strong&gt; Users try it. What works? What doesn’t? Refine based on feedback.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Phase 3:&lt;/strong&gt; Add more applications and workflows systematically. Each addition builds on lessons learned.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Phase 4:&lt;/strong&gt; Now you have real usage data. Optimize where it actually matters.&lt;/p&gt;

&lt;p&gt;This reduces risk and provides feedback early enough to make meaningful changes.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Design for Humans, Not Just Systems&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;You can have flawless architecture, perfect data flows, and APIs that communicate beautifully. Five applications syncing context behind the scenes, messages flowing, events firing exactly as designed.&lt;/p&gt;

&lt;p&gt;And users may still use it the wrong way and even cause support burden.&lt;/p&gt;

&lt;p&gt;Why? Because technical integration is not the same thing as usability.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What Users Need&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Visibility:&lt;/strong&gt; Users need to see what’s happening. When context is shared, show it. When data is syncing, indicate it. When an action triggers multiple apps, make it clear what’s connected.&lt;/p&gt;

&lt;p&gt;This doesn’t mean cluttering the interface. It means providing appropriate feedback at the right moments like visual indicators when apps are linked, brief confirmations when context is shared, clear status when something is loading.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Control:&lt;/strong&gt; Nothing kills adoption faster than a system that feels like it’s driving itself. Give users the ability to see what apps are connected, disconnect when needed, trigger actions manually when automatic isn’t right, and undo when things go wrong.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Clarity:&lt;/strong&gt; Design interactions that make sense in the user’s mental model, not the system’s technical model.&lt;/p&gt;

&lt;p&gt;Bad: “App has raised intent fdc3.ViewChart for instrument context”&lt;br&gt;&lt;br&gt;
Good: “Opening chart for AAPL”&lt;/p&gt;

&lt;p&gt;Users don’t think in terms of “intents” and “context objects.” They think in terms of clients, securities, portfolios, orders. Your UX should speak their language.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;UX Is the Delivery Mechanism&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;When you’re building interop, don’t stop at making it work. Make it clear. Build for confidence and control. Integration is powerful, but if users can’t see what happened, understand why it happened, or control it when they need to, they’ll misuse or abandon it.&lt;/p&gt;

&lt;p&gt;Design matters because at the end of the day, you’re solving for humans.&lt;/p&gt;

&lt;h2&gt;
  
  
  Golden Rules
&lt;/h2&gt;

&lt;p&gt;Here’s what separates successful interop implementations from failed ones:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Focus on workflows, not technology&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Integrate because it solves problems, not because you can.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Start simple, avoid analysis paralysis&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
The simplest architecture that works is usually the right architecture. Complexity is costly. Don’t try to design the perfect system on paper.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Establish clear governance&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Structure enables speed. Chaos slows everyone down.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Design for humans first&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
If users can’t understand and control it, they won’t use it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Iterate gradually&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Avoid big-bang rollouts and analysis. Phased approaches reduce risk and enable learning.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Think about performance and compliance from day one&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
These aren’t things you add later. They’re foundational.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Bottom Line
&lt;/h2&gt;

&lt;p&gt;Interop isn’t just about APIs and windows linking together. It’s about creating a system that people trust, that scales, and that actually solves problems.&lt;/p&gt;

&lt;p&gt;The difference between success and failure isn’t usually the technology, but whether you kept architecture manageable, designed for how humans actually work, and built iteratively with real feedback.&lt;/p&gt;

&lt;h3&gt;
  
  
  Catch up on Part 1:
&lt;/h3&gt;

&lt;p&gt;If you haven’t already, I recommend you to check out the &lt;a href="https://community.interop.io/t/from-strategy-to-poc-setting-up-desktop-interop-that-actually-works/303" rel="noopener noreferrer"&gt;first article&lt;/a&gt;, where we explored, setting goals, strategy and governance. Let us know if you’re interested in discussing real-world use cases and diving deeper into what we’ve seen working before (and what to better avoid).&lt;/p&gt;

&lt;p&gt;Have you hit other obstacles that we didn’t cover? Were there things that didn’t go according to plan, but worked in the end? Any surprising user stories or neat workarounds you can share?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://community.interop.io/t/how-to-build-interop-that-people-actually-use/357" rel="noopener noreferrer"&gt;Originally published on interop.io Community&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ioconnectdesktop</category>
    </item>
    <item>
      <title>Performance considerations for desktop interop systems</title>
      <dc:creator>Toni Petov</dc:creator>
      <pubDate>Tue, 25 Nov 2025 08:24:36 +0000</pubDate>
      <link>https://dev.to/interopio/performance-considerations-for-desktop-interop-systems-12eo</link>
      <guid>https://dev.to/interopio/performance-considerations-for-desktop-interop-systems-12eo</guid>
      <description>&lt;p&gt;&lt;em&gt;Original Community author: &lt;a href="https://community.interop.io/u/terry.thorsen" rel="noopener noreferrer"&gt;terry.thorsen&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Tips for troubleshooting bottlenecks and optimizing resource usage
&lt;/h2&gt;

&lt;p&gt;Optimization of performance in desktop interop deployments impacts end-user productivity and reduces the total cost of operation. Here at interop.io, we’ve identified five key factors that influence performance in real-world desktop environments.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;1. Disk footprint&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Desktop interop systems like io.Connect Desktop are typically installed as launchable applications on end users’ computers or VDIs. The amount of disk space required for installation varies depending on the specific feature set in use. For instance, the inclusion of various adapters (e.g, Office Adapter) increases the required disk space. System logging also requires adequate disk space. The parameters of io.Connect’s &lt;a href="https://community.interop.io/t/understanding-logs-in-io-connect/36#p-43-system-log-rotation-15" rel="noopener noreferrer"&gt;log rotation&lt;/a&gt; (zipping and then removing old files) can be adjusted as necessary to ensure that systems never run low on disk space.&lt;/p&gt;

&lt;h4&gt;
  
  
  Free Trial vs. Production size
&lt;/h4&gt;

&lt;p&gt;Note that trial versions of io.Connect Desktop have larger disk footprint than production versions. This is because the trial version includes io.Connect Desktop’s full suite of adapters and libraries. We optimize this size when configuring your production installer.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;2. Memory footprint&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;The amount of memory used by a desktop system depends on 4 factors:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Baseline system memory&lt;/strong&gt;. This is the memory required by the system’s core components and service layers. This is a fixed amount which cannot be optimized.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;em&gt;App&lt;/em&gt; memory requirements&lt;/strong&gt;. This is the most important factor. Each app that is launched inside the desktop will have its own memory requirements. This memory usage is typically independent of the underlying platform. For instance, an app running in a Chrome tab will use the same amount of memory running in an io.Connect window.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;System overhead per app&lt;/strong&gt;. The desktop system will add additional memory for each running app. This includes the cost for running the underlying rendering engine (e.g. chromium instances, webview2 instances) as well as the desktop system’s own memory requirements (such as client-side APIs that are resident in the app, e.g. via preloads). This overhead is typically the same in Chrome and io.Connect.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Systemwide heap&lt;/strong&gt;. App usage of features such as stored contexts, application configs, etc will result in some memory growth at the system level. The exact amount depends both on the behaviors of apps as well as the heuristics of the system itself. This memory is usually small unless very large contexts or extensive lists of apps are used.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It is important to note that overall memory requirements of the desktop don’t impact end-user experience until memory requirements overshoot the hardware’s capacity, at which point hardware systems can slow down due to memory swapping. Some VDI systems can fail outright when memory requirements are exceeded. Modern hardware typically provides 16GB and 32GB options at low cost. VDI systems with these capacities can cost $200 - $400 per month, per end user.&lt;/p&gt;

&lt;h4&gt;
  
  
  Greedy memory allocation
&lt;/h4&gt;

&lt;p&gt;A key understanding when evaluating memory usage is that modern operating systems use a “greedy” approach to allocating memory. App memory may swell in size as the operating system determines the app’s needs, and the OS will not necessarily reclaim that memory until it is needed. In a system with 32GB of memory, it may be the case that the operating system rarely needs to reclaim memory, and so a large app like io.Connect or Chrome may be observed to have very high memory usage, even though much of this memory is not “active”.&lt;/p&gt;

&lt;h4&gt;
  
  
  Considerations
&lt;/h4&gt;

&lt;p&gt;A key value proposition of desktop interop is the ability to run multiple apps at once in a “composed” view. Such a view can be a layout (multiple windows organized across one or more monitors) or a workspace (multiple apps organized into frames within a single window). With more windows comes a requirement for more memory, each app requiring its own heap as well as the memory requirements of the underlying rendering engine (Chromium). For large layouts across multiple monitors, this can result in a claim for several gigabytes of memory.&lt;/p&gt;

&lt;h4&gt;
  
  
  Individual app consumption
&lt;/h4&gt;

&lt;p&gt;It is important to understand the memory requirements of the individual apps that will be running simultaneously on the screen. For instance, an app that requires 400MB of memory running in a browser tab might never seem to cause any problems. But once released within io.Connect, users can decide to open several copies of the same app (now that they can organize these copies side-by-side), which then multiplies the amount of memory required. Optimizing memory usage of your business apps may therefore be necessary when system resources are constrained.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;3. CPU and networking overhead&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;In much the same way as a browser does, the bulk of CPU usage is generally from the applications that reside within the desktop. A desktop system does add some CPU and networking overhead via its own underlying processes, most of which occur only during system startup. Some overhead occurs when client APIs are used within the application space. For instance, applications that share context must exchange that context via the system’s services. Those services will use CPU to process and communicate. Generally, the overhead of such systems is low, but in some cases can become noticeable, such as when exchanging large chunks of data, when adding large numbers of app configs, or when saving and restoring complex layouts.&lt;/p&gt;

&lt;p&gt;Delays due to overloaded CPU or network can negatively impact end-user experience. Typically, such situations are remedied through tweaks to API usage or through revisions to app architecture.&lt;/p&gt;

&lt;p&gt;See how to check an app’s CPU and memory usage in the logs - &lt;a href="https://community.interop.io/t/examining-logs-in-practice/110#p-151-how-to-monitor-cpu-and-memory-usage-10" rel="noopener noreferrer"&gt;Examining logs in practice&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;4. Window launch latency&lt;/strong&gt;
&lt;/h3&gt;

&lt;h4&gt;
  
  
  What causes launch latency
&lt;/h4&gt;

&lt;p&gt;Whenever an app is launched, a “renderer” must be instantiated to contain the app. Each of these renderers is its own Chromium instance, launched at the operating system level and observable in task manager. Once the renderer is launched, it immediately loads the app (e.g. downloading its HTML and JavaScript from a network), compiles (V8 engine), and then runs it. The app itself then may have its own initialization process, eventually resulting in display of its contents to the end user (e.g. React rendering). This overall process is essentially the same in interop.io as it is when opening a URL into a new browser tab in Chrome.&lt;/p&gt;

&lt;p&gt;To the end-user, latency is a question of perception. The end user subconsciously measures latency as the time between when they click to launch an app until the time that the app is visible and interactive. As developers, we must break down this experience into individual steps for optimization:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Time from click to launching of the renderer&lt;/li&gt;
&lt;li&gt;Time from launch of the renderer to running of application code&lt;/li&gt;
&lt;li&gt;Time from running application code to the app being ready for interaction&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Of these, the first step involves the menu itself responding to the end user, and then the desktop system’s internal relays which trigger the launch of a renderer. This first step generally occurs quickly (but should not be ignored.)&lt;/p&gt;

&lt;p&gt;The second step (launching a renderer) depends on the performance of the underlying platform architecture as well as the operating system itself. The amount of time depends in some part on the underlying hardware as this is a CPU-intensive moment. Restoration of a layout may involve launching many apps simultaneously, which can take longer even on powerful systems, particularly if the apps themselves are complex and therefore contending for CPU resources. This is akin to restoring Chrome with dozens of tabs open. Multi-core systems are essential to delivering a better user experience.&lt;/p&gt;

&lt;p&gt;See how to track Layout restoration in the logs here - &lt;a href="https://community.interop.io/t/examining-logs-in-practice/110#p-151-how-to-track-layout-restoration-7" rel="noopener noreferrer"&gt;Examining logs in practice&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Optimizing time to interactive (TTI) and first contentful paint (FCP)
&lt;/h4&gt;

&lt;p&gt;In the third step, the applications themselves must be optimized for quick display. It is common to optimize web apps for metrics such as “Time To Interactive” (TTI) or “First Contentful Paint” (FCP). These same types of optimizations should be considered for apps that run inside a desktop.&lt;/p&gt;

&lt;p&gt;It’s worth noting first that an improvement of 1 or 2 seconds of window launch time is probably not meaningful in the context of a worker’s day. It is only when switching large layouts that an end user generally feels any sense of slowness, and in most of our experience, the biggest gains can be had by optimizing the footprint of individual apps.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;5. Desktop startup time&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;The final performance consideration is how long the desktop itself takes to launch. An end user is likely to perceive this as the time from double-clicking on the desktop icon to the time when the initial layout is loaded, and all the apps are interactive. As such, a large portion of desktop startup time is &lt;em&gt;actually&lt;/em&gt; layout loading time, which corresponds directly to window launch times as discussed above. But any slowness with window launch times may be exacerbated during startup due to contention with system resources which are booting and initializing at the same time as the apps.&lt;/p&gt;

&lt;p&gt;Desktop startup time depends greatly on the level of “infrastructure” that a firm requires to operate their desktop. By “infrastructure” we mean services which are run during the startup process. In raw form, io.Connect starts in about 10 seconds, but launching and sequencing of background services and other support applications can cause this startup time to balloon. As this sort of infrastructure grows in complexity, CPU and network contention become more likely (as mentioned above), which can further exacerbate startup times. A good practice to avoid these conditions is to limit the number of services by consolidating startup code into fewer, or even a single service.&lt;/p&gt;

&lt;h4&gt;
  
  
  Cost vs. Gain
&lt;/h4&gt;

&lt;p&gt;It is worth noting that system startup time is generally a once-per-day occurrence. A startup time of 30-60 seconds is not ideal, but may not be worth huge effort to optimize unless usage is truly negatively impacted. If systems need to be restarted daily, then this can be accomplished through settings in io.Connect, which would allow the restart to occur during off-hours, so that users are not impacted.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key takeaways for desktop interop performance optimization&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
We must not forget that the user experience interoperability achieves is seamless, but behind the scenes, an often not-so-powerful machine needs to handle dozens of applications at the same time. Sometimes, just one of them can be causing issues and needs to be investigated. In other cases, the cumulative load becomes too great. Balancing disk usage, memory, CPU, and startup processes can significantly improve both performance and user satisfaction. By continuously monitoring resource utilization and refining app configurations, organizations can maintain responsive, scalable desktop environments. In both cases &lt;a href="https://community.interop.io/c/io-insights/6" rel="noopener noreferrer"&gt;io.Insights&lt;/a&gt; can be the tool that makes investigation and performance monitoring much faster, covering every little metric and app trace. See example: &lt;a href="https://community.interop.io/t/track-down-issues-fast-with-io-insights/9" rel="noopener noreferrer"&gt;Track down issues fast with io.Insights&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://community.interop.io/t/performance-considerations-for-desktop-interop-systems/267" rel="noopener noreferrer"&gt;Originally published on interop.io Community&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ioconnectdesktop</category>
    </item>
    <item>
      <title>Intent Interception use cases</title>
      <dc:creator>Toni Petov</dc:creator>
      <pubDate>Tue, 25 Nov 2025 00:37:12 +0000</pubDate>
      <link>https://dev.to/interopio/intent-interception-use-cases-3mbg</link>
      <guid>https://dev.to/interopio/intent-interception-use-cases-3mbg</guid>
      <description>&lt;p&gt;&lt;em&gt;Original Community author: &lt;a href="https://community.interop.io/u/toni.petrov" rel="noopener noreferrer"&gt;Toni Petrov&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Recently in a couple of meetings, TerryThorsten mentioned how powerful intent interception in io.Connect can be and Kalina Georgieva shared with me some neat use cases where it was handy. So I thought this was worth sharing with the community:&lt;/p&gt;

&lt;h2&gt;
  
  
  Use case 1: Limit intent resolution to the workspace only
&lt;/h2&gt;

&lt;p&gt;When resolving intents in io.Connect Browser, the developer wants to ensure that only applications/windows within the same workspace as the one that raised the intent are considered as possible handlers. The goal is to prevent intents from being handled by applications in other, non-focused workspaces and to avoid requiring extra user interactions.&lt;/p&gt;

&lt;p&gt;By default, the intent resolver considers all possible handlers, including those in other workspaces. While this provides flexibility, it can also lead to confusing behavior, such as intents being handled by apps that are not currently active or visible to the user. The developer, therefore, wanted to restrict intent resolution to the current focused workspace.&lt;/p&gt;

&lt;h3&gt;
  
  
  How Interception achieves the goal
&lt;/h3&gt;

&lt;p&gt;The behavior can be implemented with a plugin interceptor, which intercepts the ‘raise’ operation within the 'intents’ domain. Once the interceptor is in place, it can leverage the interop.io API to identify the appropriate handlers that should be considered. The interceptor then forwards the ‘raise’ command to the Platform along with an array of the filtered handlers, ensuring that only relevant, workspace-local handlers will be provided to the user.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use case 2: App listening to its own intents
&lt;/h2&gt;

&lt;p&gt;When an app in io.Connect raises an intent and also listens for that same intent, the intent resolver UI offers the user the option to resolve the intent using the same app instance that raised it. By default, the FDC3 standard and the io.Connect implementation include all registered handlers for an intent, including the originating app instance, in the resolver UI. There is no explicit exclusion of the originating instance in the FDC3 specification. There might be a reason for that, but some customers prefer to have the app that raised the intent excluded from the listeners list.&lt;/p&gt;

&lt;h3&gt;
  
  
  How Interception achieves the goal
&lt;/h3&gt;

&lt;p&gt;The solution involves intercepting intent resolution calls and filtering out the originating app instance from the handlers list before presenting options to the user. This approach keeps the platform compliant with FDC3 while meeting the specific workflow needs of the app teams.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use case 3: Enforce geographic and compliance restrictions
&lt;/h2&gt;

&lt;p&gt;A compliance-sensitive firm operates in multiple regions. European users run desktop tools that shouldn’t access or display personally identifiable information (PII) contained in chat transcripts or client notes, which are allowed only in the US due to data privacy laws. Yet, the same intents like ViewChatTranscript are available globally.&lt;/p&gt;

&lt;h3&gt;
  
  
  How interception achieves the goal
&lt;/h3&gt;

&lt;p&gt;An interceptor captures raise() operations and evaluates the callerId to determine the user’s region. When a request comes from an EU app, the interceptor either blocks the operation or redirects it to a safer intent, which returns redacted information.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use case 4: Staged rollout of a new client experience
&lt;/h2&gt;

&lt;p&gt;A new version of an intent handler is being tested with a small pilot group. The older version is still in use by everyone else, and both versions are live on the same desktop environment. Need to enable A/B testing and keep the new handler for the pilot group only.&lt;/p&gt;

&lt;h3&gt;
  
  
  How interception achieves the goal
&lt;/h3&gt;

&lt;p&gt;An interceptor is set up to inspect each intent request before it’s dispatched. It checks which app raised the intent and whether that app (or user) is part of the pilot group. If yes, the interceptor reroutes the request to the new v2 handler. All other apps continue using the stable v1 handler.&lt;/p&gt;

&lt;h2&gt;
  
  
  Related documenation:
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://docs.interop.io/browser/capabilities/plugins/interception/index.html" rel="noopener noreferrer"&gt;io.Connect Browser Documentation - Plugins &amp;gt; Interception&lt;/a&gt;&lt;br&gt;
&lt;a href="https://docs.interop.io/browser/capabilities/plugins/interception/index.html#interception_example" rel="noopener noreferrer"&gt;io.Connect Browser Documentation - Plugins &amp;gt; Interception&lt;/a&gt;&lt;br&gt;
&lt;a href="https://docs.interop.io/browser/reference/javascript/intents/index.html#IntentRequest" rel="noopener noreferrer"&gt;io.Connect Browser Documentation - io.Connect Browser - Intents&lt;/a&gt;&lt;br&gt;
&lt;a href="https://docs.interop.io/browser/capabilities/plugins/setup/index.html" rel="noopener noreferrer"&gt;io.Connect Browser Documentation - Plugins &amp;gt; Setup&lt;/a&gt;&lt;br&gt;
&lt;a href="https://community.interop.io/t/intent-interception-use-cases/367" rel="noopener noreferrer"&gt;Originally published on interop.io Community&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ioconnectbrowser</category>
    </item>
    <item>
      <title>From Strategy to PoC: Setting Up Desktop Interop That Actually Works</title>
      <dc:creator>Toni Petov</dc:creator>
      <pubDate>Tue, 18 Nov 2025 08:57:50 +0000</pubDate>
      <link>https://dev.to/interopio/from-strategy-to-poc-setting-up-desktop-interop-that-actually-works-549g</link>
      <guid>https://dev.to/interopio/from-strategy-to-poc-setting-up-desktop-interop-that-actually-works-549g</guid>
      <description>&lt;p&gt;&lt;em&gt;Original Community author: &lt;a href="https://community.interop.io/u/ivan.pidov" rel="noopener noreferrer"&gt;Ivan Pidov&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Imagine you just got a new smartphone packed with amazing apps. A beautiful calendar, a notes app with brilliant search and a task manager that’s feature-rich and intuitive. Each one is best-in-class, but they don’t talk to each other. So you’re copy-pasting meeting details, retyping action items, and manually syncing everything.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;That’s desktop interop when it goes wrong.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Different teams bring in their favorite applications. Each works brilliantly on its own. But without shared planning or design standards, you end up with powerful tools that don’t click together. Users go back to manual switching, copy-paste, and errors.&lt;/p&gt;

&lt;p&gt;Rolling out interop across an entire firm: multiple business units, workflows, and legacy systems, is where the real value lives. It’s also where complexity multiplies. It’s not just about connecting apps. It’s about orchestrating live data flows across dozens of systems, keeping users in sync, and doing all of that while staying compliant with tight regulatory and internal controls.&lt;/p&gt;

&lt;p&gt;At the interop.io consulting team, we’ve spent over a decade implementing desktop interoperability across Tier 1 banks, hedge funds, and buy-side firms. We’ve seen the full spectrum: from clean, elegant rollouts to absolute chaos. Here I’ll share best practices that will help leaders rescue derailed projects, migrate off legacy platforms, and turn cluttered, fragmented desktops into streamlined environments that actually work.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Here’s where most projects fail: before a single line of code is even written.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Don’t skip strategy
&lt;/h2&gt;

&lt;p&gt;You got a powerful toolbox that can connect anything in different ways – channels, shared context, intents, FDC3. Someone says, “Let’s connect all our apps!” The idea of smart workflows, data sharing, and seamless integration sounds great. But in all that excitement, you can forget the most important question:&lt;/p&gt;

&lt;h3&gt;
  
  
  Why are we doing this?
&lt;/h3&gt;

&lt;p&gt;Which workflows are we trying to improve? What are the biggest pain points we are trying to solve? Without those answers, you end up integrating tools just because you *can. *&lt;/p&gt;

&lt;p&gt;First, ask relevant questions like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Where are users re-entering the same data into multiple systems?&lt;/li&gt;
&lt;li&gt;What slows people down during high-pressure moments like market open or close?&lt;/li&gt;
&lt;li&gt;Where are we losing time, focus, or accuracy due to app-switching?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When you uncover those day-to-day friction points, that’s where interop can &lt;em&gt;really&lt;/em&gt; shine. That’s when you’re solving real problems.&lt;/p&gt;

&lt;p&gt;To do so, bring your stakeholders in early. This isn’t just a developer’s problem or a business wish list. You need alignment across the board: product owners, technical leads, compliance, security, and of course, end-users. Get them all talking &lt;em&gt;before&lt;/em&gt; you start building. Define the goals, agree on how you’ll measure success, and make sure everyone knows who’s responsible for what.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Takeway&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Interop what matters. Start with the pain, not the tech.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Don’t Underestimate Integration Complexity
&lt;/h1&gt;

&lt;p&gt;In the real world, we’re dealing with software written 20 or more years ago, weird homegrown VBA macros, Excel plugins from who-knows-where, and proprietary APIs that were never designed to talk to anything else. Some of these systems don’t even have documentation, let alone a clean way to expose events or accept external triggers. Yes, the interop platform &lt;em&gt;gives&lt;/em&gt; you the tools. But you still have to do the groundwork. That means mapping out the landscape: skipping it will set you up for surprises.&lt;/p&gt;

&lt;p&gt;That’s why we always recommend starting with a Proof of Concept. Not just to prove &lt;em&gt;if&lt;/em&gt; something can work, but &lt;em&gt;how&lt;/em&gt; it should work. Build a small and focused integration. Get real users to try it and watch what they do. And then iterate. A phased approach not only reduces risk, it gives you real-world feedback early enough to make meaningful changes.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://canada1.discourse-cdn.com/flex028/uploads/interopio/original/1X/48d6dfa8d6053ba6d6d1412d6045c63ec676e6d8.png" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvxwenrx852bhrhuhro7i.png" width="566" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Takeway&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Start small, set clear goals, progressive rollout, and constant feedback. Run a realistic PoC with legacy and modern apps.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Governance and collaboration
&lt;/h1&gt;

&lt;p&gt;Here’s where projects really spiral: governance. Interop isn’t just a shiny frontend project. It cuts across almost every part of the organization: applications, infrastructure, UX, security, compliance, even legal. So unless there’s clear ownership and coordination, what you end up with isn’t integration, but chaos.&lt;/p&gt;

&lt;p&gt;Picture this: you’ve got three different app development teams, all trying to implement interop in their own way. One builds a custom context layer, another hacks together a local framework, and the third just wires up some point-to-point messaging between apps. No one’s talking to each other. No standards. No shared roadmap. In the end you get three incompatible solutions, all branded “interop,” but none of them actually interoperate.&lt;/p&gt;

&lt;p&gt;That’s what happens without governance. Everyone builds in isolation. Silos get a fresh coat of paint, but they’re still silos.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://canada1.discourse-cdn.com/flex028/uploads/interopio/original/1X/ceb91ef2dfb98801e01c1b5d8f392b2980c92b3d.png" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnxwg9mozsdr21v05x39r.png" width="549" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So your project needs leadership and it needs structure. You need someone owning the architecture, someone responsible for platform consistency, and a shared understanding of what “success” looks like across teams.&lt;/p&gt;

&lt;p&gt;At the same time, governance doesn’t need to be heavy-handed, but it &lt;em&gt;does&lt;/em&gt; need to be visible. A big part of that is having a central source of truth: a living repository that tracks everything from onboarded applications and available intents, to shared contexts, methods, and workflows. Most companies use something like Confluence, or an internal wiki for this. It becomes the place where onboarding new apps or defining a new intent goes through a quick review process. Not to slow things down, but to keep things aligned. That’s how you avoid duplication, conflicting designs, and “spaghetti” integrations that nobody wants to own.&lt;/p&gt;

&lt;p&gt;It’s easy to set and forget it, but that’s not enough. Someone needs to own it and keep an eye on it. Most importantly stakeholders must comply with it, so don’t make it too complicated&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Takeway&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Establish governance, standards, and regular architecture reviews. Make sure documentation is up-to-date and ensure new developers are onboarded early on.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Before You Start Building
&lt;/h1&gt;

&lt;p&gt;The work you do before writing code determines whether your project succeeds or gets abandoned. Before your team starts integrating:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Identify the specific workflows you’re improving (not “everything”)&lt;/li&gt;
&lt;li&gt;Map your landscape to know what you’re actually working with&lt;/li&gt;
&lt;li&gt;Run a realistic PoC with legacy and modern apps&lt;/li&gt;
&lt;li&gt;Set up a governance structure and a central source of truth&lt;/li&gt;
&lt;li&gt;Get stakeholder alignment across teams&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Next up:&lt;/strong&gt; &lt;strong&gt;&lt;a href="https://community.interop.io/t/how-to-build-interop-that-people-actually-use/357" rel="noopener noreferrer"&gt;Part 2&lt;/a&gt;&lt;/strong&gt; will cover how to actually build interop that people use—keeping architecture simple, designing for humans, and avoiding the complexity traps that create technical debt.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://interop.io/professional-services/" rel="noopener noreferrer"&gt;Let us know&lt;/a&gt;&lt;/strong&gt; if you’re interested in discussing real-world use cases and dive deeper in what we’ve seen working before (and what to avoid).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://community.interop.io/t/from-strategy-to-poc-setting-up-desktop-interop-that-actually-works/303" rel="noopener noreferrer"&gt;Originally published on interop.io Community&lt;/a&gt;&lt;/p&gt;

</description>
      <category>general</category>
    </item>
    <item>
      <title>io.Connect Data Sharing Comparison Cheatsheet</title>
      <dc:creator>Toni Petov</dc:creator>
      <pubDate>Tue, 04 Nov 2025 13:00:57 +0000</pubDate>
      <link>https://dev.to/interopio/ioconnect-data-sharing-comparison-cheatsheet-2084</link>
      <guid>https://dev.to/interopio/ioconnect-data-sharing-comparison-cheatsheet-2084</guid>
      <description>&lt;p&gt;&lt;em&gt;Author: &lt;a href="https://community.interop.io/u/Georgi_G" rel="noopener noreferrer"&gt;Georgi Georgiev&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The io.Connect platform provides several ways for apps to communicate and share data, from simple broadcasts to request/response calls, user-driven context linking, and continuous streaming. Each option has its own model, scope, and persistence rules that work best in different use cases and scenarios.&lt;/p&gt;

&lt;p&gt;The table below is a cheat sheet that lines Interop Methods, Intents, Streams, Pub/Sub, Shared Contexts, Channels, Workspace Contexts,  and Window Context side-by-side. The goal isn’t to teach each one in depth, but to help compare them quickly and choose the right tool for your workflow. If you’re looking for full explanations and examples (like how Shared Contexts differ from Workspace Contexts, or how Channels give users control), see the dedicated pages in the docs.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Interop Methods&lt;/th&gt;
&lt;th&gt;Intents&lt;/th&gt;
&lt;th&gt;Streams&lt;/th&gt;
&lt;th&gt;Pub/Sub&lt;/th&gt;
&lt;th&gt;Shared Contexts&lt;/th&gt;
&lt;th&gt;Color Channels&lt;/th&gt;
&lt;th&gt;Workspace Contexts&lt;/th&gt;
&lt;th&gt;Window Context&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Communication Model&lt;/td&gt;
&lt;td&gt;Request-Response&lt;/td&gt;
&lt;td&gt;Request-Response&lt;/td&gt;
&lt;td&gt;Streaming&lt;/td&gt;
&lt;td&gt;Broadcast&lt;/td&gt;
&lt;td&gt;Broadcast&lt;/td&gt;
&lt;td&gt;Broadcast&lt;/td&gt;
&lt;td&gt;Broadcast&lt;/td&gt;
&lt;td&gt;Window-specific&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Publish Data&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅ *              Based on Channel Restrictions&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;❌*            Not intended for dynamic interop&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Read Data&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;✅*            Servers could restrict access to data&lt;/td&gt;
&lt;td&gt;✅*            Servers could restrict access to data&lt;/td&gt;
&lt;td&gt;✅*            Servers could restrict access to data&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅*            Based on Channel Restrictions&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;❌*            Not intended for dynamic interop&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Discovery&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;User Controlled&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;✅*            Users are responsible for resolving ambiguous Intents through the Intents   Resolver UI&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;✅*            Users assign Application Instances to Color Channels&lt;/td&gt;
&lt;td&gt;✅*            Users control the Workspace grouping of Windows&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Defined Statically&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;✅*            Intents could also be defined dynamically&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;✅*            Could be defined as part of a Workspace Layout&lt;/td&gt;
&lt;td&gt;✅*            Could be defined as part of a Global Layout&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Global&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;❌*            By design, scoped to the Application Instances joined on the same Color   Channel&lt;/td&gt;
&lt;td&gt;❌*            By design, scoped to the Applications Instances within a Workspace&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Persistence Across Restarts&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;✅*            Data could be persisted as part of a Workspace Layout&lt;/td&gt;
&lt;td&gt;✅*            Data could be persisted as part of a Global Layout&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Persistent (remains available if the server disconnects)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅*            The Workspaces Application could automatically destroy a Workspace Context   when the Workspace is closed, based on configuration&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Reannouncement (e.g., after a machine state change)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Caller/Updater Identification&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;One-to-One or Many&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;One-to-many&lt;/td&gt;
&lt;td&gt;One-to-one&lt;/td&gt;
&lt;td&gt;One-to-many&lt;/td&gt;
&lt;td&gt;One-to-many&lt;/td&gt;
&lt;td&gt;One-to-many&lt;/td&gt;
&lt;td&gt;One-to-many&lt;/td&gt;
&lt;td&gt;One-to-many&lt;/td&gt;
&lt;td&gt;One-to-one&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Instance Launch Capability&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;✅*            Can launch new Instances of Applications, if needed&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;✅*            Can be provided as an initial context by the launching Application Instance   via the AppManager API&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;io.Connect API&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;methods()&lt;/code&gt;      &lt;code&gt;register()&lt;/code&gt;      &lt;code&gt;invoke()&lt;/code&gt;      &lt;code&gt;unregister()&lt;/code&gt;      …&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;all()&lt;/code&gt;            &lt;br&gt;&lt;code&gt;register()&lt;/code&gt;      &lt;code&gt;raise()&lt;/code&gt;            &lt;br&gt;…&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;createStream()&lt;/code&gt;      &lt;code&gt;stream.push()&lt;/code&gt;      &lt;code&gt;subscribe()&lt;/code&gt;      &lt;code&gt;stream.close()&lt;/code&gt;      …&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;publish()&lt;/code&gt;      &lt;code&gt;subscribe()&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;all()&lt;/code&gt;      &lt;br&gt;&lt;code&gt;set()&lt;/code&gt;      &lt;br&gt;&lt;code&gt;get()&lt;/code&gt;      &lt;code&gt;subscribe()&lt;/code&gt;      &lt;br&gt;…&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;all()&lt;/code&gt;      &lt;br&gt;&lt;code&gt;join()&lt;/code&gt;      &lt;code&gt;publish()&lt;/code&gt;      &lt;code&gt;subscribe()&lt;/code&gt;      &lt;br&gt;…&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;workspace.setContext()&lt;/code&gt;      &lt;code&gt;workspace.updateContext()&lt;/code&gt;      &lt;code&gt;workspace.getContext()&lt;/code&gt;      &lt;code&gt;workspace.onContextUpdated()&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;window.setContext()&lt;/code&gt;      &lt;code&gt;window.updateContext()&lt;/code&gt;      &lt;code&gt;window.getContext()&lt;/code&gt;      &lt;code&gt;window.onContextUpdated()&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Interception&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;FDC3 API Mapping&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;Intents&lt;/td&gt;
&lt;td&gt;Private   Channels&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;App   Channels&lt;/td&gt;
&lt;td&gt;User   Channels&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Comparison by integration mechanism
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Interop Methods
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Has:&lt;/strong&gt; publish &amp;amp; read; request-response; discovery; global; one-to-many; caller/updater ID; reannouncement.&lt;br&gt;
&lt;strong&gt;Lacks:&lt;/strong&gt; user control, static definition, persistence across restarts, persistence if the server disconnects, instance launch, interception, FDC3 mapping.&lt;br&gt;
&lt;strong&gt;Note:&lt;/strong&gt; read access may be restricted by the server.&lt;br&gt;
&lt;strong&gt;API:&lt;/strong&gt; &lt;code&gt;methods()&lt;/code&gt;, &lt;code&gt;register()&lt;/code&gt;, &lt;code&gt;invoke()&lt;/code&gt;, &lt;code&gt;unregister()&lt;/code&gt;, …&lt;br&gt;
&lt;strong&gt;Learn more:&lt;/strong&gt; &lt;br&gt;
&lt;a href="https://docs.interop.io/desktop/capabilities/data-sharing/interop/javascript/index.html#method_registration" rel="noopener noreferrer"&gt;https://docs.interop.io/desktop/capabilities/data-sharing/interop/javascript/index.html#method_registration&lt;/a&gt; &lt;br&gt;
&lt;a href="https://community.interop.io/t/key-io-connect-integration-concepts-explained/255#interop-methods-streams-service-reuse-and-data-feeds" rel="noopener noreferrer"&gt;https://community.interop.io/t/key-io-connect-integration-concepts-explained/255#interop-methods-streams-service-reuse-and-data-feeds&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Intents
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Has:&lt;/strong&gt; raise &amp;amp; handle (publish/read); request-response; discovery; &lt;strong&gt;user-controlled&lt;/strong&gt; resolver UI when ambiguous; &lt;strong&gt;can be defined statically&lt;/strong&gt; (also supports dynamic); global; one-to-one at execution; caller/updater ID; reannouncement; &lt;strong&gt;can launch a new app instance&lt;/strong&gt;; &lt;strong&gt;interception supported&lt;/strong&gt;.&lt;br&gt;
&lt;strong&gt;Lacks:&lt;/strong&gt; persistence across restarts, persistence if the server disconnects.&lt;br&gt;
&lt;strong&gt;Note:&lt;/strong&gt; read access may be restricted by the server.&lt;br&gt;
&lt;strong&gt;FDC3:&lt;/strong&gt; Intents.&lt;br&gt;
&lt;strong&gt;API:&lt;/strong&gt; &lt;code&gt;all()&lt;/code&gt;, &lt;code&gt;register()&lt;/code&gt;, &lt;code&gt;raise()&lt;/code&gt;, …&lt;br&gt;
&lt;strong&gt;Learn more:&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://docs.interop.io/desktop/capabilities/data-sharing/intents/overview/index.html" rel="noopener noreferrer"&gt;https://docs.interop.io/desktop/capabilities/data-sharing/intents/overview/index.html&lt;/a&gt;&lt;br&gt;
&lt;a href="https://community.interop.io/t/key-io-connect-integration-concepts-explained/255#intents-allow-users-to-select-actions" rel="noopener noreferrer"&gt;https://community.interop.io/t/key-io-connect-integration-concepts-explained/255#intents-allow-users-to-select-actions&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Streams
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Has:&lt;/strong&gt; publish (push) &amp;amp; read (subscribe); streaming; discovery; global; one-to-many; caller/updater ID; reannouncement.&lt;br&gt;
&lt;strong&gt;Lacks:&lt;/strong&gt; user control, static definition, persistence across restarts, persistence if the server disconnects, instance launch, interception.&lt;br&gt;
&lt;strong&gt;Note:&lt;/strong&gt; read access may be restricted by the server.&lt;br&gt;
&lt;strong&gt;FDC3:&lt;/strong&gt; Private Channels.&lt;br&gt;
&lt;strong&gt;API:&lt;/strong&gt; &lt;code&gt;createStream()&lt;/code&gt;, &lt;code&gt;stream.push()&lt;/code&gt;, &lt;code&gt;subscribe()&lt;/code&gt;, &lt;code&gt;stream.close()&lt;/code&gt;, …&lt;br&gt;
&lt;strong&gt;Learn more:&lt;/strong&gt; &lt;br&gt;
&lt;a href="https://docs.interop.io/desktop/capabilities/data-sharing/interop/javascript/index.html#streaming" rel="noopener noreferrer"&gt;https://docs.interop.io/desktop/capabilities/data-sharing/interop/javascript/index.html#streaming&lt;/a&gt;&lt;br&gt;
&lt;a href="https://community.interop.io/t/key-io-connect-integration-concepts-explained/255#interop-methods-streams-service-reuse-and-data-feeds" rel="noopener noreferrer"&gt;https://community.interop.io/t/key-io-connect-integration-concepts-explained/255#interop-methods-streams-service-reuse-and-data-feeds&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Window Context
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Has:&lt;/strong&gt; window-specific (not global); one-to-one; &lt;strong&gt;can be defined statically&lt;/strong&gt; in a Global Layout; &lt;strong&gt;can persist across restarts&lt;/strong&gt; via Global Layout; reannouncement; &lt;strong&gt;can be supplied as initial context when launching&lt;/strong&gt; via AppManager.&lt;br&gt;
&lt;strong&gt;Lacks:&lt;/strong&gt; dynamic publish/read (not meant for dynamic interop), discovery, user control, global scope, &lt;strong&gt;persistence if the server disconnects&lt;/strong&gt;, caller/updater ID, interception, FDC3 mapping.&lt;br&gt;
&lt;strong&gt;API:&lt;/strong&gt; &lt;code&gt;window.setContext()&lt;/code&gt;, &lt;code&gt;window.updateContext()&lt;/code&gt;, &lt;code&gt;window.getContext()&lt;/code&gt;, &lt;code&gt;window.onContextUpdated()&lt;/code&gt;&lt;br&gt;
&lt;strong&gt;Learn more:&lt;/strong&gt; &lt;br&gt;
&lt;a href="https://docs.interop.io/desktop/capabilities/windows/window-management/javascript/index.html#context" rel="noopener noreferrer"&gt;https://docs.interop.io/desktop/capabilities/windows/window-management/javascript/index.html#context&lt;/a&gt;&lt;br&gt;
&lt;a href="https://community.interop.io/t/key-io-connect-integration-concepts-explained/255#window-context" rel="noopener noreferrer"&gt;https://community.interop.io/t/key-io-connect-integration-concepts-explained/255#window-context&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Pub/Sub
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Has:&lt;/strong&gt; publish &amp;amp; read; broadcast; global scope; one-to-many; caller/updater ID.&lt;br&gt;
&lt;strong&gt;Lacks:&lt;/strong&gt; discovery, user control, static definition, persistence across restarts, persistence if the server disconnects, reannouncement, instance launch, interception, FDC3 mapping.&lt;br&gt;
&lt;strong&gt;API:&lt;/strong&gt; &lt;code&gt;publish()&lt;/code&gt;, &lt;code&gt;subscribe()&lt;/code&gt;.&lt;br&gt;
&lt;strong&gt;Learn more:&lt;/strong&gt; &lt;br&gt;
&lt;a href="https://docs.interop.io/desktop/capabilities/data-sharing/pub-sub/overview/index.html" rel="noopener noreferrer"&gt;https://docs.interop.io/desktop/capabilities/data-sharing/pub-sub/overview/index.html&lt;/a&gt;&lt;br&gt;
&lt;a href="https://community.interop.io/t/key-io-connect-integration-concepts-explained/255#p-523-pubsub-8" rel="noopener noreferrer"&gt;https://community.interop.io/t/key-io-connect-integration-concepts-explained/255#p-523-pubsub-8&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Shared Contexts
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Has:&lt;/strong&gt; publish &amp;amp; read; broadcast; discovery; global; one-to-many; caller/updater ID; reannouncement; &lt;strong&gt;persists if the server disconnects&lt;/strong&gt;.&lt;br&gt;
&lt;strong&gt;Lacks:&lt;/strong&gt; user control, static definition, persistence across restarts, instance launch, interception.&lt;br&gt;
&lt;strong&gt;FDC3:&lt;/strong&gt; App Channels.&lt;br&gt;
&lt;strong&gt;API:&lt;/strong&gt; &lt;code&gt;all()&lt;/code&gt;, &lt;code&gt;set()&lt;/code&gt;, &lt;code&gt;get()&lt;/code&gt;, &lt;code&gt;subscribe()&lt;/code&gt;, …&lt;br&gt;
&lt;strong&gt;Learn more:&lt;/strong&gt; &lt;br&gt;
&lt;a href="https://docs.interop.io/desktop/capabilities/data-sharing/shared-contexts/overview/index.html" rel="noopener noreferrer"&gt;https://docs.interop.io/desktop/capabilities/data-sharing/shared-contexts/overview/index.html&lt;/a&gt; &lt;br&gt;
&lt;a href="https://community.interop.io/t/key-io-connect-integration-concepts-explained/255#shared-contexts-programmatic-data-sharing" rel="noopener noreferrer"&gt;https://community.interop.io/t/key-io-connect-integration-concepts-explained/255#shared-contexts-programmatic-data-sharing&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Color Channels
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Has:&lt;/strong&gt; publish &amp;amp; read &lt;strong&gt;(subject to channel restrictions)&lt;/strong&gt;; broadcast; discovery; &lt;strong&gt;user-controlled&lt;/strong&gt; (users assign app instances to channels); one-to-many; caller/updater ID; reannouncement; &lt;strong&gt;persists if the server disconnects&lt;/strong&gt;.&lt;br&gt;
&lt;strong&gt;Lacks:&lt;/strong&gt; global scope (channel-scoped), static definition, persistence across restarts, instance launch, interception.&lt;br&gt;
&lt;strong&gt;FDC3:&lt;/strong&gt; User Channels.&lt;br&gt;
&lt;strong&gt;API:&lt;/strong&gt; &lt;code&gt;all()&lt;/code&gt;, &lt;code&gt;join()&lt;/code&gt;, &lt;code&gt;publish()&lt;/code&gt;, &lt;code&gt;subscribe()&lt;/code&gt;, …&lt;br&gt;
&lt;strong&gt;Learn more:&lt;/strong&gt; &lt;br&gt;
&lt;a href="https://docs.interop.io/desktop/capabilities/data-sharing/channels/overview/index.html" rel="noopener noreferrer"&gt;https://docs.interop.io/desktop/capabilities/data-sharing/channels/overview/index.html&lt;/a&gt; &lt;br&gt;
&lt;a href="https://community.interop.io/t/key-io-connect-integration-concepts-explained/255#channels-empowering-end-users" rel="noopener noreferrer"&gt;https://community.interop.io/t/key-io-connect-integration-concepts-explained/255#channels-empowering-end-users&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Workspace Contexts
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Has:&lt;/strong&gt; publish &amp;amp; read; broadcast; discovery; &lt;strong&gt;user-controlled&lt;/strong&gt; via workspace grouping; &lt;strong&gt;can be defined statically&lt;/strong&gt; in a Workspace Layout; one-to-many; caller/updater ID; reannouncement; &lt;strong&gt;can persist across restarts when saved in a Workspace Layout&lt;/strong&gt;; &lt;strong&gt;persists if the server disconnects&lt;/strong&gt; (may auto-destroy on workspace close, depending on config).&lt;br&gt;
&lt;strong&gt;Lacks:&lt;/strong&gt; global scope (workspace-scoped), instance launch, interception, FDC3 mapping.&lt;br&gt;
&lt;strong&gt;API:&lt;/strong&gt; &lt;code&gt;workspace.setContext()&lt;/code&gt;, &lt;code&gt;workspace.updateContext()&lt;/code&gt;, &lt;code&gt;workspace.getContext()&lt;/code&gt;, &lt;code&gt;workspace.onContextUpdated()&lt;/code&gt;&lt;br&gt;
&lt;strong&gt;Learn more:&lt;/strong&gt; &lt;br&gt;
&lt;a href="https://docs.interop.io/desktop/capabilities/windows/workspaces/javascript/index.html#workspace_context" rel="noopener noreferrer"&gt;https://docs.interop.io/desktop/capabilities/windows/workspaces/javascript/index.html#workspace_context&lt;/a&gt;&lt;br&gt;
&lt;a href="https://community.interop.io/t/key-io-connect-integration-concepts-explained/255#workspace-context-multi-tasking-without-confusion" rel="noopener noreferrer"&gt;https://community.interop.io/t/key-io-connect-integration-concepts-explained/255#workspace-context-multi-tasking-without-confusion&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For a simple overview, check:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://community.interop.io/t/key-io-connect-integration-concepts-explained/255" rel="noopener noreferrer"&gt;Key io.Connect Integration Concepts Explained&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And for more details see the respective documentation pages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://docs.interop.io/desktop/capabilities/data-sharing/pub-sub/overview/index.html" rel="noopener noreferrer"&gt;Pub/Sub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.interop.io/desktop/capabilities/data-sharing/shared-contexts/overview/index.html" rel="noopener noreferrer"&gt;Shared Contexts&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.interop.io/desktop/capabilities/data-sharing/channels/overview/index.html" rel="noopener noreferrer"&gt;Color Channels&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.interop.io/desktop/capabilities/windows/workspaces/javascript/index.html#workspace_context" rel="noopener noreferrer"&gt;Workspace Contexts&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.interop.io/desktop/capabilities/data-sharing/interop/javascript/index.html#method_registration" rel="noopener noreferrer"&gt;Interop Methods&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.interop.io/desktop/capabilities/data-sharing/intents/overview/index.html" rel="noopener noreferrer"&gt;Intents&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.interop.io/desktop/capabilities/data-sharing/interop/javascript/index.html#streaming" rel="noopener noreferrer"&gt;Streams&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.interop.io/desktop/capabilities/windows/window-management/javascript/index.html#context" rel="noopener noreferrer"&gt;Window Context&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://community.interop.io/t/io-connect-data-sharing-comparison-cheatsheet/324" rel="noopener noreferrer"&gt;Originally published on interop.io Community&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ioconnectdesktop</category>
    </item>
    <item>
      <title>Salesforce - Lightning Locker and io.Connect platform connected components - Standalone</title>
      <dc:creator>Toni Petov</dc:creator>
      <pubDate>Thu, 16 Oct 2025 09:04:56 +0000</pubDate>
      <link>https://dev.to/interopio/salesforce-lightning-locker-and-ioconnect-platform-connected-components-standalone-1mjp</link>
      <guid>https://dev.to/interopio/salesforce-lightning-locker-and-ioconnect-platform-connected-components-standalone-1mjp</guid>
      <description>&lt;p&gt;&lt;em&gt;Original Community author: &lt;a href="https://community.interop.io/u/iskren.io.sfa" rel="noopener noreferrer"&gt;Iskren Stanislavov&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Overview
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;⚠️ &lt;em&gt;Note that the following sections are relevant only for:&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;If you intend on using Salesforce within the io.Connect Platform (&lt;strong&gt;io.Connect Desktop&lt;/strong&gt; or &lt;strong&gt;io.Connect Browser&lt;/strong&gt;)&lt;/li&gt;
&lt;li&gt;Salesforce sessions with active Lightning Locker (in Session Settings)&lt;/li&gt;
&lt;li&gt;the latest versions of the Salesforce Adapter (5.13 and later).
For details on the legacy versions (3.0 and 4.0), see the &lt;a href="//../../legacy-adapter/installation-and-configuration/index.html"&gt;Legacy Adapter&lt;/a&gt; section.&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;p&gt;As 'Lightning Locker' does not allow direct usage of components packaged in an external namespace you will need to use Lightning Message Service (&lt;a href="https://developer.salesforce.com/docs/component-library/bundle/lightning-message-service/documentation" rel="noopener noreferrer"&gt;LMS&lt;/a&gt;) to communicate with the io.Connect Platform. Thus, we provide free of charge an LMS middleware package and a Plugin-based template that could serve as a reference point for further development. For simplicity of this documentation we will not focus on structuring the component, if you want you could do so on your own. Note that such custom components can be used both in your Lightning Our apps, or from within the Salesforce platform (with certain limitations and requirements).&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;⚠️ &lt;em&gt;Note that using Salesforce within the io.Connect Platform has the advantage of not having to attach an io.Connect Utility Bar component to your Lightning App and not having to provide additional package configuration after installation in order to enable interoperability. These steps, however, are required when &lt;a href="//../web-browser/index.html"&gt;using Salesforce in a web browser&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Requirements
&lt;/h2&gt;

&lt;p&gt;For the use of the &lt;code&gt;InteropConsumerMixin&lt;/code&gt; to make sense, Lightning Web Security must be disabled:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Log in to your Salesforce organization as an administrator.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Go to &lt;code&gt;Setup &amp;gt; Security &amp;gt; Session Settings&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Make sure that Lightning Web Security is disabled in the "Lightning Web Security" section.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;blockquote&gt;
&lt;p&gt;⚠️ &lt;em&gt;If Lightning Web Security is already enabled, consider using the &lt;a href="//../lws/index.html"&gt;LWS&lt;/a&gt; approach instead.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;⚠️ &lt;em&gt;You will need to use &lt;code&gt;Tick42__lmsStandalone&lt;/code&gt; in one of your UtilityBars in the Lightning Applications.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Limitations
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The LMS-based approach is not yet evaluated and tested in Salesforce Classic applications.&lt;/li&gt;
&lt;li&gt;Currently, the LMS-based approach &lt;strong&gt;does not support streaming&lt;/strong&gt; and other more complex interop methods functionality.&lt;/li&gt;
&lt;li&gt;Due to the security restrictions imposed by Salesforce, it's impossible to embed the Salesforce platform in an &lt;code&gt;&amp;lt;iframe&amp;gt;&lt;/code&gt; in &lt;strong&gt;io.Connect Browser&lt;/strong&gt;. To avoid this limitation, you can use the &lt;code&gt;InteropConsumerMixin&lt;/code&gt; component in Lightning Out apps or Visualforce pages that run in &lt;strong&gt;io.Connect Browser&lt;/strong&gt; instead.&lt;/li&gt;
&lt;li&gt;If using more than one instance of the component in the same app, all interop-enabled LWCs will have the same application name. This means that you won't be able to register more than one event listener for the same type of event. To avoid this limitation, it's recommended to either use the &lt;code&gt;InteropConsumerMixin&lt;/code&gt; component with Plugins or in different Lightning Out apps instead.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Examples
&lt;/h2&gt;

&lt;p&gt;An example Lightning Application is available in the &lt;code&gt;LMS[T42]&lt;/code&gt; Salesforce package. To retrieve the package into your project, execute the following command using the Salesforce CLI vs your organization where you have installed the packages:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sf project retrieve start --package-name "LMS[T42]"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Salesforce App Definition
&lt;/h2&gt;

&lt;p&gt;The following sections describe how to create app definitions for the Salesforce platform or for your Lightning Out apps depending on whether you are using the Salesforce Adapter with &lt;strong&gt;io.Connect Desktop&lt;/strong&gt; or with &lt;strong&gt;io.Connect Browser&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  io.Connect Desktop
&lt;/h3&gt;

&lt;p&gt;To be able to open Salesforce in io.Connect Windows or Workspaces in &lt;strong&gt;io.Connect Desktop&lt;/strong&gt;, you must provide a valid &lt;a href="//../../../../desktop/developers/configuration/application/index.html"&gt;app definition&lt;/a&gt; for it. Besides the standard required definition properties (&lt;code&gt;"name"&lt;/code&gt;, &lt;code&gt;"type"&lt;/code&gt;, and &lt;code&gt;"url"&lt;/code&gt;), it's also required to enable &lt;a href="//../../../../desktop/getting-started/how-to/interop-enable-your-apps/javascript/index.html#auto_injection"&gt;auto injection&lt;/a&gt; of the &lt;a href="https://www.npmjs.com/package/@interopio/desktop" rel="noopener noreferrer"&gt;&lt;code&gt;@interopio/desktop&lt;/code&gt;&lt;/a&gt; library and to configure the usage of preload scripts. Enabling auto injection is necessary because the &lt;code&gt;@interopio/desktop&lt;/code&gt; library provides the interoperability capabilities of the &lt;code&gt;InteropConsumerMixin&lt;/code&gt; component. The preload scripts configuration is necessary because it enables using the &lt;code&gt;InteropConsumerMixin&lt;/code&gt; component.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;⚠️ &lt;em&gt;Note that the preload scripts configuration also allows you to enable the usage of a Utility Bar component. Using a Utility Bar component isn't necessary when Salesforce is running in **io.Connect Desktop&lt;/em&gt;&lt;em&gt;, but if you decide to use one, you must provide the respective preload script. For details on how to attach one of the available io.Connect Utility Bar components, see the &lt;a href="//../web-browser/index.html#configuration"&gt;Usage &amp;gt; Web Browser &amp;gt; Configuration&lt;/a&gt; section.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The following is an example configuration for defining the Salesforce platform as an io.Connect app:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"salesforce"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"window"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Salesforce"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"details"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="n"&gt;URL&lt;/span&gt; &lt;span class="n"&gt;pointing&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;your&lt;/span&gt; &lt;span class="n"&gt;Salesforce&lt;/span&gt; &lt;span class="n"&gt;organization&lt;/span&gt;&lt;span class="err"&gt;.&lt;/span&gt;
        &lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://your-salesforce-url.salesforce.com/"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="n"&gt;This&lt;/span&gt; &lt;span class="n"&gt;is&lt;/span&gt; &lt;span class="n"&gt;required&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;enable&lt;/span&gt; &lt;span class="n"&gt;usage&lt;/span&gt; &lt;span class="n"&gt;of&lt;/span&gt; &lt;span class="n"&gt;preload&lt;/span&gt; &lt;span class="n"&gt;scripts&lt;/span&gt;&lt;span class="err"&gt;.&lt;/span&gt;
        &lt;span class="nl"&gt;"security"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="nl"&gt;"webSecurity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="nl"&gt;"allowRunningInsecureContent"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="nl"&gt;"allowedExternalURISchemes"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"data"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"https"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"http"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="n"&gt;This&lt;/span&gt; &lt;span class="n"&gt;is&lt;/span&gt; &lt;span class="n"&gt;required&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;enable&lt;/span&gt; &lt;span class="n"&gt;interoperability&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="n"&gt;library&lt;/span&gt; &lt;span class="n"&gt;usage&lt;/span&gt; &lt;span class="n"&gt;in&lt;/span&gt; &lt;span class="n"&gt;production&lt;/span&gt;&lt;span class="err"&gt;.&lt;/span&gt;
        &lt;span class="nl"&gt;"preloadScripts"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="nl"&gt;"scripts"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
                &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="n"&gt;This&lt;/span&gt; &lt;span class="n"&gt;preload&lt;/span&gt; &lt;span class="n"&gt;script&lt;/span&gt; &lt;span class="n"&gt;is&lt;/span&gt; &lt;span class="n"&gt;required&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;enable&lt;/span&gt; &lt;span class="n"&gt;using&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="err"&gt;`&lt;/span&gt;&lt;span class="n"&gt;InteropConsumerMixin&lt;/span&gt;&lt;span class="err"&gt;`&lt;/span&gt; &lt;span class="n"&gt;component&lt;/span&gt;&lt;span class="err"&gt;.&lt;/span&gt;
                &lt;span class="s2"&gt;"https://enterprise-demos.dev.interop.io/preload-scripts/salesforce-request-factory-from-platform.js"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="n"&gt;This&lt;/span&gt; &lt;span class="n"&gt;preload&lt;/span&gt; &lt;span class="n"&gt;script&lt;/span&gt; &lt;span class="n"&gt;is&lt;/span&gt; &lt;span class="n"&gt;only&lt;/span&gt; &lt;span class="n"&gt;necessary&lt;/span&gt; &lt;span class="n"&gt;if&lt;/span&gt; &lt;span class="n"&gt;you&lt;/span&gt; &lt;span class="n"&gt;want&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;use&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="n"&gt;Utility&lt;/span&gt; &lt;span class="n"&gt;Bar&lt;/span&gt; &lt;span class="n"&gt;component&lt;/span&gt; &lt;span class="n"&gt;when&lt;/span&gt; &lt;span class="n"&gt;Salesforce&lt;/span&gt; &lt;span class="n"&gt;is&lt;/span&gt; &lt;span class="n"&gt;running&lt;/span&gt; &lt;span class="n"&gt;in&lt;/span&gt; &lt;span class="n"&gt;io&lt;/span&gt;&lt;span class="err"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Connect&lt;/span&gt; &lt;span class="n"&gt;Desktop&lt;/span&gt;&lt;span class="err"&gt;.&lt;/span&gt;
                &lt;span class="s2"&gt;"https://enterprise-demos.dev.interop.io/preload-scripts/salesforce-utility-bar.js"&lt;/span&gt;
            &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="nl"&gt;"useBase64PreloadScripts"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="n"&gt;Enable&lt;/span&gt; &lt;span class="n"&gt;auto&lt;/span&gt; &lt;span class="n"&gt;injection&lt;/span&gt; &lt;span class="n"&gt;of&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="err"&gt;`@&lt;/span&gt;&lt;span class="n"&gt;interopio&lt;/span&gt;&lt;span class="err"&gt;/&lt;/span&gt;&lt;span class="n"&gt;desktop&lt;/span&gt;&lt;span class="err"&gt;`&lt;/span&gt; &lt;span class="n"&gt;library&lt;/span&gt;&lt;span class="err"&gt;.&lt;/span&gt;
        &lt;span class="nl"&gt;"autoInjectAPI"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="nl"&gt;"enabled"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="n"&gt;If&lt;/span&gt; &lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="err"&gt;`&lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="err"&gt;`&lt;/span&gt; &lt;span class="err"&gt;(&lt;/span&gt;&lt;span class="n"&gt;default&lt;/span&gt;&lt;span class="err"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;will&lt;/span&gt; &lt;span class="n"&gt;enable&lt;/span&gt; &lt;span class="n"&gt;you&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;provide&lt;/span&gt; &lt;span class="n"&gt;initialization&lt;/span&gt; &lt;span class="n"&gt;settings&lt;/span&gt; &lt;span class="n"&gt;from&lt;/span&gt; &lt;span class="n"&gt;your&lt;/span&gt; &lt;span class="n"&gt;component&lt;/span&gt;&lt;span class="err"&gt;.&lt;/span&gt;
            &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="n"&gt;If&lt;/span&gt; &lt;span class="err"&gt;`&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="err"&gt;`&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;library&lt;/span&gt; &lt;span class="n"&gt;will&lt;/span&gt; &lt;span class="n"&gt;be&lt;/span&gt; &lt;span class="n"&gt;auto&lt;/span&gt; &lt;span class="n"&gt;initialized&lt;/span&gt; &lt;span class="n"&gt;with&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;default&lt;/span&gt; &lt;span class="n"&gt;settings&lt;/span&gt; &lt;span class="err"&gt;(&lt;/span&gt;&lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="err"&gt;.&lt;/span&gt;&lt;span class="n"&gt;g&lt;/span&gt;&lt;span class="err"&gt;.&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;you&lt;/span&gt; &lt;span class="n"&gt;won&lt;/span&gt;&lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt; &lt;span class="n"&gt;be&lt;/span&gt; &lt;span class="n"&gt;able&lt;/span&gt;
            &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;use&lt;/span&gt; &lt;span class="n"&gt;features&lt;/span&gt; &lt;span class="n"&gt;that&lt;/span&gt; &lt;span class="n"&gt;are&lt;/span&gt; &lt;span class="n"&gt;disabled&lt;/span&gt; &lt;span class="n"&gt;by&lt;/span&gt; &lt;span class="n"&gt;default&lt;/span&gt; &lt;span class="n"&gt;such&lt;/span&gt; &lt;span class="n"&gt;as&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;Workspaces&lt;/span&gt; &lt;span class="n"&gt;API&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;Search&lt;/span&gt; &lt;span class="n"&gt;API&lt;/span&gt;&lt;span class="err"&gt;).&lt;/span&gt;
            &lt;span class="nl"&gt;"autoInit"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"customProperties"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="n"&gt;Use&lt;/span&gt; &lt;span class="n"&gt;this&lt;/span&gt; &lt;span class="n"&gt;if&lt;/span&gt; &lt;span class="n"&gt;you&lt;/span&gt; &lt;span class="n"&gt;want&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;add&lt;/span&gt; &lt;span class="n"&gt;Salesforce&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="s2"&gt;"Add App"&lt;/span&gt; &lt;span class="n"&gt;menu&lt;/span&gt; &lt;span class="n"&gt;in&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="n"&gt;Workspace&lt;/span&gt;&lt;span class="err"&gt;.&lt;/span&gt;
        &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="n"&gt;This&lt;/span&gt; &lt;span class="n"&gt;will&lt;/span&gt; &lt;span class="n"&gt;enable&lt;/span&gt; &lt;span class="n"&gt;users&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;open&lt;/span&gt; &lt;span class="n"&gt;Salesforce&lt;/span&gt; &lt;span class="n"&gt;in&lt;/span&gt; &lt;span class="n"&gt;Workspaces&lt;/span&gt;&lt;span class="err"&gt;.&lt;/span&gt;
        &lt;span class="nl"&gt;"includeInWorkspaces"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  io.Connect Browser
&lt;/h3&gt;

&lt;p&gt;To be able to open your Lightning Out apps in io.Connect Windows or Workspaces in &lt;strong&gt;io.Connect Browser&lt;/strong&gt;, you must provide a valid &lt;a href="//../../../../browser/capabilities/app-management/index.html#app_definitions"&gt;app definitions&lt;/a&gt; for them when &lt;a href="//../../../../browser/developers/browser-platform/setup/index.html#initialization"&gt;initializing&lt;/a&gt; your Main app.&lt;/p&gt;

&lt;p&gt;The following is an example configuration for defining a Lightning Out app as an io.Connect app:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;IOBrowserPlatform&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"@interopio/browser-platform"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;config&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;licenseKey&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"my-license-key"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;applications&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="n"&gt;local&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
            &lt;span class="p"&gt;{&lt;/span&gt;
                &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"salesforce"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="kd"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"window"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="n"&gt;title&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Salesforce"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="n"&gt;details&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
                    &lt;span class="c1"&gt;// URL pointing to your Lightning Out app.&lt;/span&gt;
                    &lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://example.com/your-lightning-out-app/"&lt;/span&gt;
                &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="n"&gt;customProperties&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
                    &lt;span class="c1"&gt;// Use this if you want to add your app to the "Add App" menu in a Workspace.&lt;/span&gt;
                    &lt;span class="c1"&gt;// This will enable users to open the app in Workspaces.&lt;/span&gt;
                    &lt;span class="n"&gt;includeInWorkspaces&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
                &lt;span class="p"&gt;}&lt;/span&gt;
            &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;io&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nc"&gt;IOBrowserPlatform&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;config&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Usage
&lt;/h2&gt;

&lt;p&gt;The following sections describe the &lt;code&gt;InteropConsumerMixin&lt;/code&gt; component API and provide examples on how to implement an interop-enabled LWC.&lt;/p&gt;

&lt;h3&gt;
  
  
  Component API
&lt;/h3&gt;

&lt;p&gt;The &lt;code&gt;InteropConsumerMixin&lt;/code&gt; mixin provides a set of properties and methods that you can use to interop-enable your LWC.&lt;/p&gt;

&lt;p&gt;The mixin has the following methods that can be accessed via the &lt;code&gt;this&lt;/code&gt; object upon successful connection to the io.Connect framework:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;th&gt;Accepts&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;requestConnectionStatus()&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;()&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Use this method to request the current connection status. It sends an LMS message to the &lt;code&gt;lmsStandalone&lt;/code&gt; which will return &lt;code&gt;{isConnected}&lt;/code&gt; object as a response.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;executePlatformMessageCallback()&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;(string, boolean, object)&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Use this method to send a response to the &lt;code&gt;InteropConsumerMixin&lt;/code&gt; component about the result from the Interop method invocation. The component will relay the response to the calling app. Accepts three required arguments - the ID of the invocation (which can be extracted from event details), a Boolean value denoting whether the invocation &lt;code&gt;Promise&lt;/code&gt; should be resolved (&lt;code&gt;true&lt;/code&gt;) or rejected (&lt;code&gt;false&lt;/code&gt;), and the actual result from the method invocation to be passed to the calling app.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;registerMethod()&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;(string, string)&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Can be used instead of the &lt;code&gt;connected-methods&lt;/code&gt; property to register Interop methods for handling DOM events. Accepts as required arguments the name of the Interop method and the name of the DOM event.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;triggerOutbound()&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;(object)&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Invokes an Interop method registered by other interop-enabled apps. Accepts as a required argument an object with &lt;code&gt;method&lt;/code&gt; and &lt;code&gt;payload&lt;/code&gt; properties specifying the name of the Interop method to invoke and arguments for the invocation.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;unregisterMethod()&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;(string)&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Unregisters an Interop method. Accepts as a required argument the name of the Interop method to unregister.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The mixin provides the following hooks:&lt;br&gt;
| Method | Arguments | Description |&lt;br&gt;
|--------|-----------|-------------|&lt;br&gt;
| &lt;code&gt;connectedCallback()&lt;/code&gt; | &lt;code&gt;()&lt;/code&gt; | Used by the LWC rendering engine when the LWC component is initialized. This implementation subscribes for the correct LMS channels. |&lt;br&gt;
| &lt;code&gt;renderedCallback()&lt;/code&gt; | &lt;code&gt;()&lt;/code&gt; | Used by the LWC rendering engine when the LWC component is rendered. This implementation requests a connection status. |&lt;br&gt;
| &lt;code&gt;disconnectedCallback()&lt;/code&gt; | &lt;code&gt;()&lt;/code&gt; | Used by the LWC rendering engine when the LWC component is disconnected from the DOM. This implementation requests a connection status. |&lt;br&gt;
| &lt;code&gt;handlePlatformMessage()&lt;/code&gt; | &lt;code&gt;(object)&lt;/code&gt; | Used when a registered method is called from outside LWC's SF-application. |&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;LMSPlugin&lt;/code&gt; class provides the following properties:&lt;br&gt;
| Property | Type | Description |&lt;br&gt;
|----------|------|------------|&lt;br&gt;
| &lt;code&gt;listenToAPI&lt;/code&gt; | String | Sets the interop API method to listen for, e.g., &lt;code&gt;"My.LMS.Test.Inbound.Method"&lt;/code&gt;. |&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;LMSPlugin&lt;/code&gt; class provides the following hooks:&lt;br&gt;
| Method | Arguments | Description |&lt;br&gt;
|--------|-----------|-------------|&lt;br&gt;
| &lt;code&gt;onConnected()&lt;/code&gt; | &lt;code&gt;()&lt;/code&gt; | Registers the dedicated API method. |&lt;br&gt;
| &lt;code&gt;handlePlatformMessage()&lt;/code&gt; | &lt;code&gt;(object)&lt;/code&gt; | Determine if this Plugin instance is registering the API method and forwards to onInbound() hook. |&lt;br&gt;
| &lt;code&gt;onInbound()&lt;/code&gt; | &lt;code&gt;(string, object, string)&lt;/code&gt; | Executes custom logic on inbound API call. Accepts three required arguments - the ID of the invocation &lt;code&gt;method&lt;/code&gt; (which can be extracted from event details), a serializable &lt;code&gt;payload&lt;/code&gt; object and a sting with the &lt;code&gt;callbackID&lt;/code&gt; of the the invocation &lt;code&gt;Promise&lt;/code&gt; |&lt;/p&gt;

&lt;p&gt;The example &lt;code&gt;myInteropEnabledLms&lt;/code&gt; component provides the following hooks:&lt;br&gt;
| Method | Arguments | Description |&lt;br&gt;
|--------|-----------|-------------|&lt;br&gt;
| &lt;code&gt;onConnected()&lt;/code&gt; | &lt;code&gt;()&lt;/code&gt; | Initializes the Plugin instances. |&lt;br&gt;
| &lt;code&gt;handlePlatformMessage()&lt;/code&gt; | &lt;code&gt;(object)&lt;/code&gt; | Extends the mixin's method and forwards to onInbound in the registering Plugin. |&lt;/p&gt;
&lt;h3&gt;
  
  
  Example Implementation
&lt;/h3&gt;

&lt;p&gt;To interop-enable your LWC, you must:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;create a standard LWC with XML, HTML, and JavaScript files;&lt;/li&gt;
&lt;li&gt;use the &lt;code&gt;InteropConsumerMixin&lt;/code&gt; mixin in your LWC's JavaScript file to add the required functionality to your LWC;&lt;/li&gt;
&lt;li&gt;to use &lt;code&gt;Tick42__lmsStandalone&lt;/code&gt; in your home or record page or for best experience in one of your UtilityBars in the Lightning Applications;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The following examples demonstrate how to create an interop-enabled LWC that will be used in an &lt;strong&gt;io.Connect Desktop&lt;/strong&gt; platform. The component registers an Interop method that can be invoked by other interop-enabled apps, and also invokes an Interop method already registered by other interop-enabled apps.&lt;/p&gt;

&lt;p&gt;Example XML configuration for a LWC:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight xml"&gt;&lt;code&gt;&lt;span class="cp"&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;LightningComponentBundle&lt;/span&gt; &lt;span class="na"&gt;xmlns&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"http://soap.sforce.com/2006/04/metadata"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;apiVersion&amp;gt;&lt;/span&gt;60.0&lt;span class="nt"&gt;&amp;lt;/apiVersion&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;isExposed&amp;gt;&lt;/span&gt;true&lt;span class="nt"&gt;&amp;lt;/isExposed&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;description&amp;gt;&lt;/span&gt;This component demonstrates inbound and outbound interoperability between Salesforce and io.Connect apps.&lt;span class="nt"&gt;&amp;lt;/description&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;masterLabel&amp;gt;&lt;/span&gt;My LMS Interop-Enabled Component&lt;span class="nt"&gt;&amp;lt;/masterLabel&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;targets&amp;gt;&lt;/span&gt;
        &lt;span class="c"&gt;&amp;lt;!-- Salesforce pages targeted by the component. --&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;target&amp;gt;&lt;/span&gt;lightning__RecordPage&lt;span class="nt"&gt;&amp;lt;/target&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;target&amp;gt;&lt;/span&gt;lightning__AppPage&lt;span class="nt"&gt;&amp;lt;/target&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;target&amp;gt;&lt;/span&gt;lightning__HomePage&lt;span class="nt"&gt;&amp;lt;/target&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/targets&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/LightningComponentBundle&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example &lt;code&gt;myInteropEnabledLms.html&lt;/code&gt; structure of an interop-enabled LWC that uses the &lt;code&gt;InteropConsumerMixin&lt;/code&gt; mixin:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;template&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;lightning-card&lt;/span&gt; &lt;span class="na"&gt;title&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"My Interop-Enabled LMS Component"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;class&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"slds-p-horizontal_medium slds-p-bottom_small"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
            &lt;span class="nt"&gt;&amp;lt;div&amp;gt;&lt;/span&gt;
                &lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;
                    Active plugins: {pluginStack}
                &lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
                &lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;state: {state}&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
                &lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;last received value: {lastReceived}&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
            &lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;

    &lt;span class="nt"&gt;&amp;lt;/lightning-card&amp;gt;&lt;/span&gt;

&lt;span class="nt"&gt;&amp;lt;/template&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example &lt;code&gt;myInteropEnabledLms.js&lt;/code&gt; implementation of an interop-enabled LWC:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nc"&gt;LightningElement&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;track&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'lwc'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nc"&gt;LMSPlugin&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;ListenPlugin&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;BroadcastPlugin&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'./plugins.js'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nc"&gt;InteropConsumerMixin&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'./lmsMixin.js'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;default&lt;/span&gt; &lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;MyInteropEnabledLms&lt;/span&gt; &lt;span class="k"&gt;extends&lt;/span&gt; &lt;span class="nc"&gt;InteropConsumerMixin&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;LightningElement&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;pluginInstances&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="n"&gt;plugins&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nc"&gt;ListenPlugin&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;BroadcastPlugin&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nd"&gt;@track&lt;/span&gt;
    &lt;span class="n"&gt;state&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"start"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="n"&gt;lastReceived&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="n"&gt;get&lt;/span&gt; &lt;span class="nf"&gt;pluginStack&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plugins&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;cls&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;=&amp;gt;&lt;/span&gt;&lt;span class="n"&gt;cls&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;join&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;", "&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="c1"&gt;// This is a simple check that the plugins are of the correct type&lt;/span&gt;
    &lt;span class="nf"&gt;connectedCallback&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;super&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;connectedCallback&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;super&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;connectedCallback&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plugins&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="k"&gt;return&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;

        &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plugins&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;forEach&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;plugin&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;

            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;plugin&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;prototype&lt;/span&gt; &lt;span class="k"&gt;instanceof&lt;/span&gt; &lt;span class="nc"&gt;LMSPlugin&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
                &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nb"&gt;Error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sb"&gt;`io.Connect: the plugin ${plugin.name} must extend the ${LMSPlugin.name} class!`&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="p"&gt;}&lt;/span&gt;
            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;typeof&lt;/span&gt; &lt;span class="n"&gt;plugin&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;prototype&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;onConnected&lt;/span&gt; &lt;span class="o"&gt;!==&lt;/span&gt; &lt;span class="s1"&gt;'function'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
                &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nb"&gt;Error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'io.Connect: Error configuring WorkspaceUtilityBar.\n A Plugin Class must have an onConnected method!'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;


    &lt;span class="n"&gt;init&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="n"&gt;isConnected&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nf"&gt;handleConnectionStatusUpdate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;super&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;handleConnectionStatusUpdate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;isConnected&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;init&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;init&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;onConnected&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;state&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"ready"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="nf"&gt;onConnected&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;super&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;onConnected&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;super&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;onConnected&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plugins&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="k"&gt;return&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;

        &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plugins&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;forEach&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;PluginClass&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;=&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;instance&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;PluginClass&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;io&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;pluginInstances&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;push&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;instance&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="n"&gt;instance&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;onConnected&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="nf"&gt;handlePlatformMessage&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;super&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;handlePlatformMessage&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;super&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;handlePlatformMessage&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plugins&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="k"&gt;return&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;

        &lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;lastValue&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;pluginInstances&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;forEach&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;instance&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;=&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="n"&gt;lastValue&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;lastValue&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="n"&gt;instance&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;handlePlatformMessage&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;lastReceived&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;lastValue&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="c1"&gt;// disconnectedCallback() {&lt;/span&gt;
    &lt;span class="c1"&gt;//     if (super.disconnectedCallback) super.disconnectedCallback();&lt;/span&gt;
    &lt;span class="c1"&gt;// }&lt;/span&gt;

    &lt;span class="c1"&gt;// connectedCallback() {&lt;/span&gt;
    &lt;span class="c1"&gt;//     if (super.connectedCallback) super.connectedCallback();&lt;/span&gt;
    &lt;span class="c1"&gt;// }&lt;/span&gt;

    &lt;span class="c1"&gt;// renderedCallback() {&lt;/span&gt;
    &lt;span class="c1"&gt;//     if (super.renderedCallback) super.renderedCallback();&lt;/span&gt;
    &lt;span class="c1"&gt;// }&lt;/span&gt;

&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example &lt;code&gt;plugins.js&lt;/code&gt; implementation of an interop-enabled LWC:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="no"&gt;TEST_INBOUND_METHOD&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"My.LMS.Test.Inbound.Method"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="no"&gt;TEST_OUTBOUND_METHOD&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"My.LMS.Test.Outbound.Method"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;


&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;LMSPlugin&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;listenToAPI&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="n"&gt;registered&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nf"&gt;constructor&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;_io&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;parent&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;parent&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;parent&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="nf"&gt;onConnected&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;listenToAPI&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;registered&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;registered&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;registerMethod&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;listenToAPI&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="cm"&gt;/**
     * @description handles interop incoming message from other connected component, i.e. 'T42.SF.Test.Inbound'
     * @param {Object} message - invocation message with:
     *  - {string} method - the name of the remote method to be executed in the connected component
     *  - {Object} payload - the payload to be passed to the remote method
     *  - {string} callbackID - the internal auto generated callback ID
     */&lt;/span&gt;
    &lt;span class="nf"&gt;handlePlatformMessage&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;listenToAPI&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;method&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;listenToAPI&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;onInbound&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;method&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;callbackID&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="s1"&gt;''&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="cm"&gt;/**
     * @description handles interop incoming message from other connected component, i.e. 'T42.SF.Test.Inbound'
     * @param {string} method - the name of the remote method to be executed in the connected component
     * @param {Object} payload - the payload to be passed to the remote method
     * @param {string} callbackID - the internal auto generated callback ID
     */&lt;/span&gt;
    &lt;span class="c1"&gt;// eslint-disable-next-line no-unused-vars&lt;/span&gt;
    &lt;span class="nf"&gt;onInbound&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;method&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;callbackID&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nb"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;debug&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sb"&gt;`ioConnect: platform message (${method}) received`&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="c1"&gt;// it is @api in InteropConsumerMixin&lt;/span&gt;
    &lt;span class="nf"&gt;requestConnectionStatus&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;parent&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;requestConnectionStatus&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="c1"&gt;// it is @api in InteropConsumerMixin&lt;/span&gt;
    &lt;span class="nf"&gt;executePlatformMessageCallback&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;parent&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;executePlatformMessageCallback&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="c1"&gt;// it is @api in InteropConsumerMixin&lt;/span&gt;
    &lt;span class="nf"&gt;triggerOutbound&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;parent&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;triggerOutbound&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="c1"&gt;// it is @api in InteropConsumerMixin&lt;/span&gt;
    &lt;span class="nf"&gt;registerMethod&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;parent&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;registerMethod&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="c1"&gt;// it is @api in InteropConsumerMixin&lt;/span&gt;
    &lt;span class="nf"&gt;unregisterMethod&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;parent&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;unregisterMethod&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;


&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;ListenPlugin&lt;/span&gt; &lt;span class="k"&gt;extends&lt;/span&gt; &lt;span class="nc"&gt;LMSPlugin&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;listenToAPI&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="no"&gt;TEST_INBOUND_METHOD&lt;/span&gt;
    &lt;span class="nf"&gt;onConnected&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;super&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;onConnected&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="nb"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sb"&gt;`ioConnect: ${this.constructor.name}`&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="cm"&gt;/**
     * @description handles interop incoming message from other io-connected application, i.e. 'My.LMS.Test.Inbound.Method'
     * @param {string} method - the name of the remote method to be executed in the connected component
     * @param {Object} payload - the payload to be passed to the remote method
     * @param {string} callbackID - the internal auto generated callback ID
     */&lt;/span&gt;
    &lt;span class="nf"&gt;onInbound&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;method&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;callbackID&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;value&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;method&lt;/span&gt; &lt;span class="o"&gt;!==&lt;/span&gt; &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;listenToAPI&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nb"&gt;Error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sb"&gt;`Expected to receive (${this.listenToAPI}) it's own registered method, but received ${method}`&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="c1"&gt;// If `true`, the `lmsStandalone` component will resolve the invocation `Promise`.&lt;/span&gt;
        &lt;span class="c1"&gt;// If `false`, the `lmsStandalone` component will reject the invocation `Promise`.&lt;/span&gt;
        &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;isSuccessful&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;value&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="c1"&gt;// Result that will be returned from invoking the Interop method.&lt;/span&gt;
        &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;invocationResult&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s2"&gt;"OK"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;value&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

        &lt;span class="c1"&gt;// Send a response to the `lmsStandalone` component.&lt;/span&gt;
        &lt;span class="c1"&gt;// The `lmsStandalone` component will relay the response to the calling app.&lt;/span&gt;
        &lt;span class="k"&gt;super&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;executePlatformMessageCallback&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;callbackID&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;isSuccessful&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;invocationResult&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

        &lt;span class="nb"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sb"&gt;`onInbound: data received: ${value}.`&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

        &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;lastValue&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;value&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;lastValue&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;BroadcastPlugin&lt;/span&gt; &lt;span class="k"&gt;extends&lt;/span&gt; &lt;span class="nc"&gt;LMSPlugin&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nf"&gt;onConnected&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;super&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;onConnected&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="nb"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sb"&gt;`ioConnect: ${this.constructor.name}`&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="c1"&gt;// Invoke an outbound Interop method.&lt;/span&gt;
        &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;triggerOutbound&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="nb"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sb"&gt;`onConnected: sending ${TEST_OUTBOUND_METHOD}`&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="nf"&gt;triggerOutbound&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="c1"&gt;// Providing the name of the Interop method to invoke and arguments for the invocation.&lt;/span&gt;
        &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;args&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="n"&gt;method&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;TEST_OUTBOUND_METHOD&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;value&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"value"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

        &lt;span class="c1"&gt;// Invoke an outbound Interop method.&lt;/span&gt;
        &lt;span class="c1"&gt;// Alternatively, you can use the io.Connect API directly: this.io.interop.invoke(args.method, args.payload);&lt;/span&gt;
        &lt;span class="k"&gt;super&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;triggerOutbound&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example &lt;code&gt;lmsMixin.js&lt;/code&gt; implementation of an interop-enabled LWC:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// import {EnclosingUtilityId, getInfo, getUtilityInfo, open, minimize, updatePanel, updateUtility} from 'lightning/platformUtilityBarApi';&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;api&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"lwc"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="no"&gt;APPLICATION_SCOPE&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;createMessageContext&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;publish&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;releaseMessageContext&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;subscribe&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;unsubscribe&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"lightning/messageService"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="no"&gt;CONNECTION_STATUS_UPDATE&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"@salesforce/messageChannel/Tick42__ConnectionStatusUpdate__c"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="no"&gt;CONNECTION_STATUS_REQUEST&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"@salesforce/messageChannel/Tick42__ConnectionStatusUpdateRequest__c"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="no"&gt;PLATFORM_MESSAGE&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"@salesforce/messageChannel/Tick42__PlatformMessage__c"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="no"&gt;PLATFORM_MESSAGE_CALLBACK&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"@salesforce/messageChannel/Tick42__PlatformMessageCallback__c"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="no"&gt;PLATFORM_MESSAGE_REGISTER&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"@salesforce/messageChannel/Tick42__PlatformMessageRegister__c"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="no"&gt;PLATFORM_MESSAGE_UNREGISTER&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"@salesforce/messageChannel/Tick42__PlatformMessageUnregister__c"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="no"&gt;SALESFORCE_MESSAGE&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"@salesforce/messageChannel/Tick42__SalesforceMessage__c"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nc"&gt;InteropConsumerMixin&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Base&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;=&amp;gt;&lt;/span&gt;&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nf"&gt;extends&lt;/span&gt; &lt;span class="nc"&gt;Base&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;messageContext&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;createMessageContext&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// LMS context&lt;/span&gt;
    &lt;span class="n"&gt;subscriptions&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// the LMS subscriptions&lt;/span&gt;

    &lt;span class="nf"&gt;connectedCallback&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;super&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;connectedCallback&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;super&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;connectedCallback&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;subscribeToMessageChannels&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="nf"&gt;subscribeToMessageChannels&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;subscriptions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;

        &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;subscriptions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;push&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;subscribe&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
            &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;messageContext&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="no"&gt;PLATFORM_MESSAGE&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;handlePlatformMessage&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;scope&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;APPLICATION_SCOPE&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;subscriptions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;push&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;subscribe&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
            &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;messageContext&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="no"&gt;CONNECTION_STATUS_UPDATE&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;handleConnectionStatusUpdate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;scope&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;APPLICATION_SCOPE&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="cm"&gt;/**
     * @description handles interop incoming message from other connected component, i.e. 'T42.SF.Test.Inbound'
     * @param {Object} message - invocation message with:
     *  - {string} method - the name of the remote method to be executed in the connected component
     *  - {Object} payload - the payload to be passed to the remote method
     *  - {string} callbackID - the internal auto generated callback ID
     */&lt;/span&gt;
    &lt;span class="nf"&gt;handlePlatformMessage&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nb"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;debug&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sb"&gt;`ioConnect: platform message (${message.method}) received`&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="nf"&gt;handleConnectionStatusUpdate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;isConnected&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="n"&gt;isConnected&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;isConnected&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;isConnected&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="nf"&gt;unsubscribeFromMessageChannels&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;subscriptions&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;subscriptions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;forEach&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;unsubscribe&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;subscriptions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="nf"&gt;disconnectedCallback&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;super&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;disconnectedCallback&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;super&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;disconnectedCallback&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;unsubscribeFromMessageChannels&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="nf"&gt;releaseMessageContext&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;messageContext&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="nf"&gt;renderedCallback&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="c1"&gt;// Note: all @wire are executed before renderedCallback()&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;super&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;renderedCallback&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;super&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;renderedCallback&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;requestConnectionStatus&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="nd"&gt;@api&lt;/span&gt;
    &lt;span class="nf"&gt;requestConnectionStatus&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nf"&gt;publish&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;messageContext&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;CONNECTION_STATUS_REQUEST&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="cm"&gt;/**
     * A Platform-call result callback
     * @param {String} callbackID the callback ID
     * @param {Boolean} isSuccess the state of result
     * @param {Object} payload the data to send to the callback
     */&lt;/span&gt;
    &lt;span class="nd"&gt;@api&lt;/span&gt;
    &lt;span class="nf"&gt;executePlatformMessageCallback&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;callbackID&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;isSuccess&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="n"&gt;callbackID&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;typeof&lt;/span&gt; &lt;span class="n"&gt;callbackID&lt;/span&gt;&lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="s1"&gt;'string'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="k"&gt;typeof&lt;/span&gt; &lt;span class="n"&gt;isSuccess&lt;/span&gt; &lt;span class="o"&gt;!==&lt;/span&gt; &lt;span class="s1"&gt;'boolean'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="nb"&gt;Error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'ioConnect: callbackID and status are required\n callbackID is an auto generated system ID for the Promise callbacks\n and status is a boolean where you need to program it\'s value as true or false.'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="nf"&gt;publish&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;messageContext&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;PLATFORM_MESSAGE_CALLBACK&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;callbackID&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;status&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;isSuccess&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="cm"&gt;/**
     * Sends a Platform message request
     * @param {Object} payload the data to send to the platform
     */&lt;/span&gt;
    &lt;span class="nd"&gt;@api&lt;/span&gt;
    &lt;span class="nf"&gt;triggerOutbound&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nf"&gt;publish&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;messageContext&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;SALESFORCE_MESSAGE&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="nd"&gt;@api&lt;/span&gt;
    &lt;span class="nf"&gt;registerMethod&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;method&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nf"&gt;publish&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;messageContext&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;PLATFORM_MESSAGE_REGISTER&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;method&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="nd"&gt;@api&lt;/span&gt;
    &lt;span class="nf"&gt;unregisterMethod&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;method&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nf"&gt;publish&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;messageContext&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;PLATFORM_MESSAGE_UNREGISTER&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;method&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://community.interop.io/t/salesforce-lightning-locker-and-io-connect-platform-connected-components-standalone/76" rel="noopener noreferrer"&gt;Originally published on interop.io Community&lt;/a&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>architecture</category>
      <category>frontend</category>
      <category>api</category>
    </item>
    <item>
      <title>Understanding logs in io.Connect</title>
      <dc:creator>Toni Petov</dc:creator>
      <pubDate>Thu, 16 Oct 2025 08:43:05 +0000</pubDate>
      <link>https://dev.to/interopio/understanding-logs-in-ioconnect-43e0</link>
      <guid>https://dev.to/interopio/understanding-logs-in-ioconnect-43e0</guid>
      <description>&lt;p&gt;&lt;em&gt;Original Community author: &lt;a href="https://community.interop.io/u/Simeon_S" rel="noopener noreferrer"&gt;Simeon_S&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;People talk about flashy frameworks, IDEs, and now AI copilots as the ultimate tools for developers. But I think logs hide real superpowers that we often overlook. They’re like truth serum you give to your apps, and they will reveal their secrets. Because they track every action, error, and alert, digging into logs can save you from embarrassing bugs and help you catch issues before they crush end-users’ systems.&lt;/p&gt;

&lt;p&gt;Logs provide valuable insights into a program’s activities. Typically, logs offer various severity levels, ranging from detailed step-by-step records to general overviews of the software’s execution during log generation. This data aids us in analyzing software, performance, and security issues. It is important to note that log files rarely provide the exact reason for an issue in plain text. Instead, log analysis is used to understand and diagnose problems by reconstructing events.&lt;/p&gt;

&lt;p&gt;There are multiple types of logs and storage locations. We will focus on application-type logs stored locally or locally like, meaning without the use of a dedicated logging system or log management software.&lt;/p&gt;

&lt;h2&gt;
  
  
  How are the log files structured in io.Connect?
&lt;/h2&gt;

&lt;p&gt;We use:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;log4js for our JavaScript-based code&lt;/li&gt;
&lt;li&gt;log4net for our .NET components&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;log4js&lt;/strong&gt; is a powerful logging library for Node.js, based on the Java log4j framework. It supports various flexible and configurable log levels and appenders.&lt;/p&gt;

&lt;p&gt;The log4js library offers flexibility because its behavior and settings are controlled through JSON configuration files (rather than being hardcoded). We use file and console-type appenders, but you can also use various custom appenders (learn how here &lt;a href="https://docs.interop.io/desktop/developers/configuration/system/index.html#logging-custom_log_appenders" rel="noopener noreferrer"&gt;https://docs.interop.io/desktop/developers/configuration/system/index.html#logging-custom_log_appenders&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;Additionally log4js allows log message formatting and filtering.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;log4js&lt;/strong&gt; appenders:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;strong&gt;Appender Type&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;Use Case&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;File Appenders&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Writes logs to files on the disk.&lt;/td&gt;
&lt;td&gt;Primary appender in io.Connect Desktop.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Console Appenders&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Writes logs to the console.&lt;/td&gt;
&lt;td&gt;Useful for debugging and development.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;FTP Appenders&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Writes logs to a remote FTP server.&lt;/td&gt;
&lt;td&gt;Useful for centralized logging.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;log4js&lt;/strong&gt; log levels:&lt;/p&gt;

&lt;p&gt;A log level is the severity or priority of a log event (debug, info, etc). Whether an appender will see the event or not is determined by the layout.&lt;/p&gt;

&lt;p&gt;We use the following layout:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Format Example&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;[&amp;lt;DATE&amp;gt;] [&amp;lt;LEVEL&amp;gt;] [&amp;lt;COMPONENT&amp;gt;] - [&amp;lt;MESSAGE&amp;gt;]&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;DATE:&lt;/strong&gt; The timestamp of the log entry. Provides the context of when the event occurred.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;LEVEL:&lt;/strong&gt; The severity level of the log entry (e.g., DEBUG, INFO, WARN, ERROR, FATAL). Indicates the importance and urgency of the message.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;COMPONENT:&lt;/strong&gt; The part of the application generating the log.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MESSAGE:&lt;/strong&gt; The actual log message. Describes the event or error being logged.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Note: *&lt;/em&gt;.NET** logs also include &lt;code&gt;[&amp;lt;THREAD-ID&amp;gt;]&lt;/code&gt;.*&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Defaults settings&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Log files roll over when they reach a certain size (10MB in io.cd case).&lt;/li&gt;
&lt;li&gt;A maximum of N rolled-over log files are kept (5 in io.cd case).&lt;/li&gt;
&lt;li&gt;Oldest log files are deleted when the limit is reached.&lt;/li&gt;
&lt;li&gt;Can be configured via %LocalAppData%\interop.io\io.Connect Desktop\Desktop\config\logger.json&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Important:&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Interop.io does not log sensitive data. We only log what the software is executing.&lt;/li&gt;
&lt;li&gt;The timestamps in the log file reflect the time of the machine on which the application is running.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Tools for Log Analysis
&lt;/h2&gt;

&lt;p&gt;Logs are formatted to be compatible with simple text editors like Notepad, as well as more complex solutions like Splunk, and everything in between, depending on your choice. As a bare minimum, we recommend using Notepad++ for log analysis and working with .json files.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Basic editors: Notepad, Notepad++, JSON formatters&lt;/li&gt;
&lt;li&gt;Advanced: Splunk, Graylog, Datadog, etc.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Log Files Overview
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Application log
&lt;/h3&gt;

&lt;p&gt;The &lt;strong&gt;application.log&lt;/strong&gt; file is the main log generated by the Electron application, which drives the logic, applications, windows, layouts, etc, for io.Connect Desktop. This file should usually be the starting point in the analysis process.&lt;/p&gt;

&lt;p&gt;Default location: &lt;strong&gt;&lt;code&gt;%LocalAppData%\interop.io\io.Connect Desktop\UserData\&amp;lt;ENV&amp;gt;-&amp;lt;REG&amp;gt;\logs&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;ENV&amp;gt;-&amp;lt;REG&amp;gt;&lt;/code&gt; - represents the environment and region of io.Connect Desktop (e.g., DEMO-INTEROP.IO)&lt;/p&gt;

&lt;h3&gt;
  
  
  Bridge log
&lt;/h3&gt;

&lt;p&gt;The &lt;strong&gt;bridge.log&lt;/strong&gt; file is the log file of the .NET component in io.Desktop, responsible for the logic behind the windows (not to be confused with the OS).&lt;/p&gt;

&lt;p&gt;Default location: &lt;strong&gt;&lt;code&gt;%LocalAppData%\interop.io\io.Connect Desktop\UserData\&amp;lt;ENV&amp;gt;-&amp;lt;REG&amp;gt;\log&lt;/code&gt;s&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Gilding log
&lt;/h3&gt;

&lt;p&gt;The &lt;strong&gt;gilding.log&lt;/strong&gt; file is generated by &lt;strong&gt;gilding.exe&lt;/strong&gt;, a tiny .NET application used for starting and tracking the lifetime of the main io Application. This way &lt;strong&gt;gilding.exe&lt;/strong&gt; can collect logs in case the main .exe crashes.&lt;/p&gt;

&lt;p&gt;Default location: &lt;strong&gt;&lt;code&gt;%LocalAppData%\interop.io\io.Connect Desktop\UserData\&amp;lt;ENV&amp;gt;-&amp;lt;REG&amp;gt;\logs&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Getway log
&lt;/h3&gt;

&lt;p&gt;The &lt;strong&gt;gw.log&lt;/strong&gt; file logs the activities of the message bus of io.Connect Desktop. In the current version, it is written in &lt;strong&gt;Node.js&lt;/strong&gt; (was written in Java in the past).&lt;/p&gt;

&lt;p&gt;Default location: &lt;strong&gt;&lt;code&gt;%LocalAppData%\interop.io\io.Connect Desktop\UserData\&amp;lt;ENV&amp;gt;-&amp;lt;REG&amp;gt;\logs&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Installer log
&lt;/h3&gt;

&lt;p&gt;The &lt;strong&gt;installer.log&lt;/strong&gt; file is created by io.Connect Desktop during installation.&lt;/p&gt;

&lt;p&gt;Default location: &lt;strong&gt;%&lt;code&gt;LocalAppData%\interop.io\io.Connect Desktop\Installer&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Adapter logs
&lt;/h3&gt;

&lt;p&gt;The adapters logs are generated by the various adapters, like Outlook, Word, Excel, etc.&lt;/p&gt;

&lt;p&gt;Default location: &lt;strong&gt;&lt;code&gt;%LocalAppData%\interop.io\io.Connect Desktop\UserData\ApplicationAdapters&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Application-specific logs
&lt;/h3&gt;

&lt;p&gt;The application-specific logs are written by the applications participating in the io.Connect Desktop. You can use the API-s to log messages.&lt;/p&gt;

&lt;p&gt;Default location: &lt;strong&gt;&lt;code&gt;%LocalAppData%\interop.io\io.Connect Desktop\UserData\&amp;lt;ENV&amp;gt;-&amp;lt;REG&amp;gt;\logs\applications&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Important: application-specific logs are not to be confused with the Electron application.log.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgu1n9kd3e7ofa4fp2b0d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgu1n9kd3e7ofa4fp2b0d.png" alt="Example of application logs" width="800" height="215"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;From &lt;strong&gt;9.9&lt;/strong&gt; onward you can funnel a web app’s own uncaught errors, console messages and failed network requests into the shared &lt;strong&gt;application.log&lt;/strong&gt; (under &lt;strong&gt;&lt;code&gt;&amp;lt;installation_location&amp;gt;/interop.io/io.Connect Desktop/UserData/&amp;lt;ENV&amp;gt;-&amp;lt;REG&amp;gt;/logs&lt;/code&gt;&lt;/strong&gt;) so frontend events sit in the same timeline as platform activity.&lt;/p&gt;

&lt;p&gt;Learn how to enable and configure it here - &lt;a href="https://docs.interop.io/desktop/capabilities/more/apis/index.html#logging-capturing_client_app_errors" rel="noopener noreferrer"&gt;https://docs.interop.io/desktop/capabilities/more/apis/index.html#logging-capturing_client_app_errors&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Extra: Crash reports
&lt;/h3&gt;

&lt;p&gt;io.Connect Desktop can automatically capture &lt;strong&gt;crash dumps&lt;/strong&gt; whenever any of its processes crashes.&lt;/p&gt;

&lt;p&gt;Default location: &lt;strong&gt;&lt;code&gt;%LocalAppData%\interop.io\io.Connect Desktop\UserData\&amp;lt;ENV&amp;gt;-&amp;lt;REG&amp;gt;\logs\crashes&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The feature can be turned on by adding the crashReporter block to system.json:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
  "crashReporter": {
    "enabled": true,
    "companyName": "Your Company",
    "productName": "Your Product",
    "folderPath": "%LocalAppData%/interop.io/io.Connect Desktop/crashes",
    "output": {
      "type": "local"   // local | server | backtrace
    }
  }
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  &lt;strong&gt;Output types&lt;/strong&gt;
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Behaviour&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;local&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Writes .dmp files under /reports.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;server&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;POSTs the crash payload to the REST endpoint set by serverUrl. Use this to forward dumps to &lt;strong&gt;io.Manager&lt;/strong&gt; or a custom service.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;backtrace&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Sends the report to a Backtrace instance (supply backTraceConfig).&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Example for sending dumps to io.Manager:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
  "crashReporter": {
    "output": {
      "type": "server",
      "serverUrl": "http://localhost:4356/api/crashes"
    }
  }
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  &lt;strong&gt;Dump‑file maintenance&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Add an optional dumps object under output to control retention:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
  "crashReporter": {
    "output": {
      "dumps": {
        "limit": 10,
        "deleteOnSent": true
      }
    }
  }
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;limit&lt;/strong&gt; – maximum number of dump files kept between restarts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;deleteOnSent&lt;/strong&gt; – remove a dump after successful upload instead of archiving to /sent.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Reviewing Log Files – Best Practices &amp;amp; Use cases
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Identify session boundaries and total number of runs.&lt;/li&gt;
&lt;li&gt;Confirm version and environment metadata.&lt;/li&gt;
&lt;li&gt;Review the full system configuration.&lt;/li&gt;
&lt;li&gt;Trace warnings/errors across log sets.&lt;/li&gt;
&lt;li&gt;Analyze each process from start to finish, across rolled-over logs if necessary.&lt;/li&gt;
&lt;li&gt;Identify the user environment.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  System log rotation
&lt;/h2&gt;

&lt;p&gt;Starting with &lt;strong&gt;io.Connect Desktop 9.3&lt;/strong&gt; you can tell the platform what to do with older logs on startup. The setting lives under logging.files in &lt;strong&gt;system.json&lt;/strong&gt; and lets you keep your log folder clean without scripting a clean‑up job.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;onStartup value&lt;/th&gt;
&lt;th&gt;Effect&lt;/th&gt;
&lt;th&gt;Good for&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;keep (default)&lt;/td&gt;
&lt;td&gt;Leave yesterday’s files alone.&lt;/td&gt;
&lt;td&gt;Workstations where disk isn’t an issue.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;delete&lt;/td&gt;
&lt;td&gt;Remove the whole log folder before new session starts.&lt;/td&gt;
&lt;td&gt;Locked‑down VDI or demo pods.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;archive&lt;/td&gt;
&lt;td&gt;Move files to moveOldTo or default archive path.&lt;/td&gt;
&lt;td&gt;Debugging long‑running issues across days.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;See how to configure it here: &lt;a href="https://docs.interop.io/desktop/developers/configuration/system/index.html#logging-system_logs-log_files" rel="noopener noreferrer"&gt;https://docs.interop.io/desktop/developers/configuration/system/index.html#logging-system_logs-log_files&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the next article, we’ll share some use cases and frequently used keywords that can help find useful information.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://community.interop.io/t/understanding-logs-in-io-connect/36" rel="noopener noreferrer"&gt;Originally published on interop.io Community&lt;/a&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>monitoring</category>
      <category>devops</category>
      <category>performance</category>
    </item>
    <item>
      <title>Examining logs in practice</title>
      <dc:creator>Toni Petov</dc:creator>
      <pubDate>Thu, 16 Oct 2025 08:35:07 +0000</pubDate>
      <link>https://dev.to/interopio/examining-logs-in-practice-49of</link>
      <guid>https://dev.to/interopio/examining-logs-in-practice-49of</guid>
      <description>&lt;p&gt;&lt;em&gt;Original Community author: &lt;a href="https://community.interop.io/u/Simeon_S" rel="noopener noreferrer"&gt;Simeon_S&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In a previous article (&lt;a href="https://community.interop.io/t/understanding-logs-in-io-connect/36/1" rel="noopener noreferrer"&gt;https://community.interop.io/t/understanding-logs-in-io-connect/36/1&lt;/a&gt;) we  covered some logs io.Connect stores and how to configure them based on our needs and context. In this article we'll go through some sample use cases and common scenarios, and show where to look to find the root cause.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to identify the start of a run
&lt;/h2&gt;

&lt;p&gt;To identify the version of the component and how many runs you have in the log file, search for the string "&lt;strong&gt;===== "&lt;/strong&gt; (5 equal symbols and an empty space) in &lt;strong&gt;application.log&lt;/strong&gt;. Each run will begin with logging the mentioned string. In the example below you can see GlueDesktop being started 6 times over the reviewed log - you have 6 different hits searching with "&lt;strong&gt;=====&lt;/strong&gt; ". Note that if you omit the empty space at the end of the search string, you need to divide the result by 2 since the equal sign string is used twice on each line:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3awicdq1f4nl52z69z6n.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3awicdq1f4nl52z69z6n.jpeg" alt="image" width="800" height="505"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How to check components versions and Environment &amp;amp; Region
&lt;/h2&gt;

&lt;p&gt;Right under the io.Connect Desktop version, you can see other details such as the user environment, host OS settings, system configuration, all versions of the different components comprising the io.Connect Desktop, and the command line used to start the inner .exe. This is useful because sometimes there are extra parameters here that could explain certain behaviors.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5ze33kjns1ngurgqdo73.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5ze33kjns1ngurgqdo73.png" alt="image" width="800" height="121"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here is an example of the components visualized in a .json format:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu3900rafrp8gdmuqdpax.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu3900rafrp8gdmuqdpax.jpeg" alt="image" width="467" height="891"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Check which version of the components you are reviewing.&lt;/strong&gt; Sometimes, the resolution is in a newer version.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to check the full system configuration
&lt;/h2&gt;

&lt;p&gt;Search for the “&lt;strong&gt;full system config&lt;/strong&gt;” string to find the system configuration. The data is in .json format and can be additionally formatted for easier reading. As mentioned, issues can stem solely from configuration. Keep in mind that the io.Connect Desktop configuration can be locally based or fetched from a remote server during your analysis.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7cit6bbp4sox4f9mk67p.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7cit6bbp4sox4f9mk67p.jpeg" alt="image" width="800" height="135"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How to check running application list
&lt;/h2&gt;

&lt;p&gt;To see a running app list, search with the string ‘&lt;strong&gt;app-mgr - app list&lt;/strong&gt;’. Note that this list will change over time, as not all applications are loaded at startup - some are initiated by user clicks or intents from other applications as part of a workflow.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flroaoj3nfn3uac2z1l5w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flroaoj3nfn3uac2z1l5w.png" alt="image" width="800" height="60"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How to check all auto started applications
&lt;/h2&gt;

&lt;p&gt;To search for all applications that are auto-start configured, search for the “&lt;strong&gt;auto-start-apps&lt;/strong&gt;” string:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbrghj7k9ln6yb8ykn2yj.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbrghj7k9ln6yb8ykn2yj.jpeg" alt="image" width="799" height="109"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How to check the life cycle of a specific application
&lt;/h2&gt;

&lt;p&gt;To see all starts of a particular application you are interested in, use the string "&lt;strong&gt;app  - starting&lt;/strong&gt;".&lt;br&gt;
This is used not only to check whether an application started (or attempted to), but also to track the full lifetime of the app. A token (eqyKWn3I3g in the screenshot below) will be created for each start, which can later be used to track the application in the bridge.log file. This allows you to cross-check between different log files.&lt;/p&gt;

&lt;p&gt;Using the same approach, you can also see and obtain the window ID(15380_2 in the screenshot below), which you can use to track the lifetime of the app window.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpo133mblz63k4c9sot9y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpo133mblz63k4c9sot9y.png" alt="image" width="800" height="89"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How to track layout restoration
&lt;/h2&gt;

&lt;p&gt;To track the layout restoration, search for “&lt;strong&gt;restoring layout name&lt;/strong&gt;”. You can copy and explore the restore options and the full layout definition. You can also get the token from the layout/manager call and track the restore operation. In the screenshot below, the token is [Hde_9GOUn2]. To check the completion event, search for “restore successful, duration:”&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvkx1ze611t3zckkfar1p.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvkx1ze611t3zckkfar1p.jpeg" alt="image" width="800" height="142"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How to track workspace restoration
&lt;/h2&gt;

&lt;p&gt;To track workspace restoration, search for “&lt;strong&gt;Received control operation openWorkspace&lt;/strong&gt;”&lt;/p&gt;

&lt;p&gt;If no frame is available -&amp;gt; “&lt;strong&gt;Creating new frame for workspace&lt;/strong&gt;”&lt;/p&gt;

&lt;p&gt;If frame is available -&amp;gt; “&lt;strong&gt;Creating new workspace 4sXYbDX1g8 in frame 50736_sf_2&lt;/strong&gt;”&lt;/p&gt;

&lt;h2&gt;
  
  
  How to check Protocol handler usage
&lt;/h2&gt;

&lt;p&gt;The protocol handler is invoked when a URL is clicked in the browser, or a file is opened in the file explorer. It goes to &lt;strong&gt;gilding.exe&lt;/strong&gt;, which sends the request to the Electron main process via a pipe message. You can cross-check this &lt;strong&gt;in the gilding logs&lt;/strong&gt; and &lt;strong&gt;in the application log&lt;/strong&gt;.&lt;br&gt;
1.1 Gilding logs - look at the startup arguments. These startup arguments will be missing in the gilding logs if the protocol handler is invoked when the system is already running.&lt;br&gt;
1.2 Application logs - search for "&lt;strong&gt;pipe-manager&lt;/strong&gt;" and "&lt;strong&gt;protocol-handler&lt;/strong&gt;"&lt;/p&gt;

&lt;h2&gt;
  
  
  How to monitor CPU and memory usage
&lt;/h2&gt;

&lt;p&gt;To check CPU and memory usage, search for &lt;strong&gt;“perf-log&lt;/strong&gt;“ in the application log to see the total system CPU and memory usage and identify an application that might be consuming a suspicious number of resources.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fovnkxw5cyy6ax8ilv5vt.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fovnkxw5cyy6ax8ilv5vt.jpeg" alt="image" width="800" height="194"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Please note that logging is evolving, and some logs might appear only in newer versions, or others can be changed or deprecated.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://community.interop.io/t/examining-logs-in-practice/110" rel="noopener noreferrer"&gt;Originally published on interop.io Community&lt;/a&gt;&lt;/p&gt;

</description>
      <category>monitoring</category>
      <category>tooling</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Answering Questions with io.Insights Metrics and Grafana</title>
      <dc:creator>Toni Petov</dc:creator>
      <pubDate>Thu, 16 Oct 2025 08:32:49 +0000</pubDate>
      <link>https://dev.to/interopio/answering-questions-with-ioinsights-metrics-and-grafana-1jpn</link>
      <guid>https://dev.to/interopio/answering-questions-with-ioinsights-metrics-and-grafana-1jpn</guid>
      <description>&lt;p&gt;&lt;em&gt;Original Community author: &lt;a href="https://community.interop.io/u/VelkoNikolov" rel="noopener noreferrer"&gt;Velko Nikolov&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;This tutorial shows how to use metrics information from io.Insights to answer questions about user and application behavior across your enterprise. It's a practical example of identifying the most frequently used applications in your io.Connect environment.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;What You'll Learn&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;io.Insights publishes a rich set of information about the platform and applications running in it that can be used to investigate both individual entities (specific applications, workspaces, users, layouts) as well as generate aggregated reports about behavior and usage patterns.&lt;/p&gt;

&lt;p&gt;When coupled with a querying system like Grafana, infrastructure and analytics teams can build dashboards, set up alerts, and run queries to gain visibility into a wide range of operational metrics.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Prerequisites&lt;/strong&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;io.Insights enabled and configured in your io.Connect environment – see &lt;a href="https://docs.interop.io/insights/configuration/index.html" rel="noopener noreferrer"&gt;https://docs.interop.io/insights/configuration/index.html&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Grafana connected to your OpenTelemetry metrics collector – see &lt;a href="https://community.interop.io/t/getting-started-with-io-insights/55" rel="noopener noreferrer"&gt;https://community.interop.io/t/getting-started-with-io-insights/55&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Access to Grafana dashboard creation&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Step 1: Access Your Grafana Dashboard&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Navigate to your Grafana instance and access the Dashboards section. You should see your existing dashboards, including any io.Insights dashboards you may have already created.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwds4uoeg40opysv5dm61.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwds4uoeg40opysv5dm61.jpeg" alt="image" width="800" height="211"&gt;&lt;/a&gt;&lt;br&gt;
Click &lt;strong&gt;New&lt;/strong&gt; to create a new dashboard -&amp;gt; &lt;strong&gt;New Dashboard&lt;/strong&gt;, then select &lt;strong&gt;+ Add visualization&lt;/strong&gt; to begin building your metrics query.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsrakmub3tq2clbeyw1my.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsrakmub3tq2clbeyw1my.png" alt="image" width="178" height="167"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Step 2: Create a New Visualization Panel&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;You'll start with a blank panel configuration. The key to this demonstration is using data from the app_started metric, which represents the number of times each application has been started during platform sessions.&lt;/p&gt;

&lt;p&gt;In the metrics selection dropdown, you'll see various io.Insights metrics available, including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;app_started_total&lt;/code&gt; - our target metric&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;app_duration_*&lt;/code&gt; - application focus time metrics&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;app_memory_*&lt;/code&gt; - memory usage metrics&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;platform_startup_*&lt;/code&gt; - platform initialization metrics&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Select &lt;code&gt;app_started_total&lt;/code&gt; as your primary metric.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc2hb7z9ys6ns2yob8ssp.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc2hb7z9ys6ns2yob8ssp.jpeg" alt="image" width="800" height="402"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Step 3: Switch to Bar Chart Visualization&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;For displaying top applications by usage count, a bar chart provides clearer insights than a time series. Change your visualization type to &lt;strong&gt;Bar gauge&lt;/strong&gt; in the panel options.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9ew9t5jgfmbn1lfxn1al.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9ew9t5jgfmbn1lfxn1al.jpeg" alt="image" width="800" height="379"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This creates a much more readable view showing each application and its relative usage frequency.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Step 4: Configure the Query and Aggregation&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Since we want to identify the most-used applications based on total startup counts, we need to apply aggregation. The app_started metric is an increasing counter, so we're interested in the maximum value it reaches for each application.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fghx0kit9dj7fn1j3deh1.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fghx0kit9dj7fn1j3deh1.jpeg" alt="image" width="799" height="315"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Configure your query settings:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Metric&lt;/strong&gt;: app_started_total&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Aggregation&lt;/strong&gt;: Select &lt;strong&gt;Max over time&lt;/strong&gt; since we want the total count per application&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuk9jhi7tnseiwdddkqm5.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuk9jhi7tnseiwdddkqm5.jpeg" alt="image" width="622" height="472"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Group by&lt;/strong&gt;: Application name (this will separate results by individual applications). &lt;strong&gt;Aggregations&lt;/strong&gt; -&amp;gt; &lt;strong&gt;Max by&lt;/strong&gt; -&amp;gt; &lt;strong&gt;application&lt;/strong&gt; -&amp;gt; &lt;strong&gt;instance&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sum&lt;/strong&gt;: get total runs per applications
3.&lt;em&gt;gregations&lt;/em&gt;* -&amp;gt; &lt;strong&gt;Sum&lt;/strong&gt; -&amp;gt; &lt;strong&gt;by label&lt;/strong&gt; -&amp;gt; &lt;strong&gt;application&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftbsogkbzgk1jwsud11w1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftbsogkbzgk1jwsud11w1.png" alt="image" width="408" height="303"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Click &lt;strong&gt;Run queries&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Step 5: Add Data Transformations&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;To make the data more presentable and show only the top results, we'll add transformations. Click on the &lt;strong&gt;Transformations&lt;/strong&gt; tab to access additional data processing options.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6xtpwsrinu1n7qt8uuui.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6xtpwsrinu1n7qt8uuui.jpeg" alt="image" width="800" height="473"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The transformations allow you to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Limit results&lt;/strong&gt;: Show only the top N applications&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sort data&lt;/strong&gt;: Order by usage count (descending)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rename fields&lt;/strong&gt;: Clean up display names&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Calculate values&lt;/strong&gt;: Perform additional aggregations&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Group by nested tables&lt;/strong&gt;: If you want to organize by additional attributes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This ensures you're displaying the most actionable data and the applications that are actually being used most frequently by your users..&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffiolbvclb2k1shw2p9nr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffiolbvclb2k1shw2p9nr.png" alt="image" width="800" height="383"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Step 6: Review Your Results&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Your final visualization should clearly show which io.Connect applications are used most frequently in your environment. This information can help you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Identify popular applications&lt;/strong&gt; for optimization or additional investment&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Spot underutilized applications&lt;/strong&gt; that may need better promotion or could be candidates for removal&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Plan infrastructure capacity&lt;/strong&gt; based on actual usage patterns&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Make data-driven decisions&lt;/strong&gt; about application portfolio management&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Beyond This Example&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;This demonstration shows just a simple example of extracting metrics information in a few clicks. Experienced analysts can build extremely sophisticated dashboards that include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Regional breakdowns&lt;/strong&gt;: Most used applications per geographic region&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Version analysis&lt;/strong&gt;: Usage patterns across different application versions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Time-based trends&lt;/strong&gt;: Usage changes over specific periods&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;User behavior analysis&lt;/strong&gt;: Individual user application preferences&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Performance correlations&lt;/strong&gt;: Connecting usage data with performance metrics&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Key Insights from io.Insights Data&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;All the telemetry information published by io.Insights describes events that occur in your applications and platform. This data can optionally be exported as metrics, giving you instant visibility into any aspect of your application usage related to the features of the io.Connect platform.&lt;/p&gt;

&lt;p&gt;The app_started metric used in this example is just one of many available metrics. Other valuable metrics include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;app_duration: The time an app has been on focus during each platform session.&lt;/li&gt;
&lt;li&gt;app_error: The number of times an app error was received during each platform session.&lt;/li&gt;
&lt;li&gt;workspace_stopped: The number of times a Workspace has been stopped during each platform session.&lt;/li&gt;
&lt;li&gt;system_cpu and system_memory: Resource utilization patterns&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Next Steps&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;From this foundation, you can:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Save the query&lt;/strong&gt; for future use and monitoring&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Set up alerts&lt;/strong&gt; when usage patterns change significantly&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Add the panel to a dashboard&lt;/strong&gt; with other related metrics&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Create additional breakdowns&lt;/strong&gt; by user, time period, or platform version&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Export data&lt;/strong&gt; for further analysis in other tools&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This approach transforms raw telemetry data into actionable business intelligence, helping you optimize your io.Connect deployment based on real user behavior.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Useful links&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://docs.interop.io/insights" rel="noopener noreferrer"&gt;&lt;strong&gt;io.Insights Documentation&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://community.interop.io/t/getting-started-with-io-insights/55" rel="noopener noreferrer"&gt;https://community.interop.io/t/getting-started-with-io-insights/55&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://community.interop.io/t/track-down-issues-fast-with-io-insights/9" rel="noopener noreferrer"&gt;https://community.interop.io/t/track-down-issues-fast-with-io-insights/9&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://community.interop.io/t/answering-questions-with-io-insights-metrics-and-grafana/153" rel="noopener noreferrer"&gt;Originally published on interop.io Community&lt;/a&gt;&lt;/p&gt;

</description>
      <category>analytics</category>
      <category>monitoring</category>
      <category>tutorial</category>
      <category>tooling</category>
    </item>
  </channel>
</rss>
