Premise
What is most necessary at a critical moment, for example, when are you going to go to the gym, and you are being asked the Word version of the contract file for the 2012 project with Vasya Pupkin? That's right - this is the very Word file.
We have grown - well, not We specifically, but a company in the head office where I work: personal assistant to the Chief, IT manager, system administrator (just not playing the accordion), then you have a law firm, a couple of restaurants, and company, and rail freight.
Accordingly, problems began with the exchange of files between the head office and subsidiary companies, and in order to save time for my beloved (he is too lazy to drive progress), I decided to implement a general workflow, and not just a workflow, but what would be great!
')
After searching and reading the articles “
Large file storage for a small such company ” and “
Ideal document storage ”, I realized that there is no simple solution ...
TK
But I would like something:
- Cheap - Crisis, however! (not yet come, but the brutal grin was already visible)
- Universal
- And if necessary, then fasten something else quickly and ...
- Convenient
- And not just the web interface
- And quick search
In general, if I voiced all my Wishlist, I would have suffocated ... I won’t be cunning, I had a document flow at the Head Office, but it cost a lot of money and only one requirement - Convenience, but as a template for the main idea I have was before my eyes.
Overall, the SharePoint 2013 Foundation chose the platform:
- Cheap - only need a SQL license, the product itself is free
- Universally - it is clear that the portal solution will not only close the need for file sharing, but also make it possible to realize virtually any task of distributed office collaboration, and, if necessary, there is room to grow.
But the rest of the Wishlist I was going to close:
- Convenience - so that you can always determine from which source and which version of the file I have open. And to quickly explain to the team of accountants how to use it. (Yes, yes, we are still fighting (there should have been a smiley))
- Integration with the office - so that the user does the minimum number of actions for saving, opening, searching for a file
- Quick search
- Remote connection, and the ability to work from home.
It was also necessary to close the disadvantages of the SharePoint platform:
- The inability to store a file with the same name (the file is simply overwritten as a version)
- It is practically impossible to work with the file if additional fields are added to the Docs Library.
- Work speed
And the general issues of workflow: each department has its own tasks, files and types of documents, sometimes you need to get into the documents of the neighboring department and quickly find the right one.
Decision
“If Nikanor Ivanovich’s lips and Ivan Kuzmich’s nose should be attached ...”
* - From the play “The Marriage” by N. V. Gogol (1809-1852), the words of the bride Agafi TikhonovnaIn general, understanding the whole kitchen of our collaboration, I did not have to describe the business processes of the organization, and I set to work.
The problem of storing SharePoint files - to solve an automatically created folder hierarchy based on fixed lists, which immediately added attributes to the document for further search - and at that moment almost a miracle happened. It turned out that for all departments, branches, subsidiaries, there is a three-level file storage structure, if we present the work of the department as work on projects.
It turns out this catalog structure:
- Project
- Subproject (refers, filtered by Project)
- Document Type
On SharePoint, it looked like this:

Moreover, each project / subproject / document type received its own code, each company developed its own coding system, and the same code system was transferred to 1C - which, in general, simplified the implementation of the reporting system in the future. Solve speed problems by caching directories, lists of documents, settings.
Implementation
First of all, I made the document explorer for SharePoint, with the main layout of the interface elements as in Outlook, the left part is navigation, a list with files and a file description.
Navigation“Last edited documents” - displays the last 30 documents in the last 30 days.
Templates - filters documents by Template type, for example, organization forms, letter or report templates.
I also had to implement the ability to view the Library as in the explorer (especially the gifted could not understand how to use filters to search for documents).
AdditionsDocument number - Library ID file.
All other fields are lookup to directories.
The short name of the Library - each Library is indicated by a short code, which is then used in the file name.
Versioning - I didn’t like what SharePoint does every time when saving a version of a document, I redid the algorithm for saving a document, where versioning became manageable, i.e. A document version is created with the ability to comment when it’s needed, or when the document comes from an external source.
Main interface
SearchThe search is implemented on CAML queries, and allows you to search multiple fields at once, the last five queries are saved. Application filters were also made.
Search card and result
Saving the document
To save the document to the system, now you need to give a name to the document and fill in three fields. You can also give a description of the document and restrict access to it. For convenience, the import of a document or folder is provided.
And all this is integrated with Microsoft Office 2010/2013/2016. Now, when working with a document, the name contains: the short name of the Library, the document number and version. This integration allows you to work with documents, without leaving the usual interface.

Cookies
In general, what we got delicious:
- Cheap - even cheaper than planned, because the solution turned out to be very flexible and fast. The speed of work allowed connecting some remote offices to our central portal, which allowed us to save on a couple of Window / SQL licenses. And where it was necessary, deployed its internal portal.
- Versatility - shut down the needs of shared file storage for all departments and subsidiaries.
- And if necessary, then fasten something else quickly and ... - someone added fields to the projects / subprojects list - got a CRM solution of the department, someone added additional (optional) fields to the Library of documents to track the execution of contracts and etc.
- Convenience - the user does not need to think about where to save the file, the main thing is to give a meaningful name of the document. And centralized naming / filling in the reference books of projects / subprojects minimizes employee errors, such as incorrect file placement, folder creation, etc.
- And not only the web interface - the size of the distribution kit is about two megabytes. Users who are actively working from home simply install it on their home computer, the same goes for mobile users. To connect to the system, you only need to know the URL of the working portal, all other settings will be loaded. Through the SSL protocol, the SharePoint web interface and the program work, so there are no problems with a remote connection yet.
- Quick search - additional attributes of the document allow you to search for documents quickly, with high efficiency of output. SharePoint full-text search closes all other requests.
An example is how the work of the financial department and HR has changed.
We created one Document Library for the financial and HR department, and remotely connected all accountants from subsidiaries. Restricted access to certain folders.
Now, when the HR department saves the document relating to the employee’s personal file, he fills in (for example):
- File name: Agreement with employee Ivanov - 2016
Selects from lists:
- Project - Company Employees 1
- SubProject - Name of Employee
- Document type - Contract
Or the time sheet:
- File Name: Time Sheet - January 2016
Selects from lists:
- Project - Restaurants
- SubProject - Restaurant Name
- Document Type - Time Sheet
A restaurant accountant keeps a record of daily earnings:
- File Name: cache report 05012016
Selects from lists:
- Project - Restaurants
- SubProject - Restaurant Name
- Document Type - Cache Report
And most importantly, everyone chose his own style of work: someone works directly with the Library of Documents, someone saves files locally on the computer, and at the end of the day imports it into the workflow. The chief accountant set up an automatic summary of changes in specific folders.
And now - everyone is happy, documents are stored centrally, transparent to all who have access, when changing document templates or reports, they need to be changed in one place, and reports are generated if necessary.
Also, the program was evaluated by the Legal Department - the main document generator.
Conclusion
In general, I hope the idea is clear, I described the basic principle of its work. The program has become popular at the testing stage. Many colleagues and friends gladly implemented it at their place, of course, with varying degrees of project success. But I prefer to think that this depends on the initial degree of staff motivation.
Everything went under the motto: “Agrkh” - let's finally put things in order with the files, and I'll go to the gym.
I give the program for free, you can download it at:
DownloadPresentationAt the moment, taking into account all the wishes and acquired experience, we started the development of the second extended version, from those who implemented it, I am waiting for feedback and suggestions.