The feature in Powertools to view the .shared file is very usefull to pinpoint the source issue. But it would be a great for administrators to be able to change all the bookmarks at once. For example the <OneAndOnlyOne> parameter is set to true and you want to edit this to false. Is this possible and if so is this an enhancement you are willing to look at?
I'm not Stefan, but IMHO that would be an awful lot of work. In essence, you want the entire QlikView Desktop Properties dialog for all possible objects to be implemented in the Shared File Viewer?
I guess such a change would immediately put the Viewer on the QlikView Price List
BTW Don't get me wrong, I woul like that too. On the other hand, such a tool is already available: QlikView Desktop (with Open in Server) - the only things you need are the account and password of the creator of the shared object...
There is another "nice to have" feature for the Shared File Viewer and much simpler, I guess: The ability to remove all created objects from a specific user o a list of users. We have a large .Shared file from an "old" app (it's been used for 2 years now) and there are many users that are no longer users so I would like to remove from the .Shared file any object that they have created.
Am I just dreaming?
I don't know if you're aware of this basic delete-shared-object-feature in the shared objects view in QMC (see Documents->User Documents->Document->Server->Server Objects - every shared object has a "delete" icon).
I guess you are, so you're asking for a more Qlikiew management-like feature that allows you to bulk-delete all objects of a certain user (hundreds of them), or all shared objects created by a group of users, or simply an X at the top of the list that deletes every shared object attached to a document. Nice! (The QMC doesn't even allow sorting the lists it presents, which is a big handicap if you ask me.)
QlikView Management API on the other hand offers lots of help to accomplish what you want (see the GetServerObjects & DeleteServerObject methods), if you are into programming it yourself that is...
This discussion may end up without an answer, but is interesting in itself to collect condensed feedback on "useful features" without the additional chatter of the regular PowerTools list. We should invite Stefan Bäckstrand to get his view on these things. Done!
Thank you, Peter. I am aware of the QMC features, but it seems pretty hard to manage server objects with big .Shared files.
I'll take a look at the QlikView Managment API. We've already used it to develop a component to schedule/start Publisher tasks. I didn't know that you could manipulate .Shared files with it. Any example?
I didn't find any GetServerObjects & DeleteServerObject methods in QMS API.
Do you have some examples or documentation I can use?
Regarding being able to change any entry in a .shared file; this is not something we're looking into at this point, since there are several challenges around it, one being that we do not want to implement too much functionality in the tool that mimics what the server does (for several reasons). It is not in our interest to make the Shared File Viewer to an editing tool, but rather keep it as a salvage and troubleshooting tool. For this reason we are keeping advanced surgical functions like the one suggested to a minimum. I hope this is understandable.
And now, to the section called "There's a tool for that".
Regarding the ability to remove (or change owner of) several objects from a specific user; we have a tool for that, and it is called Server Object Handler (and its sibling Server Object Handler Batch, for you command line nerds out there). It allows you to remove or change ownership of multiple objects at the same time, based on filters on object owners, types or id. We recently also added support to filter/find objects who's owners are either not found or is disabled in Active Directory (if any). Note: the Server Object Handler (Batch) uses a legacy API over the QVP against the QVS, not the QMS API.
Regarding the QMS API; there are four functions relevant that can also help managing server objects (this is the collected and technical name for all objects in a .shared file, basically - put it in your memory banks), and they are; GetServerObjects(), GetServerObjectMetaDataForUser(), TakeServerObject() and DeleteServerObject(). You can of course explore these functions with the wonderful power tool QMS API Client, that's also included in Power Tools.
We know that QMC is not optimal in handling server objects, but I think that these tools more than enough makes up for that.
I hope this helps.
Please see my response here: Re: Is it possible to get a "Shared File Editor" in Powertools next to the Viewer and Repair?
There's a tool for that. See my comment further down in this thread: Re: Is it possible to get a "Shared File Editor" in Powertools next to the Viewer and Repair?
Thanks for your help.
I'm checking out the Server Object Handler tool. With version 1.2 I type "QlikView Server" name, then click "Browse Document" and it opens a window without any qvw file.
With version 1.1 it seems to work OK, but I'd like to use 1.2 version because of the "Inactive users" filter. Do you know if there is a problem with this version?