Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to control the location of a document in external file storage

Status
Not open for further replies.

sunny1518

Programmer
Sep 3, 2012
27
US
Hi All,

when I add a document into livelink, the metadata of the docuemnt is stored in Dtree and the original document is stored in a directory in external file system.

In the external file system I have many sub- directories and the file might have been added to any of these sub - directories. I want the files to be added into a particular sub- directory depending on the folder in livelink to which the file are added.

In Storage provider settings module, I have created a storage provider by going to Configure Storage Providers and then created a stored below ? rule in Configure Storage Rules so that the documents which are added to a test folder will be present the logical storage provider i have created, but when I add a document to this test folder, the document is present in one of the sub - directories of default storage provider but not the logical storage provider that i have created.

Please let me know what I am missing or suggest any other way to solve this, thanks in advance!

 
you are interpreting what OT designed in a new way. What OT wants is a new root directory so that it can pretty much start its file burning efficiently when data gets added
for eg if these are two UNC paths that I have setup

EXPENSIVE_STORAGE \\expensive server\e$
INEXPENSIVE_STORAGE \\inexpensive server\e$

when livelink figures out where to put what it will then burn directories like 0000\999\123456789.dat

The reason why it does that is because if you only have one flat folder like you want file arrangement becomes very inefficient.

When the file is asked by a user then the reverse logic is employed it will get the actual file form the database and it will add the root directory to send the file.

What you want technically is again possible with very few files or if you employ archive server you can create a logical drive.There also you have no control over the file structure.That is solely because more files in a folder it becomes increasingly inefficient on the file system.

if livelink is not obeying the rule you setup then it requires more research but you cannot control the sub-folder creation.

Perhaps you need to res-atart after you put the rule,does the livelink service user have rights to the folder?


Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010
 
Thanks for the reply appnair,

I am applying rule for only one folder(x) in livelink and I want the files added into this folder to be in a different storage folder(test) so that we can have their backup for a longer duration compared to files in other storage folders, this different storage folder(test) can have multiple sub folders inside it but it should contain the files of only x folder.

I have re-started the livelink admin server after applying the rules and the folder permissions of this test folder are same as that of the default storage folder in which we have the 0000/999 folders
 
Looks like you have some advanced module like(ELS) that allows you to do it.I do not have a ELS system to test but make sure the new rule is the first in the list and also make sure to avoid representations like D:\somepath .It will work only if the request routes to the livelink server that has a D: drive

Here's a step by step screen cap of how I do it


I have used ELS systems a lot and have come up with a lot of weird storage rules in fact I was the first one outside the livelink developer world who solved this
storage provider since at that time nobody in OT support knew that.

see the entry that says Using the New Storage Rules Wizard on a LES9.7.1


Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top