title: How to get hidden field value in crm plugin?
body: <p>I have a hidden field in crm form and setting value for hidden field on save button click using JavaScript.</p>
  
  <p>I am trying to select the hidden filed value in c# plugin code on postcaseCreate event, but getting Key is not found in dictionary error, Can anyone tell me what I am missing here.</p>
  
  <pre><code>if (localContext.PluginExecutionContext.InputParameters.Contains("Target")
      &amp;&amp; localContext.PluginExecutionContext.InputParameters["Target"] is Entity)
  {
      // Obtain the target entity from the input parmameters.
      caseEntityObj = (Entity)localContext.PluginExecutionContext.InputParameters["Target"];
      string productIds = caseEntityObj.FormattedValues["my_hiddenfiedld"].ToString();
      if (caseEntityObj == null) return;
  }
  </code></pre>