Connecting to the OnBase Document REST API - Advanced Design and Setup - Foundation 23.2 - Foundation 23.2 - Ready - Content Composer - external

Content Composer Advanced Design and Setup

Platform
Content Composer
Product
Advanced Design and Setup
Release
Foundation 23.2
License
To enable Content Composer Studio to connect to the OnBase Document API and retrieve the existing OnBase Document Types and Keywords, complete the following steps:
Note: Use the tool Encoder.exe available in the %Composerdir% directory to encode the values foridpPassword and idpClientSecret.
  1. From the %Composerdir% directory, open Composer.Studio.exe.config with a text editor that supports UTF-8.
  2. If not already present, add the following lines within the <appsettings> element:
    <add key="idpClientId" value="TestClientID" />
    <add key="idpUserName" value="TestUserName" />
    <add key="idpPassword" value="jZhHYWJq9whrMda4olJNgk4q9LHt3X9wYLw98N/R6pw=" />
    <add key="idpClientSecret" value="pC0NzQQGwyRT5gAsegHbGg==" />
    <add key="onbaseRestApiUrl" value="http://[SampleHostName]/ApiServer/onbase/core/" />
  3. Replace the value of the key idpClientId with the IDP Client ID.
  4. Replace the value of the key idpUserName with the user name of an IDP user account.
  5. Replace the value of the key idpPassword with the encoded password of an IDP user account.
  6. Replace the value of the key idpClientSecret with the encoded value of the IDP secret.
  7. Replace the host name in the value of the key onbaseRestApiUrl with the host name of your API server.
  8. Find the <configSections> element and verify that the following line exists within the element.
    <configSections>
    ...
      <section name="userRepository_Idp" type="ModusSuite.Common.SystemFramework.OAuth.IdpConfiguration, ModusSuite.Common.SystemFramework"/>
    ...
    </configSections>
  9. Find the line beginning with <odinSettings configSource= and add the following line directly below.
    <userRepository_Idp configSource="UserRepository_Idp.config"/>
  10. Find the <runtime> element and add the assemblyBinding element as in the following example.

    Example

    <runtime>
      <generatePublisherEvidence enabled="false" />
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <dependentAssembly>
            <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.IdentityModel.Tokens.Jwt" publicKeyToken="31bf3856ad364e35" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-6.5.1.0" newVersion="6.5.1.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="Microsoft.IdentityModel.Tokens" publicKeyToken="31bf3856ad364e35" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-6.5.1.0" newVersion="6.5.1.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="Microsoft.Extensions.Logging" publicKeyToken="adb9793829ddae60" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-2.2.0.0" newVersion="2.1.1.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="Microsoft.Extensions.Logging.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-2.2.0.0" newVersion="2.2.0.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="Microsoft.Extensions.Options" publicKeyToken="adb9793829ddae60" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-2.2.0.0" newVersion="2.2.0.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Text.Encodings.Web" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="IdentityModel" publicKeyToken="e7877f4675df049f" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-4.6.0.0" newVersion="4.6.0.0" />
          </dependentAssembly>
        </assemblyBinding>
    </runtime>
  11. Save and close the file.
  12. To enable other Content Composer services to connect to the OnBase Document API and use the Monalisa library MLOnBaseDocumentApi to archive documents, repeat the previous steps for the corresponding configuration files.