/
Configure Sitecore.Services.Client API

Configure Sitecore.Services.Client API

 

IMPORTANT

S4S uses the Sitecore SSC Framework for communication between client and server, which is configured within the App_Config\Sitecore\Services.Client\Sitecore.Services.Client.config file. If you use S4S and you are connected externally from your Sitecore CM Server, you may need to change Sitecore.Services.Client.config file "SITECORE SERVICES SECURITY POLICY" for external access.

In other words if your Sitecore instance hosted in a remote location from where you try to connect as a client, you have to change the “Sitecore.Services.SecurityPolicy” config setting value in App_Config\Sitecore\Services.Client\Sitecore.Services.Client.config file to “Sitecore.Services.Infrastructure.Web.Http.Security.ServicesOnPolicy, Sitecore.Services.Infrastructure”. 

OR

Add following configuration section to S4SMapping.config in App_Config/Modules/S4S (Or any other config file) Or add it as a separate patch file. This will allow access to the controller which S4S is using in Sitecore SSC framework.

  <sitecore>
    <api>
      <services>
        <configuration type="Sitecore.Services.Infrastructure.Configuration.ServicesConfiguration, Sitecore.Services.Infrastructure">
          <allowedControllers hint="list:AddController">
            <allowedController desc="FuseIT S4S">FuseIT.S4SMapping.SitecoreExperienceForms.Controllers.MappingController, FuseIT.S4SMapping</allowedController>
          </allowedControllers>
        </configuration>
      </services>
	 </api>
  </sitecore>

Next Step

Install S4S xConnect Models

Steps

Related content

Configure S4S Analytics Web Service API Key
Configure S4S Analytics Web Service API Key
More like this
Adding Connection String
Adding Connection String
More like this
CD/CM Considerations
CD/CM Considerations
Read with this
Configure S4S Now Web Service API Key
Configure S4S Now Web Service API Key
More like this
Configuring the Partner API Web Service
Configuring the Partner API Web Service
Read with this
Adding Connection String (Pre-Sitecore 9)
Adding Connection String (Pre-Sitecore 9)
More like this