You are viewing limited content. For full access, please sign in.

Question

Question

Question about LST file

asked on March 2, 2018

Suppose I have the following Laserfiche folders (all are folders and root is to indicate the Repository name):

 

Root

       Group

               A

                   1

                   2

               B

               C

        Main

              X

              Y

 

I want to put something inside the folder Group and inside either the folder A or the folder B. Usually I will click the folder Group and click import LST file and in my LST file I have something like

 

LASERFICHE IMPORT LIST

 

FOLDERS()

FOLDERS()

FOLDERS(A)

FOLDERS(1)

STARTFIELDS

CLIENTS

NR001 Test

Others

3/2/2018

2018

 

ENDFIELDS

ELECTRONIC("\\test\dir\NR001test.xlsx", "NR001 test")

 

The thing is that all folders Group, A,B,C,1,2, Main are not showing the import funtionality, it is greyed out.

The folder X or the folder Y is showing me the import funtionality, that is enabled. Can I create some kind of LST file to like start from folder X like go up one folder to Main folder, instead going up to root to go to Group folder and go under A and under 1 and put the file in folder ? Is that possible? If yes, what should the syntax be in the LST?

  

 

   

 

0 0

Replies

replied on March 3, 2018

Hi Michael -

Your actually have two issues, the first one being security.  When you say " not showing the import functionality, it is greyed out. ", that points to access rights.  If you cannot do something in a particular location, the function is grey'd out, just like you saw.

On to the folder question.  In a .lst file, if you have multiple documents and need to climb up and down the folder tree, you have to retrace this via the Folders() line, often using multiples of it.  It's really complex. We found that not worth the bother, and now create one .lst file for each document.  There you just list the document's folder path each time without any re-tracing.  Then Import Agent will bulk import .lst files, or you can do about 750 at a time manually.

0 0
replied on March 5, 2018

If I'm at X folder, how do I climb up the tree and how do I go sideways the tree. With the Folders() that is climbing down the tree. Is there some kind of manual for how to write the LST?

0 0
replied on March 5, 2018 Show version history

In the Laserfiche SDK 10 documentation, in Contents, go to Import List, and then look for Directives, Folders, and then Sample Import File, Folders Example.  This is for the old style Import List files.  The newer style is based on XML, and is even more complex.  For simple jobs, the old style is easiest.  It takes a lot of trial and error to get this right.  Another alternative is to import to a generic Incoming folder, and let Workflow put everything in the right location.

0 0
replied on March 5, 2018

If I'm at X folder, how do I climb up the tree and how do I go sideways the tree. With the Folders() that is climbing down the tree. Is there some kind of manual for how to write the LST?

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.