Capture Method Name in Fiddler Trace
kbt137232
PRODUCTIssue
By default K2 will use Obfuscation to mask the name of the SmartObject method being called. When capturing network traffic, this presents the method name in the following manner when inspecting the call:
h0xyy81LLvypuDQMUpi4oMY9txja6i_quT6Yma_0fCviXAkYTYN2uefvggJOYERNZa3u0"/>...
Symptoms
This article shows you how to run a fiddler trace and capture the actual method name being called, when needed for troubleshooting purposes.Troubleshooting Steps
By adding and setting the Obfuscation value to false, one can run a fiddler trace and capture the actual method name being called for troubleshooting purposes. The following key can be added in the web.config file found in the following path:
C:Program Files (x86)K2 blackpearlK2 smartforms Runtime
Opening the web.cofig file, add the following key under <appSettings>:
<add key="Forms.Runtime.ObfuscateMethodNames" value="false" />
After making the changes and saving the web.config file, perform an IISReset, restart K2 services , and re-run the fiddler trace in order to capture the method name in a readable format:
<brokerpackage><smartobject guid="4787b518-752c-4341-8dab-a3b0da106c97" resultname="Primary_4787b518-752c-4341-8dab-a3b0da106c97_4787b518-752c-4341-8dab-a3b0da106c97"><method name="GetUsers"/>...