Adding component to an existing dashboard
Adding component to an existing dashboard
Hi guys
I have an existing dashboard (with a dashboard, datasource and a variable)
I want to add component in code but i don't know how to get the dashboard from the XML part of the file, since the component need the page and the parent to be shown.
I have attached the file. Can you look at it and tell me how to do that please?
I have an existing dashboard (with a dashboard, datasource and a variable)
I want to add component in code but i don't know how to get the dashboard from the XML part of the file, since the component need the page and the parent to be shown.
I have attached the file. Can you look at it and tell me how to do that please?
- Attachments
-
- TDBTest.mrt
- (10.21 KiB) Downloaded 502 times
-
- Posts: 7332
- Joined: Tue Mar 20, 2018 5:34 am
Re: Adding component to an existing dashboard
Hello,
Sorry, we did not exactly understand your question. Could you explain your issue in more detail?
Thank you.
Sorry, we did not exactly understand your question. Could you explain your issue in more detail?
Thank you.
Re: Adding component to an existing dashboard
Please can you take a look à the attached file. I tryptophane to add à gage in code but it doesn't appear when i run the report. Can you take a look at it and tell me whats wrong?
-
- Posts: 7332
- Joined: Tue Mar 20, 2018 5:34 am
Re: Adding component to an existing dashboard
Hello,
It is not possible to add components in the code in dashboards.
For dashboards only Interpretation mode is available.
Thank you.
It is not possible to add components in the code in dashboards.
For dashboards only Interpretation mode is available.
Thank you.
Re: Adding component to an existing dashboard
Is there an exemple of what is possible to do?
Re: Adding component to an existing dashboard
Is it possible to connect to a DB in script?
-
- Posts: 990
- Joined: Tue Sep 07, 2021 10:11 am
Re: Adding component to an existing dashboard
Hello,
Pelase check the following link with examples:
https://github.com/stimulsoft/Samples-D ... SP.NET-MVC
Thank you..
Pelase check the following link with examples:
https://github.com/stimulsoft/Samples-D ... SP.NET-MVC
Could you explain your issue in more detail?Is it possible to connect to a DB in script?
Thank you..
Re: Adding component to an existing dashboard
Hi Max
Well, actually i changed my strategy. I have a dashboard with all the components i need in place. Now i want to customize them with values from the DB (Ex: Setting the maximum value of a gauge). Thats why i need to connect to my SQL server DB and get some datas from there.
I,ve tried many solution from forum, documentations and even ChatGPT but i still can't get my datas
Anyone can provide me a working exemple?
Just to be more clear, i'm trying to do this in the Script section of the mrt file. The report is loaded, i have access to the components. The only problem resides in getting access to the DB
Well, actually i changed my strategy. I have a dashboard with all the components i need in place. Now i want to customize them with values from the DB (Ex: Setting the maximum value of a gauge). Thats why i need to connect to my SQL server DB and get some datas from there.
I,ve tried many solution from forum, documentations and even ChatGPT but i still can't get my datas
Anyone can provide me a working exemple?
Just to be more clear, i'm trying to do this in the Script section of the mrt file. The report is loaded, i have access to the components. The only problem resides in getting access to the DB

-
- Posts: 7332
- Joined: Tue Mar 20, 2018 5:34 am
Re: Adding component to an existing dashboard
Hello,
Scripts in the dashboard are not supported. For dashboards only Interpretation mode is available.
Thank you.
Scripts in the dashboard are not supported. For dashboards only Interpretation mode is available.
Thank you.
Re: Adding component to an existing dashboard
What do you mean by interpretation mode? Do you have exemple of what can be done using interpretation?