How To Fix Your Tiny Window When Adding Resources To A View...
Have you ever created a new view, or edited an existing one, and found the super tiny "Add Resources" window to be annoying? Do you have a decent sized monitor, and want to use the screen real estate more effectively? Tired of guessing at resource names, and/or having to always adjust the columns just to see more of the name?
If you answered yes to any of the questions above, well... I feel your pain.
Fortunately, there is a super easy way to fix that problem. A few changes to a few lines, and you will be using all of your screen when you need to add more resources.
ESTIMATED TIME TO INSTALL/PERFORM MODIFICATION:<5 Minutes
Youngling(Easiest/Most Basic; no coding experience required, no config wizard required, no system restart required, no system downtime.)
Padawan (Easy/Basic; no coding experience required, possible config wizard required, possible system/services restart required, limited/no downtime.)
Jedi Knight (Moderately Difficult/Advanced; some coding experience required/recommended, config wizard required, possible system/services restart required, limited/short duration downtime.)
Jedi Master (Most Difficult/Advanced; advanced coding experience required, config wizard required, system/services restarts required, 30+ minutes downtime/maintenance window recommended, and other things that I do not even know I would need to know, required...)
And but second...
PLEASE don't edit files without backing them up first.
If you see a friend or co-worker making changes without backing up first, please alert the authorities.
Friends don't let friends mod without backups.
Also, please keep in mind, changes made to system files will revert back to default when running the config wizard.
This mod was performed on the following SolarWinds environment/versions: (It may, or may not work on other versions)
To increase the number of items listed per page, change the following:
On/Around Line 16
var userPageSize = 20;
After: (I chose 38, as it works for me, and lists exactly enough items to fill the page. You can choose whichever number works best for you)
var userPageSize = 38;
To enable the fancy mouse line, which highlights the entire row as you hover over each line:
On/Around Line 250
After: (This has absolutely nothing to do with the size of the page. It's just a feature I like to enable.)
To change the Widthof the pop-up page, change the following:
On/Around Line 260
width: isSingleMode() ? 820 : 420,
To change the Height of the pop-up page, change the following:
On/Around Line 261
And there you go. Once you save that file, and refresh your page (may have to CTRL-F5 to force new cache), you should see your new and improved "Add Resource" pop-up page... Hopefully, if all went well, it should now be a bit easier to read the rows.
You do NOT need to restart any services. These changes should show up as soon as you save the file and refresh the page.
If you are looking to modify some other standard pages, and you haven't already, please check out the following document:
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community.
More than 150,000 members are here to solve problems, share technology and best practices, and directly
contribute to our product development process.
Learn more today by joining now.