I would like to be able to obtain a list of all parameter names for the actions of a given fixlet/task.
Is there any way I can find out if a Fixlet has actions which will require parameters and what those parameter names are?
As far as I can tell , this metadata is not available except for open actions.
The developerWorks Connections platform will be sunset on December 31, 2019. On January 1, 2020, this community and its apps will no longer be available. More details available on our FAQ.
This topic has been locked.
Pinned topic How can I find out the names of all parameters of a given fixlet?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
walterHiggins 270003S3PF2 Posts
Re: How can I find out the names of all parameters of a given fixlet?2012-05-17T11:52:11ZThis is the accepted answer. This is the accepted answer.I can get the default action for a fixlet like this...
default action of bes fixlets whose (name of it = "INSERT-NAME-OF-FIXLET-HERE")
... but the properties of bes fixlet action are just the following...
content id of <bes fixlet action>: string script of <bes fixlet action>: string script type of <bes fixlet action>: string
Lee Wei 270003U2EX143 Posts
Re: How can I find out the names of all parameters of a given fixlet?2012-05-17T18:34:57ZThis is the accepted answer. This is the accepted answer.You are correct and you are not missing anything.
Are you trying to find the Parameters so that you can create an Action via the Platform Server API?
There is an enhancement #11028 to add Action Parameters to the XML interface.
The BESAPI.FixletActionCreator class has a method AddParameter(name, value), but we will still have to parse to find out the names of the parameters.
In some code that I write, I parse and then replace the parameters myself.
jeremylam 27000497H914 Posts
Re: How can I find out the names of all parameters of a given fixlet?2012-05-17T18:43:11ZThis is the accepted answer. This is the accepted answer.Are you referring to the "action parameter query" action script?
Since the script uses a pretty simple syntax, you can parse it with regexes and string inspectors.
This session relevance will list all the fixlets on your deployment with default actions that have an action parameter query, along with the parameter name:
( ( name of it, id of it, name of site of it, ( parenthesized part 1 of it ) of matches ( regex "action parameter query %22([^%22]*)" ) of script of default action of it ) ) of bes fixlets whose ( exists default action whose ( script of it contains "action parameter query" ) of it )