PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 10/07/2015 12:49 PM by  Donna
what table contains dashboard info
 4 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Dean Rochester
Advanced Member
(76 points)
Advanced Member
Posts:32


Send Message:

--
01/12/2011 9:41 AM
    What table in the LBI database contains the info that shows what dashboards and or modules a report id is linked on?
    Chris Martin
    Private
    Private
    Veteran Member
    (825 points)
    Veteran Member
    Posts:277


    Send Message:

    --
    01/12/2011 9:48 AM
    Check ENPBATREE
    Dean Rochester
    Advanced Member
    (76 points)
    Advanced Member
    Posts:32


    Send Message:

    --
    01/12/2011 12:52 PM
    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
    Private
    Private
    Veteran Member
    (259 points)
    Veteran Member
    Posts:107


    Send Message:

    --
    10/07/2015 12:49 PM
    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
    Private
    Private
    Veteran Member
    (259 points)
    Veteran Member
    Posts:107


    Send Message:

    --
    10/07/2015 12:49 PM
    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
    You are not authorized to post a reply.