Hi,
I tried the latest version 4.3 to check compatibility for our App. I have noticed problem with module ResultsActionButtons, especially export button. It disappeared in the new version 4.3. We used following code and css to display only export button. It worked fine till version 4.2.4 as expected. Generated HTML code for ResultsActionButtons looks different in the new version. Unfortunately App "UI Examples" with export example disappearded from App stor too :-(. Is there some new way to display Export button? Is it documented somewhere?
---XML---
<module name="ResultsActionButtons">
<param name="editView">False/param>
</module>
---css---
.ResultsActionButtons .saveButton,
.ResultsActionButtons .printButton,
.ResultsActionButtons .linkButton,
.ResultsActionButtons .editButton,
.ResultsActionButtons .splViewEvents {
display:none;
}
Thank you
You could use the Export module instead of the old ResultsActionButton
<module name="Export" >
<param name="exportType">result</param>
</module>
You could download Sideview Utils 2.0, which has a new module called SearchControls.
In appearance it looks like the JobStatus module, and you can give your users the ability to pause, play, cancel, finalize the job, or to save searches or alerts, or to create dashboards etc...
However it also has an export button, and unlike both JobStatus and ResultsActionButtons, you can configure it to only display the options that you want available.
So for instance you can strip it all the way down to just export, by doing:
<module name="SearchControls">
<param name="sections">export</param>
</module>
or you can give it the ability to export, print save searches, save results, but not the "save and share results" options:
<module name="SearchControls">
<param name="sections">export print saveMenu</param>
<param name="saveMenu">saveSearch saveResults</param>
</module>
I too was bitten by the disappearance of export from ResultsActionButtons, and for a while I replaced them all with heavily-patched JobStatus modules. But this was really clunky, and of course there was no 'export', so after a while I went back and implemented the SearchControls module.
You could use the Export module instead of the old ResultsActionButton
<module name="Export" >
<param name="exportType">result</param>
</module>
Is there at least a Defect raised for this at Splunk?, cause I would really need to have the "ResultsActionButtons" Working!
Thanks,
it is exactly what I need, it looks as link now, but it is probably ok.