Comments (7)
Pls create an example for this. In your Custom Code in the update statement, it is not very clear where are the postgres database name and the table names. A video tutorial would be a great help as well.
from volkovlabs-form-panel.
Hello @sanchomuzax, you will need an API server, which will implement an interface to a MariaDB or any other database.
Please check out the YouTube video https://www.youtube.com/watch?v=DXALVG8GijM&t=486s and our blog post https://volkovlabs.com/how-to-connect-the-data-manipulation-plugin-for-grafana-to-api-server-1abe5f60c904
The API Server should be similar to our Postgres example: https://github.com/VolkovLabs/volkovlabs-form-panel/blob/main/server-pg/server.ts
Let me know if there is anything else.
from volkovlabs-form-panel.
@sanchomuzax Please let me know if it works.
from volkovlabs-form-panel.
Thank you for your help.
Unfortunately, I'm not a developer, although I can create scripts at a basic level, and I know how to manage sql databases. However, the operation of web interfaces is a level of knowledge that I don't understand.
The documents described in the linked descriptions aren't detailed enough and don't contain enough concrete steps for me to prepare the server side settings of the plugin. 😞
from volkovlabs-form-panel.
@sanchomuzax It's an interesting idea. Using Custom Code in the update statement we can create an INSERT
statement based on the form elements. Then query the data source performing update.
This is what you are looking for? I can create an example and it's a great topic for the video tutorial.
from volkovlabs-form-panel.
@anilsagar Thank you for your interest. We are working on it.
from volkovlabs-form-panel.
Selecting data sources for the initial and update requests implemented in v3.1.0.
from volkovlabs-form-panel.
Related Issues (20)
- Clear specific element on Update in Data Manipulation panel HOT 2
- More problems with zeros HOT 10
- file upload to datasource with custom code HOT 2
- Add code editors suggestions
- Change "Choose" to the current database value for a field using the "Select with custom options" HOT 2
- ReferenceError: replaceVariables is not defined HOT 1
- Separate element business logic from presentation
- Create custom code context parameters builder
- how to save updated element on dashboard even after dashboard load
- Date time setting current insted of query
- Problems with OnOptionsChange() and Onchange() in Data Manipulation Plugin HOT 2
- Data manipulation variable
- Grafana API Integration
- DateTime form is red
- More flexible confirmation Window settings
- Update request Error when using API Data Source as Update Action HOT 2
- How to migrate dynamic custom select options on panels from v3.2.1 to >3.4.0
- Rest api and passing elements to the request HOT 1
- Calling initialRequest() Within Form Events
- [Q] highlight current value in "radio group with custom options" panel
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from volkovlabs-form-panel.