Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Many times, the .shared file in the qlikview server becomes corrupt and the user bookmarks stop working. They can add new bookmarks but the old bookmarks somehow disappear
Is there anyway for us to check the integrity of this file and replace this file from backup if it is detected as corrupt?
-br
Arif
Yes. There is a PowerTool to check on file integrity. But the simplest method is to use the Shared Object Checker that is built into the QVS.exe executable. While normally running as a service, the QVS executable can also be used as a command line tool.
See the end of the QlikView Server Release Notes for more information.
Yes. There is a PowerTool to check on file integrity. But the simplest method is to use the Shared Object Checker that is built into the QVS.exe executable. While normally running as a service, the QVS executable can also be used as a command line tool.
See the end of the QlikView Server Release Notes for more information.
Hopes this helps,
You can try with power tools!
=======================================================================
Shared File Viewer
=======================================================================
#######################################################################
DISCLAIMER
Power Tools are a collection of software programs and tools used
for trouble shooting purposes only. Power Tools are provided free of
charge and are not supported. Power Tools are not official QlikView
products and are provided without warranty. Use of Power Tools is
entirely at the user's own risk.
#######################################################################
DESCRIPTION
--------------------------------------------------------------------------------------------------
This is a tool that visualizes the content of any given .shared file belonging to
.qvw documents from Qlikview Server. The .shared files contains collaboration objects
like bookmarks, charts, listboxes or other objects created by client users on the server
in the .qvw document.
Note: It also opens .meta files, but this functionality is read-only and not properly tested. See
topic ".META FILE READER".
The program only need the .shared or .meta file.
FUNCTIONALITY
--------------------------------------------------------------------------------------------------
* Marks any deemed erroneous object
* Deletes erroneous objects and free's space in file when saved ("repair")
* Scans a folder with multiple .shared files and displays each file major version (note that this
is not equivalent with QlikView version)
* Displays the .shared file bitmap layout (UNSTABLE)
* Displays the .shared file maplist (UNSTABLE)
* NEW! Can open .meta files as well!
.META FILE READER
--------------------------------------------------------------------------------------------------
This application can also read .meta files, to show data in them. All objects will be marked red
(corrupt), this is expected. It will always only show one object node. Here you can find, amongst
other data, authorization tables for Qlikview Server DMS security mode and Autoload/Preload flags.
NOTE: This functionality is read-only with .meta files. None of the below functionality applies
to opened .meta files.
VERSION REFERENCE
--------------------------------------------------------------------------------------------------
The fields "MajorVersion" and "MinorVersion" should not be compared with QlikView product
versions. A "MajorVersion" of 9 is not equivalent with QlikView 9. Different versions (generations)
of a .SHARED file is handled internally by QlikView Server, and will be transformed to match
the current hosting version when the owning qvw document opened by a client in the server.
INSTRUCTIONS
--------------------------------------------------------------------------------------------------
* Red and pink items are erroneous objects
* Hover over a red/pink object ID shows the probable fault of the object
* Sort possibility to get all red/pink objects on top of list (checkbox in bottom right GUI)
* "Repair" functionality;
+ Will delete "Invalid content" marked objects (meta data object with no content
object - herited from bug)
+ Will delete "Invalid meta" marked objects (object with multiple owners in meta
data - herited from bug)
+ Will delete "cursed" marked objects (out of range pointers - herited from bug)
* Bottom left will inform of any marked objects (erroneous ones)
* "View > Bitmap" will show the .shared files binary bitmap layout and present each area with
it's object name when hovered over. Also shows gaps in the binary map.
* "View > Maplist" will show a list of objects and their mappings
* "Show Hash" (bottom right GUI) will show the hash of each individual type, user and ID in the
list
* "Color on Top" (bottom right GUI) will place all marked (erroneous) objects at the top of the
list
* "File > Save" will create a date marked backup of the open .shared file and then overwrite the
one opened on disk with a "repaired" one
* "File > Save as" will save a "repaired" .shared file to the file name specified
* NEW! "Tools > Scan for version" will scan a selected folder and display MajorVersion (note that
this is not equivalent with QlikView version)
* NEW! "Tools > Export XML" will export either selected objects or whole file to XML structure.
* NEW! "Tools > Export bookmark" will export either selected or all bookmarks to export file that
can be imported as bookmarks in Qlikview Developer/Desktop.
DESCRIPTION OF DATA POSTS
--------------------------------------------------------------------------------------------------
MetaData:
..................................................................................................
Present in (MajorVersion) 8 and 9 files. Object specific.
MetaData.SheetId:
Default value.
States where (if anywhere) the object is placed in the document. In (MajorVersion) 8
objects can only reside in one place (sheet) at any given time. This changed in
(MajorVersion) 9, where one object can reside on multiple places in one document. For
corresponding data for (MajorVersion) 9 see data post description for "ObjectContent".
MetaData.RestrictedAccess:
If access to object is restricted. Also see "AccessList".
MetaData.Shared:
If the object is shared.
MetaData.AccessList:
States users that have access to object if RestrictedAccess is true.
Note: Combinations of .Shared and .RestrictedAccess, and their effect on objects:
SHARED RESTRICTED EFFECT
True True N/A
True False Available to all users
False True Available to selected users (see .AccessList)
False False Available to owner (private)
RoamingData:
..................................................................................................
Only present in (MajorVersion) 8 files. Object specific.
RoamingData.SheetId:
Non-default value, will override "MetaData.SheetId" setting in (MajorVersion) 8.
States where (if anywhere) the object is placed in the document. In (MajorVersion) 8
objects can only reside in one place (sheet) at any given time. This changed in
(MajorVersion) 9, where one object can reside on multiple places in one document. For
corresponding data for (MajorVersion) 9 see data post description for "ObjectContent".
RoamingData.ShowMode:
0: Minimized
1: Normal
2: Maximized
DocumentContent:
..................................................................................................
Only present in (MajorVersion) 9 files. Document wide. Is created when a user opens the
document (as client), if it does not already exists. States what objects the user have access to.
DocumentContent.Sheets:
Contains list stating what sheets user HAS access to.
DocumentContent.Reports:
Contains list stating what reports user NOT HAS access to.
DocumentContent.Bookmarks:
Contains list stating what bookmarks user HAS access to.
ObjectContent:
..................................................................................................
Only present in (MajorVersion) 9 files. Sheet specific. States what objects are placed where,
and thus replaces "RoamingData" from (MajorVersion) 8 files.
ObjectContent.Members:
List of objects placed on this sheet.
ObjectContent.Members.ShowMode:
0: Minimized
1: Normal
2: Maximized
GraphProperties, ListBoxProperties, [...]Properties [and so on]
..................................................................................................
Present in (MajorVersion) 8 and 9 files. Object specific.
The actual object definition with all its settings and properties. Outlines the sheet object or
bookmark itself.
=======================================================================
(c)2011 QlikTech