Grafana Panel Plugin Load data on demand (click event) - grafana

I am working on a customized panel plugin where I need to show data and provide a drill down functionality. My environment would be
React Panel
Grafana 6.5.3
InfluxDb as datasource
What I want to achieve is
Initial set of data will be loaded from influx query (That part is pretty much clear how to do).
The customized panel have some clickable items and on click I need to load additional data (based on selection), I am not sure how this part can be achieved and what is best way to communicate with data source (influxDb in my case) from panel plugin. I see eventBus 1, perhaps this is the way to communicate with outer world, but couldn’t find any significant help from documentation.
Any sort of help/pointer is appreciated, or example opensource plugin which is already doing such stuff.

Related

Kibana 7 - How can I jump from a Dashboard to the Discover Tab?

While mindful of this answer from 2017...
For Kibana 7, is there an updated way to jump from a Dashboard to the Discover tab?
So that I can see the raw documents that support a visualization?
To some extent, yes, there is a possibility to make dashboards interactive and open panel data to Dashboard, something what you are looking for. However, this will only work if your panel uses just one data view.
For more information on configuring this, please refer to: explore-underlying-documents.
If you want to drill down into the documents from, lets say, data tables, you have that option as well, please read: create-drilldowns

Embedding a website in a Grafana dashboard

I run Grafana 7.2.0 Open Source Edition and need to embed a website into the dashboard itself. That is, I need a row or two of the usual panels of graphs, and below them embed an external web site that needs to be periodically reloaded.
How can I achieve this? There do not seem to be any relevant plugins at https://grafana.com/grafana/plugins. Is it possible to write a custom panel just for my instance? If so, any pointers about how to start would be appreciated.
You can use Grafana's standard "Text" panel.
Set Display->Mode->HTML in panel settings and add
<iframe src="http://your.external.web.page.url"></iframe> in panel content editor.

Create Plugin behind a custom button in Dynamics CRM

I have a requirement that is needed a plugin in Dynamics CRM.
I want to create a plugin on the phonecall entity and after a click on the custom button, the plugin will create an incident with data of phonecall. how can do this please help me? I didn't find any solution or tutorial video on the internet that can help me to implement this requirement.
Before you get into custom coding a plugin, you might want to consider whether you an out-of-box workflow or Power Automate Flow to do what you need.
Whatever automation you choose, you could have it trigger on the setting of a two options field or a change in the Phone Call's status.
You can use Ribbon Workbench to add a custom button and JavaScript to set that checkbox. Or, JavaScript could directly launch the workflow.
The PCF Gallery also has a number of button options which might be easier than the "DIY" option of Ribbon Workbench.
If you definitely need the plugin, you could register the plugin to fire on change of the checkbox, and again use a button to check on the checkbox.
Speaking of actions, you could also publish your Phone Call to Incident logic as a custom action and have the button call that action.
As you can see, there are plenty of options. It is typically a good idea to explore using configurable options like Power Automate Flow and PCF Gallery controls before custom coding a plugin.

Clarifications on the Domo dashboard

The tool I'm using to develop a dashboard is Domo Centerview builder. The graphs are not getting loaded when I open the dashboard but it appears only after selecting the controls.
controls like check-box, radio-buttons , radio-group and drop down lists should be placed independently. It should not come under any KPI's if u place it inside any KPI's it wont take the data until some event happens in the dashboard
I assume you are talking about Domo here - which is used to build business intelligence dashboards.
Any graph you create using the analyzer goes to your overview page. You can then move the graphs/cards to the page that you want.

How to add JFace table to Eclipse RCP New Project Wizard

I have a Wizard with two pages: pageone extending WizardNewProjectCreationPage, and pagetwo is extending WizardPage. I want the user to be able to create the project first, and then add files to the project on the second page.
For the latter I want to use a SWT Table (?) like when you pick an interface in the Java Class Wizard in Eclipse IDE (cf. picture here). Also the "Add" button next to it.
How can I achieve this? Do I have to use Eclipse Forms API for this? Or simply add a SWT Table? I have used the Plug-In Spy but the source code given in NewClassWizardPage and NewTypeWizardPage seems to be very specific to this example and I cannot make sense of it.
I've also had a look at vogella's tutorial for JFace table, but I can't get my head around it.
Just some basic steps would be great, or maybe somebody has done this before?
I can easily understand why you're confused... there are indeed many ways to do this. You even left out Data Binding which provides you with yet another way to populate and decorate the table in question.
To sum up the usage of the different APIs:
SWT provides the basic widgets and controls. Often these have a rather irregular low-level interface - especially compared with Swing - but you need to access the SWT controls to lay them out (an exercise that can be complicated in itself). Also many of the listeners are on the controls.
JFace provides a set of viewers on top of the corresponding structured SWT controls - e.g. TableViewer on top of Table. These viewers provides a high-level interface to the functionality of the underlying control - e.g. with models, label providers, sorting, filtering and more. (The viewers can easily be compared with the Swing counterparts...)
Eclipse Forms provides a (relatively) simple way to create views, dialogs, etc that looks like web pages. Examples of this are the various PDE editors.
Data Binding provides a (somewhat complicated) way to bind controls (including Tables) to a data structure (Bean, EMF or POJO based).
So... you have to decide on whether to use the model facet of JFace and Data Binding, but the rest of the APIs are often combined in the same view or dialog.
NewClassWizardPage and NewTypeWizardPage are both particular complicated examples of wizards - don't base your own work on these!
For your particular case - as I understand it - I would use a simple JFace TableViewer to hold the list of interfaces... (I use a TableViewer rather than a ListViewer as the later cannot have an image as part of the label provider.) The "Add" and "Remove" buttons will manipulate the model of the viewer and then update the viewer. You don't need Eclipse Forms as the wizards usually don't look like web pages. And Data Binding is also an overkill here given the very, very simple data for the wizard.
Please note that the function of a wizard is only performed after all the wizard pages has been shown and the "Finish" button is pressed.