Javascript call to update an AppObject
Answers
-
Hi John,
I don't think this is possible in a direct way.
However we developed a module that allows you to generate forms from a form specification table. This form will be published as raw html that you show as HTML component in the Web App.
You can parametrize the process creating this component and tell him which variable you want to use to store the results. This is done either on any change in the form data or when you press a button.You then use a second process that will unwrap the data that has been stored inside the plain text variable and return it to you as a one line example set. Unfortunately due to a misdesigned method call in the Javascript API of RapidMiner it is not possible (at least not due to my knowledge and I tried really hard) to execute a process automatically that get's the variables current values. You can execute a process, but it will be oblivious of the current context of the Web App and hence is pretty much use less.
So you end up to:
- Make a form auto commiting
- Build a Button that executes the process
Here's an example of how it can look like. Had to mask the captions due to confidentiality, but I think you get the idea.
Large, tabular form
If you are interested in re-using our WebApp components for RapidMiner please contact me.
Greetings,
Sebastian
0