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.
Hi,
I have posted a process to the website and it is shown in table format.
I would like to allow end-user to be able to login and download the report to excel.
Can someone kindly advice how can i go about doing? Thanks.
Hello @mengkoon007,
It's really simple. Create a process that reads the data you are displaying as a table and use the Write Excel operator to write it into binary format. Take this output (the purple line in the process below) and use this as the result port.
Next create a visualisation in your RapidMiner Server WebApp and select Binary as the output format.
Give it a nice name for the downloaded file in the options (for example myExcel.xlsx)
You can use RawHTML in place of the text (where it says "Download" in the component options) and you'll be able to change it into a button pretty easily.
<?xml version="1.0" encoding="UTF-8"?><process version="7.3.000"> <context> <input/> <output/> <macros/> </context> <operator activated="true" class="process" compatibility="7.3.000" expanded="true" name="Process"> <process expanded="true"> <operator activated="true" class="recall_from_app" compatibility="7.3.000" expanded="true" height="82" name="Recall from App" width="90" x="112" y="136"> <parameter key="name" value="myTableData"/> </operator> <operator activated="true" class="write_excel" compatibility="7.3.000" expanded="true" height="82" name="Write Excel" width="90" x="447" y="136"/> <connect from_op="Recall from App" from_port="result" to_op="Write Excel" to_port="input"/> <connect from_op="Write Excel" from_port="file" to_port="result 1"/> <portSpacing port="source_input 1" spacing="0"/> <portSpacing port="sink_result 1" spacing="0"/> <portSpacing port="sink_result 2" spacing="0"/> </process> </operator></process>
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…
Join us for a community conversation on accelerating your motor simulation workflow with Simcenter Simlab. In this beginner-friendly session, we'll introduce the platform's automated model-building capabilities and show how easy it is to set up your first electric motor analysis. You'll see the basic steps of geometry…
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…