<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://all.docs.genesys.com/index.php?action=history&amp;feed=atom&amp;title=PEC-GPA%2FCurrent%2FAdministrator%2FGplusServiceClientAPI</id>
	<title>PEC-GPA/Current/Administrator/GplusServiceClientAPI - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://all.docs.genesys.com/index.php?action=history&amp;feed=atom&amp;title=PEC-GPA%2FCurrent%2FAdministrator%2FGplusServiceClientAPI"/>
	<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/index.php?title=PEC-GPA/Current/Administrator/GplusServiceClientAPI&amp;action=history"/>
	<updated>2026-04-20T22:37:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://all.docs.genesys.com/index.php?title=PEC-GPA/Current/Administrator/GplusServiceClientAPI&amp;diff=131032&amp;oldid=prev</id>
		<title>WikiSysop: Published</title>
		<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/index.php?title=PEC-GPA/Current/Administrator/GplusServiceClientAPI&amp;diff=131032&amp;oldid=prev"/>
		<updated>2023-01-18T16:26:13Z</updated>

		<summary type="html">&lt;p&gt;Published&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 16:26, January 18, 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l78&quot; &gt;Line 78:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 78:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;Name the new Lightning component '''ScapiComponent'''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;Name the new Lightning component '''ScapiComponent'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;Download '''component.html''' from {{Repository|gplus-service-client-api-component.html&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;.zip&lt;/del&gt;||here}} and add the code to your component.&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;Download '''component.html''' from {{Repository|gplus-service-client-api-component.html||here}} and add the code to your component.&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;Download '''controller.js''' from {{Repository|gplus-service-client-api-controller.js&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;.zip&lt;/del&gt;||here}} and add the code to the '''Controller'''.&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;Download '''controller.js''' from {{Repository|gplus-service-client-api-controller.js||here}} and add the code to the '''Controller'''.&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;Download '''style.css''' from {{Repository|gplus-service-client-api-style.css&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;.zip&lt;/del&gt;||here}} and add the code to the '''Style'''.&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;Download '''style.css''' from {{Repository|gplus-service-client-api-style.css||here}} and add the code to the '''Style'''.&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;Add your component to console. Open '''Setup &amp;gt; App Manager &amp;gt; &amp;amp;lt;your app&amp;amp;gt; &amp;gt; Edit &amp;gt; App Builder &amp;gt; Utility Items &amp;gt; Add utility Items''' and select '''ScapiComponent'''.&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;Add your component to console. Open '''Setup &amp;gt; App Manager &amp;gt; &amp;amp;lt;your app&amp;amp;gt; &amp;gt; Edit &amp;gt; App Builder &amp;gt; Utility Items &amp;gt; Add utility Items''' and select '''ScapiComponent'''.&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;Your result should look something like this:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;Your result should look something like this:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l106&quot; &gt;Line 106:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 106:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;ol&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;ol&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;Download the SCAPI script from {{Repository|service-client-api-classic.js|| here}}.&amp;lt;!--&amp;lt;nowiki&amp;gt;https://&amp;lt;HOST&amp;gt;/ui/crm-workspace/build/service-client-api-classic/service-client-api-classic.js&amp;lt;/nowiki&amp;gt;--&amp;gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;Download the SCAPI script from {{Repository|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;gplus-&lt;/ins&gt;service-client-api-classic.js|| here}}.&amp;lt;!--&amp;lt;nowiki&amp;gt;https://&amp;lt;HOST&amp;gt;/ui/crm-workspace/build/service-client-api-classic/service-client-api-classic.js&amp;lt;/nowiki&amp;gt;--&amp;gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;Download the SCAPI example from {{Repository|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;sample_classic&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;zip&lt;/del&gt;|| here}}.&amp;lt;!--&amp;lt;nowiki&amp;gt;https://&amp;lt;HOST&amp;gt;/ui/crm-workspace/build/service-client-api-classic/sample.html&amp;lt;/nowiki&amp;gt;--&amp;gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;Download the SCAPI example from {{Repository|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;adapter-scapi-sample-classic&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;html&lt;/ins&gt;|| here}}.&amp;lt;!--&amp;lt;nowiki&amp;gt;https://&amp;lt;HOST&amp;gt;/ui/crm-workspace/build/service-client-api-classic/sample.html&amp;lt;/nowiki&amp;gt;--&amp;gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;Add '''service-client-api-classic.js''' to your [https://help.salesforce.com/articleView?id=pages_static_resources_create.htm&amp;amp;type=5 static resources in Salesforce].&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;Add '''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;gplus-&lt;/ins&gt;service-client-api-classic.js''' to your [https://help.salesforce.com/articleView?id=pages_static_resources_create.htm&amp;amp;type=5 static resources in Salesforce].&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>WikiSysop</name></author>
		
	</entry>
	<entry>
		<id>https://all.docs.genesys.com/index.php?title=PEC-GPA/Current/Administrator/GplusServiceClientAPI&amp;diff=90125&amp;oldid=prev</id>
		<title>Matthew.west@genesys.com: Published</title>
		<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/index.php?title=PEC-GPA/Current/Administrator/GplusServiceClientAPI&amp;diff=90125&amp;oldid=prev"/>
		<updated>2021-05-27T18:06:33Z</updated>

		<summary type="html">&lt;p&gt;Published&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Article&lt;br /&gt;
|Standalone=No&lt;br /&gt;
|DisplayName=Gplus Adapter support for Service Client API&lt;br /&gt;
|TocName=Service Client API&lt;br /&gt;
|Context=Gplus Adapter supports the Genesys Service Client API, which you can use for custom features.&lt;br /&gt;
|ComingSoon=No&lt;br /&gt;
|Platform=GenesysCloud&lt;br /&gt;
|Role=Administrator&lt;br /&gt;
|Section={{Section&lt;br /&gt;
|sectionHeading=Support for Service Client API in Salesforce Lightning&lt;br /&gt;
|anchor=SCAPI&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=Gplus Adapter supports the {{Link-AnywhereElse|product=PEC-Developer|version=Current|manual=SCAPI|display text=Service Client API}}, which you can use for custom features such as invoking click-to-email, starting or stopping a recording when a sensitive field is on the screen, and attaching data from Salesforce to Genesys key/value pairs. Complete the following steps in Salesforce Lightning:&lt;br /&gt;
&amp;lt;ol&amp;gt;&amp;lt;li&amp;gt;[https://trailhead.salesforce.com/en/content/learn/modules/identity_login/identity_login_my_domain Deploy your Salesforce domain.]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/message_channel_create.htm Create and deploy a message channel] using Salesforce CLI or a third-party tool such as [https://workbench.developerforce.com/login.php Workbench]. For example, here's a breakdown of the steps you must complete using Workbench:&amp;lt;ol type=&amp;quot;a&amp;quot;&amp;gt;&amp;lt;li&amp;gt;Create a folder called '''messagedeploy''' and add a new file called '''package.xml''' with the following contents:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;Package xmlns=&amp;quot;http://soap.sforce.com/2006/04/metadata&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;types&amp;gt;&lt;br /&gt;
        &amp;lt;members&amp;gt;*&amp;lt;/members&amp;gt;&lt;br /&gt;
        &amp;lt;name&amp;gt;LightningMessageChannel&amp;lt;/name&amp;gt;&lt;br /&gt;
    &amp;lt;/types&amp;gt;&lt;br /&gt;
    &amp;lt;version&amp;gt;47.0&amp;lt;/version&amp;gt;&lt;br /&gt;
&amp;lt;/Package&amp;gt; &amp;lt;/source&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In your '''messagedeploy''' folder, create a new folder called '''messageChannels''' and add a new file called '''GplusChannel.messageChannel''' with the following contents:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;LightningMessageChannel xmlns=&amp;quot;http://soap.sforce.com/2006/04/metadata&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;masterLabel&amp;gt;GplusChannel&amp;lt;/masterLabel&amp;gt;&lt;br /&gt;
    &amp;lt;isExposed&amp;gt;true&amp;lt;/isExposed&amp;gt;&lt;br /&gt;
    &amp;lt;description&amp;gt;This Lightning Message Channel sends information from VF to LWC and back.&amp;lt;/description&amp;gt;&lt;br /&gt;
&amp;lt;/LightningMessageChannel&amp;gt; &amp;lt;/source&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Zip (compress) the '''messagedeploy''' folder.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate to https://workbench.developerforce.com/login.php and log in to Salesforce with the account you will use for the Service Client API.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the '''migration''' menu, click '''Deploy''' and attach the zip you previously created.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the '''info''' menu, click '''Metadata Types &amp;amp; Components''' and choose '''LightningMessageChannel''' - you created this in step 2-a.&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Download '''gplus-service-client-api.js''' from {{Repository|gplus-service-client-api.js||here}} &amp;lt;!--&amp;lt;tt&amp;gt;https://[YOUR_HOST]/ui/crm-workspace/build/service-client-api/gplus-service-client-api.js&amp;lt;/tt&amp;gt;--&amp;gt; and add it to your [https://help.salesforce.com/articleView?id=pages_static_resources_create.htm&amp;amp;type=5 static resources in Salesforce].&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Download the SCAPI example from {{Repository|sample.html||here}}.&amp;lt;!--&amp;lt;nowiki&amp;gt;https://&amp;lt;HOST&amp;gt;/ui/crm-workspace/build/service-client-api/sample.html&amp;lt;/nowiki&amp;gt;--&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[https://help.salesforce.com/articleView?id=pages_creating.htm&amp;amp;type=5 Create a Visualforce page] in Salesforce that uses your new message channel (from step 2-b) and the Service Client API to implement your custom functionality.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[https://help.salesforce.com/articleView?id=dashboards_components_edit_lex.htm&amp;amp;type=5 Add the Visualforce page to your dashboard].&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;In Agent Setup, {{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|display text=configure Gplus Adapter to use your message channel}} with the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=General|display text=Salesforce Message Channel Name for Service Client API}}''' option.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The value of the '''Salesforce Message Channel Name for Service Client API''' option must be specified using one of the following formats:&lt;br /&gt;
&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;&amp;lt;tt&amp;gt;NameSpacePrefix_ChannelName__c&amp;lt;/tt&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;tt&amp;gt;ChannelName__c&amp;lt;/tt&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;You must use this format to confirm to the Salesforce [https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/custom_fields.htm Naming Conventions for Custom Fields].&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;'''Troubleshooting:''' If you encounter an error after completing this configuration, Genesys might have to adjust your environment settings so that the value of '''CORS''' is set to &amp;lt;tt&amp;gt;*&amp;lt;/tt&amp;gt; the '''Allow full service client API''' setting is enabled. Contact Genesys to confirm these settings.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;To attach key-value pairs to interaction UserData using SCAPI, use the '''{{Link-AnywhereElse|product=PEC-Developer|version=Current|manual=SCAPI|topic=InteractionNamespace|anchor=Methods|display text=interaction.setUserData}}''' Method.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;To validate your Gplus Adapter configuration with SCAPI, login to Adapter, navigate to the SCAPI page and click one of the Methods, such as '''agent.get'''. If you see the result message '''SUCCEEDED''', then configuration is correct.&amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;If some SCAPI Methods do not return '''SUCCEEDED''', verify that the Workspace options related to the SCAPI Method functionality are configured correctly.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Support for Salesforce Lightning Component with Service Client API&lt;br /&gt;
|anchor=LightningComponent&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=Gplus Adapter supports the Salesforce Lightning Component with Service Client API to enable custom integrations between Salesforce and Genesys. To enable this support, complete the following steps:&lt;br /&gt;
&lt;br /&gt;
'''Prerequisites:'''&lt;br /&gt;
&lt;br /&gt;
*[https://trailhead.salesforce.com/en/content/learn/modules/identity_login/identity_login_my_domain Deploy your Salesforce domain.]&lt;br /&gt;
*Create and deploy the {{Link-SomewhereInThisVersion|manual=Administrator|topic=GplusServiceClientAPI|anchor=SCAPI|display text=message channel}}.&lt;br /&gt;
&lt;br /&gt;
'''References:'''&lt;br /&gt;
&lt;br /&gt;
*[https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/message_channel_intro.htm About the message channel in Lightning Aura Components].&lt;br /&gt;
*[https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/message_channel_create.htm How to create a Message Channel].&lt;br /&gt;
*[https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/message_channel_publish.htm How to publish a Message Channel].&lt;br /&gt;
*[https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/message_channel_subscribe.htm How to subscribe to a Message Channel].&lt;br /&gt;
*[https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/message_channel_considerations.htm Lightning Message Service limitations].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Download '''gplus-service-client-api-universal.js''' from {{Repository|gplus-service-client-api-universal.js||here}} and add it to your [https://help.salesforce.com/articleView?id=pages_static_resources_create.htm&amp;amp;type=5 static resources in Salesforce].&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In Lightning mode open '''Setup &amp;gt; Developer Console'''.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Create a new Lightning component: '''File &amp;gt; New &amp;gt; Lightning Component'''.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Name the new Lightning component '''ScapiComponent'''.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Download '''component.html''' from {{Repository|gplus-service-client-api-component.html.zip||here}} and add the code to your component.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Download '''controller.js''' from {{Repository|gplus-service-client-api-controller.js.zip||here}} and add the code to the '''Controller'''.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Download '''style.css''' from {{Repository|gplus-service-client-api-style.css.zip||here}} and add the code to the '''Style'''.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Add your component to console. Open '''Setup &amp;gt; App Manager &amp;gt; &amp;amp;lt;your app&amp;amp;gt; &amp;gt; Edit &amp;gt; App Builder &amp;gt; Utility Items &amp;gt; Add utility Items''' and select '''ScapiComponent'''.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Your result should look something like this:&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:Gplus_900_ScapiComponent_Result_Sample.png|600px]]&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;In Agent Setup, {{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|display text=configure Gplus Adapter to use your message channel}} with the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=General|display text=Salesforce Message Channel Name for Service Client API}}''' option.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The value of the '''Salesforce Message Channel Name for Service Client API''' option must be specified using one of the following formats:&lt;br /&gt;
&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;&amp;lt;tt&amp;gt;NameSpacePrefix_ChannelName__c&amp;lt;/tt&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;tt&amp;gt;ChannelName__c&amp;lt;/tt&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;You must use this format to confirm to the Salesforce [https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/custom_fields.htm Naming Conventions for Custom Fields].&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;'''Troubleshooting:''' If you encounter an error after completing this configuration, Genesys might have to adjust your environment settings so that the value of '''CORS''' is set to &amp;lt;tt&amp;gt;*&amp;lt;/tt&amp;gt; the '''Allow full service client API''' setting is enabled. Contact Genesys to confirm these settings.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;To attach key-value pairs to interaction UserData using SCAPI, use the '''{{Link-AnywhereElse|product=PEC-Developer|version=Current|manual=SCAPI|topic=InteractionNamespace|anchor=Methods|display text=interaction.setUserData}}''' Method.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;To validate your Gplus Adapter configuration with SCAPI, login to Adapter, navigate to the SCAPI page and click one of the Methods, such as '''agent.get'''. If you see the result message '''SUCCEEDED''', then configuration is correct.&amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;If some SCAPI Methods do not return '''SUCCEEDED''', verify that the Workspace options related to the SCAPI Method functionality are configured correctly.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Support for Service Client API in Salesforce Classic&lt;br /&gt;
|anchor=ClassicSCAPI&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=Gplus Adapter supports the {{Link-AnywhereElse|product=PEC-Developer|version=Current|manual=SCAPI|display text=Service Client API}}, which you can use for custom features such as invoking click-to-email, starting or stopping a recording when a sensitive field is on the screen, and attaching data from Salesforce to Genesys key/value pairs. Complete the following steps in Salesforce Classic:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Download the SCAPI script from {{Repository|service-client-api-classic.js|| here}}.&amp;lt;!--&amp;lt;nowiki&amp;gt;https://&amp;lt;HOST&amp;gt;/ui/crm-workspace/build/service-client-api-classic/service-client-api-classic.js&amp;lt;/nowiki&amp;gt;--&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Download the SCAPI example from {{Repository|sample_classic.zip|| here}}.&amp;lt;!--&amp;lt;nowiki&amp;gt;https://&amp;lt;HOST&amp;gt;/ui/crm-workspace/build/service-client-api-classic/sample.html&amp;lt;/nowiki&amp;gt;--&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Add '''service-client-api-classic.js''' to your [https://help.salesforce.com/articleView?id=pages_static_resources_create.htm&amp;amp;type=5 static resources in Salesforce].&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;[https://help.salesforce.com/articleView?id=pages_creating.htm&amp;amp;type=5 Create a Visualforce page] with SCAPI (according to the SCAPI example) or a custom console component.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;[https://help.salesforce.com/articleView?id=dashboards_components_edit_lex.htm&amp;amp;type=5 Add the Visualforce page to your dashboard].&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
|Status=No&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Matthew.west@genesys.com</name></author>
		
	</entry>
</feed>