Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Useful DB query Useful DB query
Previous
 
Next
New Post
11/21/2007 12:47 PM
 

I inherited my DNN implementation and am in the process of doing an upgrade of all components (framework, projects, vendor ADD ons). I needed a way to identify every page(tabid) in my installation and know what modules were installed in which content panes... I needed this information by tab name and by the real module name (so I could identify whether it came from the framework, a project, or a vendor). I put the following query together and placed its results into a spreadsheet for further sorting as necessary.  Maybe someone has the same challenge and it will save them some time.   Peter

SELECT m.ModuleID
      ,t.tabname
      ,tm.panename   
      ,m.ModuleTitle
      ,dm.modulename
      ,dm.friendlyname
      ,m.PortalID 
     
  FROM [DB_2130].[dbo].[Modules] m


 join [DB_2130].[dbo].[ModuleDefinitions] md
        on (m.moduledefid = md.moduledefid)
 join [DB_2130].[dbo].[Desktopmodules] dm
        on (md.desktopmoduleid = dm.desktopmoduleid)
 join [DB_2130].[dbo].[tabmodules] tm
        on (m.moduleid = tm.moduleid)
 join [DB_2130].[dbo].[tabs] t
        on (t.tabid = tm.tabid)

ORDER BY  t.tabid, md.moduledefid

 
New Post
11/23/2007 7:42 AM
 

Brilliant!  Thank you very much!  Someone should turn this into a Module.

 
New Post
11/23/2007 9:59 PM
 

Peter:

I'm going to try to return the favor by giving you an idea for something I do in my DNN implementations.

When you login as Host, in the page where you can execute the SQL statements, I added an HTML/Text module below the module to run the SQL statements, in that module I add useful SQL queries like the one you provided.  In that way I can cut and paste the queries from the bottom of the page to the actual execution module at the top and I don't have to dig around when I want to run any of them.

Thank you for the query, I already tested it but with different sort orders though.

Carlos

 

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Useful DB query Useful DB query


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out