Last active
September 6, 2018 10:57
-
-
Save kieran23101/aa2b872b8485f657f070574eb234505f to your computer and use it in GitHub Desktop.
This will search through all modules and move all the modules in one pane to the other useful for when a pane name is changed on a large website (USE FOR DNN) Tested on DNN 7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT PaneName FROM dbo.TabModules | |
UPDATE dbo.TabModules | |
SET PaneName = 'NewPaneName' | |
WHERE PaneName = 'OldPaneName' | |
-- Update Using Module Title | |
SELECT PaneName FROM dbo.TabModules | |
UPDATE dbo.TabModules | |
SET PaneName = 'New pane name' | |
WHERE 'Module Title' = 'Your Title' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Very useful!