Identifying the Master Module of a Shared Module

Overview

This article defines the different methods to identify the master module of a shared module. This is essential as any edits must be performed on the master module.

 

Prerequisites

 

Diagnosis

To identify a master module is quite simple. If you are editing any page currently on the shared module, you will receive this message above the shared module:

"This module does not belong to the page. Please, move to its master page to change the module".

2020-01-21_1124.png

If you click the master page hyperlink, you should be able to be routed directly to the page of your master module.

But there are times where the message will not appear, and you need to find which page is the master page for the shared module through the backend.

 

Solution

You will need to access the SQL console via Settings > SQL Console and run the following queries:

  1. Find the specific module ID from the shared module on the page. You can go into edit mode and hover over the module settings. 

    2020-01-21_1304.png

    The URL displayed at the bottom of the screen will contain the module ID.

    2020-01-21_1305.png

  2. You can see the module ID in the above example image is 363. Using this ID, run the following query:

    SELECT * FROM ContentItems WHERE ModuleID = 363

  3. Using the output from the above query, you can find the TabID. With the TabID,  you can then run:

    SELECT * FROM Tabs WHERE TabID = #

    This query will provide the name of the page where the master module is currently located.

 

Back to top


 

Testing

To test that you have identified the master module:

  1. Access the page the master module is.
  2. Make a content change on the master module.
  3. Browse to another page where the module is deployed and see if the change has persisted.

 

Back to top

Comments

0 comments

Please sign in to leave a comment.