You can add configuration settings to the <appSettings> section of the web.config file to customize the PM Compass application.
The web.config file is in the following directory: <PM Compass installation location>\web.
All configuration settings must reside within this section of the web.config file:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<! -- Your configuration settings go here -->
</appSettings>
</configuration>
The table below provides a list of configuration settings that you can add to the web.config file, along with their descriptions and syntax.
Setting and Description |
Syntax |
LookupSelectAllVisible Use this setting to hide the Select All button from Lookup dialog boxes. This setting is designed to prevent users from accidentally clicking the button when dealing with thousands of records.
|
<add key="LookupSelectAllVisible" value="Y" /> or <add key="LookupSelectAllVisible" value="N" /> |
DisableWorkflowGroupings Use this setting to hide the All Workflows option in the navigation menu. This setting is designed to prevent users from accidentally clicking the option when dealing with thousands of records in the Workflow List view.
|
<add key="DisableWorkflowGroupings" value="Y" /> or <add key="DisableWorkflowGroupings" value="N" />
|
ConnectStrByUser Use this setting to instruct PM Compass to append the logged-in user’s name to the Application Name section in the connection string when connecting to the Project Portfolio Management (PPM) database.
|
<add key="ConnectStrByUser" value="Y" /> or <add key="ConnectStrByUser" value="N" />
|
NonceKeyTimeout Use this setting to ensure that the one-time nonce key generated by PM Compass upon user login expires after data is sent to the server, preventing another user from reusing the same login. The value you specify is in seconds, and the default is 10. Setting it to 0 will disable the time-out. |
<add key="NonceKeyTimeout" value="5" />
|
EncryptRequests Use this setting to instruct PM Compass to utilize the encryption mechanism in all client-server transmissions.
|
<add key="EncryptRequests" value="Y" /> or <add key="EncryptRequests" value="N" />
|
EnableHMAC Use this setting to pass a hash key-based message authentication code (HMAC) to the web server, ensuring that requests sent by the client have not been modified and mitigating potential information calls.
|
<add key="EnableHMAC" value="Y" /> or <add key="EnableHMAC" value="N" />
|
X-Powered-By This setting refers to a response header that describes the technologies used by the web server. Add this setting to the web.config file to hide the technology information. |
<system.webServer> <httpProtocol> <customHeaders> <remove name="X-Powered-By" /> </customHeaders> </httpProtocol> </system.webServer> |
PerfLogFilePath Use this setting to append performance logs to a singe file. For more information, see Enable Performance Logging. |
<add key="PerfLogFilePath" value="C:\metric\pmc_perf_server.log" /> |
EnableMethodcallLogging Use this setting to capture method call logs generated for each server request initiated by the client.
For more information, see Enable Method Call Logging. |
<add key="EnableMethodcallLogging" value="<Y>" /> or <add key="EnableMethodcallLogging" value="<N>" /> |
SQLLogDirectory Use this setting to specify the path where the SQL logs will be stored. For more information, see Enable SQL Logging. |
<add key="SQLLogDirectory" value="C:\metric" /> |
SQLLogging Use this setting to define SQL logging.
For more information, see Enable SQL Logging. |
<add key="SQLLogging" value="<Y>" /> or <add key="SQLLogging" value="<N>" /> |