If you want to hack yourself and make the analysis more complicated that what it needs to, then you can create a windows form using clr but this form will only be available on the thick client (see here)
For webplayer AND client to work, you can use javascript and jquery dialogs. Unfortunateley jquery dialogs can't hold spotfire controls so far.
html
<button id='btnForm'>Submit feedback</button>
<pre id="myForm" >
Name <input/>
Experience <select>
<option>Great</option>
<option>Average</option>
<option>Poor</option>
</select>
Comments <textarea/>
</pre>
js
dlg = $( "#myForm" ).dialog({
autoOpen: false,
height: 400,
width: 350,
modal: true,
buttons: {
"Submit comments": function() {
alert("Thanks for your feedback!")
dlg.dialog( "close" );
},
Cancel: function() {
dlg.dialog( "close" );
}
}
});
$("#btnForm").button().on('click',function(){
dlg.dialog( "open" )
})
3 comments:
Hi,
Is it possible to add a link in a table visualisation which can open a dialog populated with key fields from that row of the table? Using the link renderer somehow to send values from the row into a pop up dialog? This would be great to allow users to explore individual table records in a pop out form.
hello
This is awesome.
Could you please tell me how can I get those submit comments to my email or csv file?
Thank you.
Hello Sami,
I would try to use an iron python script and use property controls on the form.
Check http://spotfired.blogspot.com/2014/05/sending-emails-gmail-example.html to see how to send emails or http://spotfired.blogspot.com/2016/08/write-to-file.html to see how to write to a file
Post a Comment