Database Repository Configuration
The following XML snippet shows an example of the Kofax.TotalAgility.RepositoryBrowser.exe.config configuration file:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="DataLayer" type="Kofax.CEBPM.DataLayer.Configuration.DataLayerConfiguration,Kofax.CEBPM.DataLayer"/>
</configSections>
<DataLayer>
<Repositories>
<Repository Id="InMemoryDbRepository" Type="Kofax.CEBPM.DataLayer.Implementation.Repository">
<!-- Azure blob storage integration
In Azure images and other large binary objects in Azure Blob Storage, instead of SQL database.
To enable this behavior, uncomment the following BlobStorate element (you need to provide valid account name and key):
<BlobStorage Primary="true"
ContainerName="[Azure Tenant container name]"
StorageAccountConnectionString="DefaultEndpointsProtocol=https;AccountName=[Azure storage account name];AccountKey=[Azure storage account key]"/>
-->
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
<session-factory name="NHibernate.MemoryRepo.Test">
<!-- Here are the properties you may need to update with connection string and schema name of the document repository database. -->
<property name="connection.connection_string">Data Source=.;Initial Catalog=TotalAgility_Documents;Integrated Security=True;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False</property>
<property name="default_schema">dbo</property>
<!-- Do NOT change the following properties! -->
<property name="connection.driver_class">Kofax.CEBPM.DataLayer.Retry.SqlAzureClientDriver, Kofax.CEBPM.DataLayer</property>
<property name="adonet.batch_size">10</property>
<property name="show_sql">false</property>
<property name="dialect">NHibernate.Dialect.MsSql2008Dialect</property>
<property name="command_timeout">60</property>
<property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property>
</session-factory>
</hibernate-configuration>
</Repository>
</Repositories>
</DataLayer>
</configuration>