Document management webclient solution

Forum to discuss the Web client version of Servoy.

Document management webclient solution

Postby Westy » Fri Oct 18, 2013 10:28 pm

We have a simple multi-tenant Document management solution that reads and writes documents to the local Windows folder system. It is working very well, however, it saves the documents to folders named after the: year, company_id and contact_key.

My issue is what happens when a customer leaves and wants to take their documents with them. The folders that are named after the contact_keys are not going to mean much to them. What do others do to handle this situation? I know I can name each contact folder after the contact's name and keep a separate table that tracks name changes and then use it to rename the folders when necessary. Is that the best approach, or is it better to leave the folders the way they are and instead write a separate program that only does the folder renaming for those customers who leave?

Dean
Westy
 
Posts: 852
Joined: Fri Feb 13, 2004 5:27 am
Location: Lynnfield, Massachusetts USA

Re: Document management webclient solution

Postby mboegem » Fri Oct 18, 2013 11:36 pm

Why not just supply a dump of the contact table with the keys and contact names as well?
It's less user friendly, but you can't guarantee a unique name when converting unless you're going to build that check as we'll.
Marc Boegem
Solutiative / JBS Group, Partner
Servoy Specialist
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image
User avatar
mboegem
 
Posts: 1750
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Document management webclient solution

Postby sbutler » Sun Oct 20, 2013 7:33 pm

I'd suggest 2 things...

1. You should allow your customer to configure how they want documents stored. Maybe some want them organized by year and month, and others prefer organizing by company. So, in your setup area, you could allow them to configure this. Then your storing them how the customer wants and don't have to worry about renaming things when they leave.

2. Instead of using the contact name for the folder, consider building a simple, but meaningful short code as the ID. So if the name is Scott Butler, the short code could be sbutler. You could come up with an algorithm to generate unique, but meaningful codes the users could identify so you don't need to rename things later. You could also make this configurable, so maybe some people would prefer sbutler. While others may want butler_scott. Then you could add a numeric suffix if it would duplicate with another.

Or, my favorite, do nothing so it makes it more difficult to leave ;)
Scott Butler
iTech Professionals, Inc.
SAN Partner

Servoy Consulting & Development
Servoy University- Training Videos
Servoy Components- Plugins, Beans, and Web Components
Servoy Guy- Tips & Resources
ServoyForge- Open Source Components
User avatar
sbutler
Servoy Expert
 
Posts: 759
Joined: Sun Jan 08, 2006 7:15 am
Location: Cincinnati, OH


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 10 guests