what table contains dashboard info

 4 Replies
 1 Subscribed to this topic
 22 Subscribed to this forum
Sort:
Author
Messages
Dean Rochester
Advanced Member
Posts: 32
Advanced Member
    What table in the LBI database contains the info that shows what dashboards and or modules a report id is linked on?
    Chris Martin
    Veteran Member
    Posts: 277
    Veteran Member
      Check ENPBATREE
      Dean Rochester
      Advanced Member
      Posts: 32
      Advanced Member
        Bingo, that got the ball rolling... for those interested in trying to find out what report ids are where in your dashboard... say for instance is the same report linked to more than one location in LBI on different dashboards and or modules... where here is what I came up with...  hope I did not reinvent the wheel meaning is there a way to see where a report is used in LBI from LBI?

        If you do an sql query of the FS database tables like this
        select *
        from ENPBATREE a, ENPTREEATTRS b
        where a.treeentryid = b.treeentryid

        The ATTRSTRINGVALUE field contains the URL info for the link to the report id.  The last portion of it being the actual report id.

        The ENTRYSTRING is the link text

        The ENTRYPARENT is the id of the parent entity...Meaning the module or dashboard that this item is in...

        So with the ENTTRYPARENT  you can do a query like this to get the parent module and or dashboard
        select *
        from enpbatree
        where treeentryid = 1234  <---  ENTRYPARENT from above

        This will return ENTRYPARENT and ENTRYSTRING which will be the id of the parent and the text for the Module and if you do this again with the new ENTRYPARENT you will get the dashboard name.

        I hope this helps reverse engineer where your reports are in case you need to know where a report is used.

        Donna
        Veteran Member
        Posts: 110
        Veteran Member
          Thank you for the information that identified ENPBATREE and ENPTREEATTRS in this historical post. We are S3 and preparing to upgrade our database to v10. Although our LBI is already upgraded to v10 we will have to go through the very labor intensive process of changing our datasource in Crystal, republishing the reports and reestablishing the dashboard urls to point the reports to the new database at Go live.

          We have over 700 reports and I am trying to prepare a listing of all the reports with their dashboard locations and report numbers. We have idenitfied the critical, obsolete and second tier priority reports using report numbers.

          I prepared a Crystal report using {ENPBATREE.HIERARCHY} as the primary group and can get all the fields we need from the ENPBATREE and ENPTREEATTRS fields except the report number. I don't see a relationship that can be used in the report or a query to tie the report to the dashboard. I know I can use the report name if necessary but I am hoping for another option. Our users sometimes change the report name on the dashboard although the crystal report name is unchanged which makes the report number the most reliable way to identify the report as we progress through our upgrade report maintenance..

          Any suggestions would be appreciated.

          Donna
          Donna
          Veteran Member
          Posts: 110
          Veteran Member
            Thank you for the information that identified ENPBATREE and ENPTREEATTRS in this historical post. We are S3 and preparing to upgrade our database to v10. Although our LBI is already upgraded to v10 we will have to go through the very labor intensive process of changing our datasource in Crystal, republishing the reports and reestablishing the dashboard urls to point the reports to the new database at Go live.

            We have over 700 reports and I am trying to prepare a listing of all the reports with their dashboard locations and report numbers. We have idenitfied the critical, obsolete and second tier priority reports using report numbers.

            I prepared a Crystal report using {ENPBATREE.HIERARCHY} as the primary group and can get all the fields we need from the ENPBATREE and ENPTREEATTRS fields except the report number. I don't see a relationship that can be used in the report or a query to tie the report to the dashboard. I know I can use the report name if necessary but I am hoping for another option. Our users sometimes change the report name on the dashboard although the crystal report name is unchanged which makes the report number the most reliable way to identify the report as we progress through our upgrade report maintenance..

            Any suggestions would be appreciated.

            Donna