Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic panel name according to edge name #111

Open
Borch97 opened this issue Jun 20, 2024 · 1 comment
Open

Dynamic panel name according to edge name #111

Borch97 opened this issue Jun 20, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@Borch97
Copy link

Borch97 commented Jun 20, 2024

Component

  • UI

Description
I have about 200 edge instances deployed and they all have the same dashboard deployed, tailored to the edge data. I want the name of the panel to be for example: "${EdgeName} - Energy".

How could I do it without creating a panel for each instance?

Thanks in advance.


Disclaimer

We appreciate your contribution whether it is a bug report, feature request, or pull request with improvement (hopefully). Please comply with the Community ethics policy, and do not expect us to answer your requests immediately. Also, do not treat GitHub issues as a support channel.

@Borch97 Borch97 added the question Further information is requested label Jun 20, 2024
@volodymyr-babak
Copy link
Collaborator

@Borch97

Currently, there is no built-in functionality to display the Edge name in a specific widget out-of-the-box. However, this is a great feature idea for the future.

For now, you can use the following workaround: create an alias to fetch all edges entities and display the name of the fetched edges. On the cloud, this alias will randomly select one of your edges and display its name. On the edge, this alias will select the exact name of the dedicated edge.

Here are screenshots of the configuration of the dashboard and alias on the cloud:
2024-06-21_12-07
2024-06-21_12-08
2024-06-21_12-08_1

Screenshot of the first edge:
2024-06-21_12-01

Screenshot of the second edge:
2024-06-21_12-02

As you can see, the title of the dashboard differs from edge to edge. I hope this approach can meet your goals for the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants