Passing secure parameter to fixlet through Api

Well, I started up my instance…I haven’t gotten as far as trying it via the API, but when I send it through a Dashboard with ImportXMLToSite() it’s not working either.

If I use <Parameter> tags it works, but switching to <SecureParameter> does not (my action gives me a pop-up message query for the parameter value).

I did finally get a test case to work - by avoiding ‘action parameter query’ in the ActionScript.
Here’s the XML I imported

<?xml version="1.0" encoding="UTF-8"?> 
<BES xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="BES.xsd"> 
<SourcedFixletAction> 
<SourceFixlet> 
<Sitename>My-Test-Site</Sitename> 
<FixletID>2333</FixletID> 
<Action>Action1</Action> 
</SourceFixlet> 
<Target> 
 <ComputerName>my-computer-name</ComputerName>
   </Target> 
<SecureParameter Name="command">echo Try 2 &gt; c:\test.out</SecureParameter>  
</SourcedFixletAction> 
</BES>

And here’s the source to the action -

//action parameter query "command" with description "Enter the command to run"
waithidden cmd.exe /c "{parameter "command"}"

This works when I commented out the ‘action parameter query’ but fails when I leave that in - the Console just pops-up a dialog asking for the value. @atshenoy , check if your actions use ‘action parameter query’ in them, and see if you can remove that query for a test.

@jgstew @alanm are we missing something here? Is this a known interaction between the REST / Dashboard APi and Action Parameter Query?