The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
Hello,
What would be the javascript call I'd need to use to update an app object?
For example to create a form with a submit button which then updates an app object with the text result.
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
Join us for a Community Conversation where we'll discuss practical approaches to analyzing complex electromagnetic models using hybrid solver techniques. This session will provide a general overview of how different computational methods can be combined within a single simulation to address models containing varied…
Join us for a community conversation to explore how different modeling approaches in Simcenter PSIM can help engineers simulate power electronics systems while balancing accuracy, simulation speed, and design insight. What you'll learn: Power transistor modeling : Thermal and high fidelity models Protection component…