My solution was not as nice to look at as it could be.
hcy01uk suggested a very nice and neat solution to clean it up a bit, which allowed for a single "Add New" button to be placed at the top of the resource, instead of being repeated down the entire list XX number of times.
The only problem we found was the link/icon would be automagically removed if someone clicked the "Edit" button for the resource. If this happened, then we would have to manually go back into the database, and reapply the fix.
Lately, I have been snooping around all the resource files, trying to build better resources for our specific needs. In doing this, I was able to make a resource that has the "Add New" button hardcoded into it. Now, you can click to edit the resource as many times as you wish, and the link/icon remain.
I am a bit lazy at the moment, so, instead of adding screenshots to this post, I will simply refer you to look at the post located here, SWQL Custom Views Manager.
**WARNING! THE INFORMATION YOU ARE ABOUT TO READ COMES FROM THE MIND OF AN UNTRAINED AMATEUR, AND IS MOST LIKELY FAR, FAR FROM THE BEST PRACTICE**
CustomSWQLViewsManager.js **(Apply THESE DIRECTIONS, to this file (CustomSWQLViewsManager.js), if you want to make the SWQL links automatically open in a new tab, by default)**
Rerun the SolarWinds Orion Configuration Wizard.
Make sure that "Website" is the only option checked.
Click OK/Next until process begins.
Add new "Custom SWQL Views Manager" resources to a page.
Apply the "SWQL Custom Views Manager" SWQL query, from Custom SWQL Views Manager, to your new Custom SWQL Views Manager resource.
Enjoy your new SWQL Custom Views Manager, with built in "Add New" link/icon.
I have not added, or removed, anything else from this resource, so, it should work the same as the standard/default resource in regards to permissions and basic functionality. (other than being able to create a new view directly from the resource)
If an unauthorized user happens to see the "Add New" button on the resource, and tries to use it, they should see the following error:
Unexpected Website Error
A SolarWinds administrator has limited your account from viewing the requested page. You must have the 'Allow Account to Customize Views' privilege to access the requested page.
Here are a few more examples of other modified resources:
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.