# Appendix: Sample Transforms.xml file

Below is a sample of the Transforms.xml file used in the Document Generation Services installation.

Note: The example below cites specific machine names using the `Machine.example.NET` nomenclature.

    <Transforms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Transforms.xsd">
      <Transform FileName="Installs\Production\DocGenServicesInstall-64bit_PROD.msi" Category="DGS_PRD">
        <Property Id="SECURITYTOKENCACHEDB" Value="Server=S617248CH4SQL01;database=AppSecurityTokenCache;Integrated Security=True;"/>
        <Property Id="SHORTTERMSQLSERVERHOSTNAME" Value="Data Source=S617248CH4SQL01;Initial Catalog=docgen;Integrated Security=true;"/>
        <Property Id="STSHOSTNAME" Value="admin.wolterskluwerfs.com"/>
        <Property Id="CONTENTREPOSITORY" Value="\\s610422ch4nas01\s610422ch4vol01\ExpereRepository\DeployedContent"/>
        <Property Id="BUILDREPOSITORYPATH" Value="\\s610422ch4nas01\s610422ch4vol01\ExpereRepository\BuildContent"/>
        <Property Id="ERLCONTENTREPOSITORY" Value="\\s610422ch4nas01\s610422ch4vol01\ExpereRepository\DeployedERLContent"/>
        <Property Id="LIBRARYZIP" Value="\\s610422ch4nas01\s610422ch4vol01\ExpereRepository\Uploads"/>
        <Property Id="LIBRARYTODEPLOY" Value="\\s610422ch4nas01\s610422ch4vol01\ExpereRepository\temp"/>
        <Property Id="APPLICATIONURL" Value="docgensvcs.wolterskluwerfs.com"/>
        <Property Id="RabbitMQNetworkName" Value="WKFS_DocGenServicesPrd"/>
        <Property Id="RABBITMQHOST" Value="rabbitmq://S610422CH4VW27"/>
        <Property Id="CONCURRENT_CONSUMER_LIMIT" Value="8"/>
        <Property Id="RUNASSERVICEACCT" Value="1"/>
        <Property Id="ACCOUNTDOMAIN" Value="NA-MSMPS"/>
        <Property Id="DOMAINACCOUNT" Value="DocGenSVC"/>
        <Property Id="DOMAINACCOUNTPASSWORD" Value="#{Password_Var}"/>
        <Property Id="DOCVIEWERURL" Value="https://expere.wolterskluwerfs.com/DocViewerInterfaceHtml/SessionSvc.svc"/>
        <Property Id="NEWRELICAPPNAME" Value="PROD.DocGenServicesHost"/>
        <Property Id="ENABLENEWRELIC" Value="false"/>
        <Property Id="GENERATESCHEMA" Value="true"/>
        <Property Id="OPPSAHOSTNAME" Value="oppsa.wolterskluwerfs.com"/>
        <Property Id="ENABLE_ORGANIZATION_CACHE" Value="true">

        <!-- Expere variables -->
        <Property Id="INITIAL_JVM_MEMORY" Value="2048"/>
        <Property Id="MAX_JVM_MEMORY" Value="8192"/>
        <Property Id="USE_EXPERE_NET" Value="false"/>
        <Property Id="EXPERE_ENDPOINT_ADDRESS" Value="http://localhost:8080/Common/WSEndpoint"/>
        <Property Id="WAS_HOST_BIND" Value="0.0.0.0"/>
        <Property Id="WAS_PORT_BIND" Value="8080"/>
        <Property Id="EXPERE_DB_HOST" Value="127.0.0.1" />
        <Property Id="EXPERE_DB_PORT" Value="1433" />
        <Property Id="EXPERE_DB" Value="ExpereDB" />
      </Transform>
    </Transforms>

## Additional considerations

Consider additional guidelines when using the following elements:

- RUNASSERVICEACCT – Set this value to "0" to install the services as NETWORK SERVICE. Set this value to "1" to use the account information in the properties below;
- ACCOUNTDOMAIN – The domain of the service account the services should be running as;
- DOMAINACCOUNT – The username name of the service account;
- DOMAINACCOUNTPASSWORD – The password of the service account;
- EXPERE_ENDPOINT_ADDRESS – This is the full URL for Expere’s web service, they will need to change the hostname to the name of the server that they have Expere installed on and the port if they changed that from the default when they installed it.
- WAS_HOST_BIND – Should also be set to the fully qualified hostname of the server where Expere is installed
- WAS_PORT_BIND – Used to build a URL in combination with WAS_HOST_BIND. This should be 8080 unless they changed the port when they installed Expere.
- OPPSAHOSTNAME – Needs to be set to the fully qualified hostname for the server that OPPSA is installed on. This property is used by DGS’ Tool Suite to retrieve any data set up in OPPSA that should be applied when the documents are generated (Org, policy, product data, etc).
- ENABLE_ORGANIZATION_CACHE - By default, this property is set to "true," which caches the OPPSA organization database. When Document Generation Services is installed with Expere, set this value to "false."

Note: The DOMAINACCOUNT and DOMAINACCOUNTPASSWORD values identified in the example above should be replaced with your unique values.