Server Management - Systems Insight Manager
1828227 Members
3310 Online
109975 Solutions
New Discussion

Help with Lists

 
SOLVED
Go to solution
Michael Sole_1
Advisor

Help with Lists

I accidentally made a list a private list, is their a way to convert it to a public list?
4 REPLIES 4
David Claypool
Honored Contributor
Solution

Re: Help with Lists

You can do it using the mxquery command and a little editing. Find mxquery in %PROGRAMFILES%\hp\systems insight manager\bin

Given a list called privatelist created by administrator and stored in the folder privatefolder:

mxquery -lt "privatelist" >tempfile

will output the XML definition to the file tempfile. If you edit tempfile, you'll see a line that looks something like:



(where "nn" equals an id number for the query) Edit that line to make any changes, including the name of the query and the folder it is in (please note that you can only make a query public if you place it in a folder that is public). You also will add an access parameter and set it to public and change the owner to the system which is mxadmin. So, assuming that the list name changes to publiclist and the folder to publicfolder, the line would look like the following:



First we will delete the original query and then we will add the new query.

mxquery -r "privatelist"
mxquery -a -f templist

Finally, please note that if you are already logged in, the new list won't pop up until a logout and a login again.
Michael Sole_1
Advisor

Re: Help with Lists

Thanks!

Is there a document or a guide somewhere that will teach me list management. I will probably need to do a lot of it. (Re-ording lists and stuff)
David Claypool
Honored Contributor

Re: Help with Lists

Check out http://www.hp.com/go/hpsim --> Information Library at the bottom of the page for the man pages called mxquery.1.html and mxquery.4.html. You could probably also learn a lot by building lists in the GUI and then examining the XML file output.
Michael Sole_1
Advisor

Re: Help with Lists

yeah i have no problem creating lists but its editing them that is a little clumbsy in the GUI. So I really like the idea of getting to the raw level to do these sorts of things.

Thanks and happy holidays!