Overview
When trying to add files to multi document or trying to delete that in Hubshare it seems that any action is not possible. Empty document is also locked. When tried to search the document from M-Files Desktop it is not possible to find it. The empty document is only visible in the Hubshare Widgets. M-Files Admin / Verify&Repair tool does not give any errors.
For example, when adding a file to multi document system shows this kind of error:
There is locked icon visible on the file name in the Hubshare Widget:
When moving mouse on the top of the empty document, system shows that "M-Files user" has checked out the document:
It is not possible to delete the document and only actions can be seen on next image:
As said also on M-Files Desktop empty document cannot be edited, deleted or be found.
There is one possible solution for this kind of case.
Solution
The possible action which can be done to delete the empty document from Hubshare Widget is explained here. This action means that M-Files database must be investigated, and empty document's database IDs and locations in the database must be found. Then specific database tool must be executed to delete all references of the empty document.
If there is M-Files Cloud server environment used, then M-Files Cloud specialist is needed to use the database tool with M-Files Development Support specialist.
If there is On-premises M-Files server environment used, then Administrator of that database is needed to use the database tool with M-Files Development Support specialist.
The actions what user can do before contacting M-Files Support:
- List the empty documents and those metadata if available, then it is easier to find correlation to those documents from database.
- On On-premises M-Files server environment this database command can be executed to the Vault by the Administrator of the database and results of that command can be sent to M-Files Support:
- select * from objecttypeitem where LATESTCHECKEDINVERSION is NULL and CHECKEDOUTVERSION = 1
After these steps M-Files specialists will find out all locations of those empty documents in the database and special database tool will be executed with investigated information.
Here is a link to the article where is explained more about this issue:
Why some objects are not found in M-Files Desktop, but can be seen in M-Files Admin tool (site.com)
