Forum Home › Forums › Understanding the Software › CurData in dasboard view
Tagged: dashboard CurData
- This topic has 13 replies, 2 voices, and was last updated 1 month, 2 weeks ago by
oley.
-
AuthorPosts
-
September 9, 2025 at 8:49 pm #17002
oley
ParticipantHi,
I am playing with the dashboard view.
Is it possible to configure the CurData widget so that the channel column looks like in the table view?
CurData shows channel numbers in square brackets. Is it possible to hide them?
CurData does not show graphic symbols depending on the channel quantity. Is it possible to show them?September 10, 2025 at 12:20 pm #17007
MikhailModeratorHi,
The CurData widget can only display data as it is. This could be an idea for future development.
You could insert a table view as a widget if it solves the issue.September 10, 2025 at 12:38 pm #17011oley
ParticipantHi,
one more question: is it possible for the table view to show only the current value?
September 10, 2025 at 5:45 pm #17013
MikhailModeratorHi,
No, because it is designed for historical data.
If you familiar with HTML and JavaScript, it’s possible to make a custom page and insert it in a dashboard.September 12, 2025 at 1:07 pm #17019oley
ParticipantHi,
how to set it up with custom page?
September 15, 2025 at 10:54 am #17026
MikhailModeratorHi,
Please check this example.September 15, 2025 at 12:05 pm #17039oley
ParticipantHi,
thank you.
I put those files as described into c:\Program Files\SCADA\ScadaWeb\custom\
mypage.css
MyPage.html
mypage.jsIn web browser I see in the tree view left:
..
..
custom
TestAnd the view says Unable to redirect because URL is empty
September 16, 2025 at 3:06 pm #17047
MikhailModeratorHi,
Could you make a screenshot of the Views table?September 16, 2025 at 3:14 pm #17052oley
ParticipantI tried different paths, but can’t get this work.
-
This reply was modified 1 month, 2 weeks ago by
oley.
September 16, 2025 at 5:26 pm #17054oley
ParticipantFirst of all I will show a weather widget in a dashboard. Something like that:
<div id="tp-widget-default" data-city="12031" data-version="2.0.0"> <div id="tp-widget-bottom-default"> <a id="tp-widget-flink-default" href="https://www.twojapogoda.pl/prognoza-godzinowa-polska/warminsko-mazurskie-wegorzewo/" target="_blank" rel="nofollow" title="Węgorzewo - prognoza godzinowa">Godzina po godzinie</a> <a id="tp-widget-flink-second" href="https://www.twojapogoda.pl/prognoza-16dni-polska/warminsko-mazurskie-wegorzewo/" target="_blank" rel="nofollow" title="Węgorzewo - prognoza na 16 dni">Na 16 dni</a> <a id="tp-widget-mlink-default" href="https://www.twojapogoda.pl" target="_blank" rel="nofollow" title="TwojaPogoda.pl - Pogoda w Polsce i na świecie - pogoda na 16 dni"></a> </div> <script type="text/javascript"> (function (t, p, w, d, g) { if (t.getElementById(w)) return; d = t.getElementsByTagName(p)[0], g = t.createElement(p); g.id = w; g.src = "https://widget.twojapogoda.pl/default/main.js";g.charset="UTF-8"; d.parentNode.appendChild(g); }(document, "script", "tp-widget-script-default")); </script> </div>I put a simplest html in project views directory and set it up:
<Widget type=”CustomUrl” url=”./MyPage.html” />
but it also don’t work.
September 17, 2025 at 10:48 am #17063
MikhailModeratorHi,
Use relative path as shown in the example:../../custom/MyPage.html
No C:\…September 17, 2025 at 11:21 am #17070oley
ParticipantHi,
I tried this at the beginning, but it also does not work and additionally shows this directory structure in the tree view:
..
..
..
custom
MyPageCan this custom page be located in the project directory structure, or must be in SCADA program files directory structure?
Now I’ve got this simple html in the views/Weather directory in my project, but dashboard show only blank field.
September 18, 2025 at 12:57 pm #17074
MikhailModeratorHi,
A custom page must be inside SCADA\ScadaWeb\wwwroot
Return to a relational path, then open browser tools (F12) and check what certain page address was requested.
Likely be we can solve this issue faster with Extended support.September 18, 2025 at 8:08 pm #17080oley
ParticipantHi,
I figured it out.
Thanks! -
This reply was modified 1 month, 2 weeks ago by
-
AuthorPosts
- You must be logged in to reply to this topic.