Hello,
Today's problem is how to push parameters in the callback function of the 'Protocol Function' component.
Context:
I have:
- a 'Protocol Function' component with:
- Function Name =
- Protocol =
- Callback Function Gets = First Result File
- an HTML link ('Components\Reporting\Elements\Text') with HTML Attributes = onclick="(callback)"
- a callback JS function :
That works well. Now I would like to pass the id of the report element as a parameter of the callback function. But as the parameter 'a' is implicitly declared when the callback function is called (cf. 'onclick="(callback)"'), I do not know how to declare the id parameter.
I tried:
along with onclick="(callback(
)"
It did not work. I think I am missing something.
Thanks for your help.
Today's problem is how to push parameters in the callback function of the 'Protocol Function' component.
Context:
I have:
- a 'Protocol Function' component with:
- Function Name =
- Protocol =
- Callback Function Gets = First Result File
- an HTML link ('Components\Reporting\Elements\Text') with HTML Attributes = onclick="
- a callback JS function :
That works well. Now I would like to pass the id of the report element as a parameter of the callback function. But as the parameter 'a' is implicitly declared when the callback function is called (cf. 'onclick="
I tried:
function callback(id,a)or
function callback(a,id)
along with onclick="
It did not work. I think I am missing something.
Thanks for your help.