Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
HD-Chapter:Apps
-
HD-Enabler:Wirecloud
Description
Hello Team,
I have a query with respect to the usage of fiware.
My requirement is to visualize data using GET request of the REST API in a widget on the dashboard.
Please guide me on how this can be achieved.
Thanks,
Anirudh Karthik
From: Fernando López Aguilar fernando.lopez@fiware.org
Sent: Thursday, April 26, 2018 14:39
To: Karthik, Anirudh <anirudh.karthik@hpe.com>
Subject: Technical questions about the use of the FIWARE components.
Dear user,
This questions should go to our ticketing system. Might you send an email to the fiware-tech-help@lists.fiware.org<fiware-tech-help@lists.fiware.org> in order that we can manage properly the question.
Best regards,
Fernando
Fernando López Aguilar
FIWARE Cloud & Platform Senior Expert
M. +49 1522 2600767
fernando.lopez@fiware.org<fernando.lopez@fiware.org>
fiware.org<https://www.fiware.org/>
Twitter: @fiware<https://twitter.com/fiware> @flopezaguilar<https://twitter.com/flopezaguilar>
[X]
——————————
Hello Fernando,
I have a query with respect to the usage of fiware.
My requirement is to visualize data using GET request of the REST API in a widget on the dashboard.
Please guide me on how this can be achieved.
Thanks,
Anirudh Karthik
________________________________
From: fernando.lopez@fiware.org<fernando.lopez@fiware.org> <fernando.lopez@fiware.org<fernando.lopez@fiware.org>>
Sent: Wednesday, April 25, 2018 12:02:32 PM
To: Karthik, Anirudh
Subject: confirm: YuQufKR5f3EFGzd5lUVcleKpX2RBaeTJ4oytspHYk6IXKRYT
Thank you very much to select FIWARE Lab Cloud. We have received a request
for
FIWARE Lab user creation.
Here are the results.
Name Anirudh Karthik
Email anirudh.karthik@hpe.com<anirudh.karthik@hpe.com>
Selected Region Vicenza
To confirm that you want to create a FIWARE Lab account, simply reply to
this
message, keeping the Subject: header intact.
If you do not wish to created a FIWARE Lab account, please simply disregard
this message. If you think you are being maliciously registered to the
list, or
have any other questions, send them to
fiware-lab-user-creation@lists.fiware.org<fiware-lab-user-creation@lists.fiware.org>.
Thank you very much,
FIWARE Lab administrative team.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<Unable to render embedded object: File (-- converted from text --><style><) not found.-- .EmailQuote
--></style>
</head>
<body>
<div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Hello Fernando,<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
I have a query with respect to the usage of fiware.<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
My requirement is to visualize data using GET request of the REST API in a widget on the dashboard.<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Please guide me on how this can be achieved.<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Thanks,<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Anirudh Karthik<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> fernando.lopez@fiware.org<fernando.lopez@fiware.org> <fernando.lopez@fiware.org<fernando.lopez@fiware.org>><br>
<b>Sent:</b> Wednesday, April 25, 2018 12:02:32 PM<br>
<b>To:</b> Karthik, Anirudh<br>
<b>Subject:</b> confirm: YuQufKR5f3EFGzd5lUVcleKpX2RBaeTJ4oytspHYk6IXKRYT</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:11pt;">
<div class="PlainText">Thank you very much to select FIWARE Lab Cloud. We have received a request
<br>
for<br>
FIWARE Lab user creation.<br>
<br>
Here are the results.<br>
<br>
Name Anirudh Karthik<br>
Email anirudh.karthik@hpe.com<anirudh.karthik@hpe.com><br>
Selected Region Vicenza<br>
<br>
To confirm that you want to create a FIWARE Lab account, simply reply to <br>
this<br>
message, keeping the Subject: header intact.<br>
<br>
If you do not wish to created a FIWARE Lab account, please simply disregard<br>
this message. If you think you are being maliciously registered to the <br>
list, or<br>
have any other questions, send them to <br>
fiware-lab-user-creation@lists.fiware.org<fiware-lab-user-creation@lists.fiware.org>.<br>
<br>
<br>
Thank you very much,<br>
<br>
FIWARE Lab administrative team.<br>
<br>
<br>
</div>
</span></font>
</body>
</html>
__________________________________________________________________________________________
You can get more information about our cookies and privacy policies on the following links:
- http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/FIWARE_Privacy_Policy
- http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Cookies_Policy_FIWARE
Fiware-tech-help mailing list
Fiware-tech-help@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-tech-help
[Created via e-mail received from: "Karthik, Anirudh" <anirudh.karthik@hpe.com>]
Activity
- All
- Comments
- History
- Activity
- Transitions
Replied:
Hi Anirudh,
I assume you want to access a generic backend service using a GET HTTP request and draw that data inside a WireCloud widget. For doing so, you have to make an HTTP request from within the Widget JavaScript code. I'll indicate different steps for doing so:
You need a widket skeleton, in case you have not yet done this. You can find detailed information here: https://wirecloud.readthedocs.io/en/latest/development/widget_and_operators/
In the javascript code, fired at loading the page (widget) or fired as a result of an event in your widget (button, received wiring event...), create an HTTP call to a backend service using the MashupPlatform.http API. You can find detailed information about this step here: https://wirecloud.readthedocs.io/en/latest/widgetapi/widgetapi/#mashupplatformhttp
With your data, please update widget HTML elements using your preferred library
In case I have not answered your question, or in case you want to access through NGSI data inside a Context Broker (you have a library and pre-packaged operator), please let me know.
Best regards,