Debugging Tricks
1. Enable proxytools by default
In Vista 3.0, enabling a newly created proxytools requires user unlock the setting first, and then enable the tool. This can be a lot of extra clicks for developers who wish to test their auth modules and proxytools. There is a way to enable the proxytools by default:
- Go to <webct domain>/serverproxytools/
- Make a backup of webct_pttemplateconfig.xml (in case we broke it)
- Openwebct_pttemplateconfig.xml with the editor of your choice
- For setting-element name="Enabled", change the default for setting-value "true" to "true", and the default for setting-value "false" to false, so it looks like:
<setting-element name="Enabled"
label="Enable Tool"
....>
<setting-value key="true" default="true" label="true"/>
<setting-value key="false" default="false" label="false"/>
</setting-element>
Then all your new proxytools should be enabled by default.
 | This article originally authored by JNI on the WebCT DevNet
|