I tried creating an activity today for an EVL script, and I started by adapting an EOL activity and just changing things to use EVL and refer to the appropriate files. When I tried to run it, I could not see any output in the Console view, and the JavaScript Console panel logged an error message:
Namely, this text:
Playground.js:672 Uncaught (in promise) TypeError: outputPanel.hideEditor is not a function
at Playground.js:672:1
The issue seems to be that I should have used a panel with the ref problem, which is an OutputPanel, but this would not have been obvious to a first-time user unless they looked at the pre-made examples. I could not find in the wiki any reference to the predefined console and problem panel references and how they differ from each other, or how the response from the tool function is then used to populate the chosen panel.
It'd be good if there was a way to report this situation to an activity author, or at least it'd be good if you could complete the wiki with the above bits of information.
I tried creating an activity today for an EVL script, and I started by adapting an EOL activity and just changing things to use EVL and refer to the appropriate files. When I tried to run it, I could not see any output in the Console view, and the JavaScript Console panel logged an error message:
Namely, this text:
The issue seems to be that I should have used a panel with the ref
problem
, which is an OutputPanel, but this would not have been obvious to a first-time user unless they looked at the pre-made examples. I could not find in the wiki any reference to the predefinedconsole
andproblem
panel references and how they differ from each other, or how the response from the tool function is then used to populate the chosen panel.It'd be good if there was a way to report this situation to an activity author, or at least it'd be good if you could complete the wiki with the above bits of information.