Ticket T400712
Visible to All Users

Web Dashboard Designer - Using XPO datasource for DashboardService

created 9 years ago

Hello DevExpress support team,

i was able to connect my ASP.Net dashboard editor with a XML, SQL and OLAP datasource. Now i try to get this working with specific XPO entities. Is there some kind of "DashboardXpoDataSource" object to use? What the best approach to load XPO data in the new ASP.Net dashboard designer?

Thanks for further assistance, kind regards
Wolf

Answers approved by DevExpress Support

created 9 years ago (modified 9 years ago)

Hello,

You can use DashboardObjectDataSource to connect the dashboard to an XPO data source. Refer to the T272243: How to link a connection XPO to Dashboard in runtime? ticket where a similar issue was discussed in the past.

    Show previous comments (2)

      Hello Maxim,
      thank you very much for the provided sample and please excuse myself to bother you again:

      Still i got problems adopting your solution to my needs. IMHO the current implementation of this functionality is not quite straightforwarding if not to say confusing. Refering to the attached XAF demo solution and after completing the following steps…

      - Create some "DomainObject1" entities
      - Create a new "Dashboard Design"

      … i face the following problems:

      1. The designer control does not show up the existing entitiy objects.
      2. After opening the dashboard design detailview a second time the dashboard designer control stays invisible (obviously in cause of the js exception 'Uncaught Error: You cannot apply bindings multiple times to the same element.'). Hitting F5 manually does show up the control again.
      3. Creating additional dashboard designs the design control shows up the design of a formerly defined dashboard.

      (Please consider that I have to set the underlying object type of the dashboard designer control dynamically because in the end i want to embed such designer functionality for all entities of my application)

      Again thanks in advance!

      DevExpress Support Team 9 years ago

        Hello,

        I've created a separate ticket on your behalf (T402442: How to show ASPxDashboardDesigner in a XAF application). It has been placed in our processing queue and will be answered shortly.

          Thank you Maxim!

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.