The T4S Server has a regular Web App web.config file that holds the settings for the app.
App Keys
SalesforceOrgEncyptionKey: Each Salesforce Org using this T4S Server should have the same key.
G4SConnStringMultiOrgs: True if more than one Salesforce Org will be connecting to this T4S Server.
Otherwise False.TrimBasicAuthentication: Default is False.
SalesforceApiUserOnly: “False” if you want each Salesforce user context to update any Salesforce fields.
Set to “True” if you want the API Integration Salesforce user to execute all Salesforce updates.
i.e. If you are using a Salesforce Portal where portal users with no “edit“ or “update“ permissions cannot update T4S-related fields after calling the T4S server.StopNewRecordVersions: If you are keeping copies of the original Salesforce Files within Salesforce, and you do not want any revisions of these files sent to TRIM.
This would allow each sent Record to be finalised in TRIM, while keeping a copy within Salesforce.G4SConnString: The single Salesforce Org API Integration User credentials, used to connect and update Salesforce.
G4SConnString_00DXXXXXXXXX: If the G4SConnStringMultiOrgs is set to true, then each Salesforce Orgs API Integration user's credentials can be set individually.
The 00DXXXXXXX part of the key will be each Salesforce Orgs unique 15-character Organization ID
Log4Net
Set the logging level and the relative or full folder path to the T4S logging folder
FuseIT.G4S.SalesforceConnector
licenseFileLocation: the full path to the T4S License file
maxRequestLength: This sets the allowed payload size in bytes that T4S will accept from Salesforce.
This setting should match the same value within the TRIM CM REST API web.config.
2147483647 bytes = 2Gb<httpRuntime targetFramework="4.6.2" maxRequestLength="2147483647" executionTimeout="220" />
maxAllowedContentLength: Should match the maxRequestLength setting, as well as match the same setting in CM REST API web.config
<security> <requestFiltering> <requestLimits maxAllowedContentLength="2147483647" /> </requestFiltering> </security> </system.webServer>
uploadReadAheadSize: Specifies the number of bytes that a Web server will read into a buffer and pass to an ISAPI extension or module. This occurs once per client request. The ISAPI extension or module receives any additional data directly from the client. The value must be between 0 and 2147483647.
The default value is 49152.Open IIS Manager
Select the site
Double click "Configuration Editor"
Select system.webServer and then serverRuntime
Modify the uploadReadAheadSize value
Click "Apply"
NOTE: Each T4S Server will have a short Evalution period set from the build date.
After this a T4S License key is required for the T4S Server to run.