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

Question

Question

Importing with .LST Files - FOLDERS() Directive

asked on January 14, 2020

Hello,

I’m having an issue with importing .LST files. I’m running into some unexpected behavior when it comes to the folder structure that’s being created in our test repository. It seems like the FOLDERS() directive isn’t setup properly. The document is being named properly and the metadata is applied properly, but not the folder structure that’s supposed to be created.

 

We’re testing with 9 TIF’s that we stored in the folder that Import Agent is monitoring. Our list file is supposed to create 4 documents, in folders called ‘DemoRepository\Import Test\2014’ and ‘DemoRepository\Import Test\2015’. Please see attached LST file. We’ve tested with this version of the LST file, as well as a modified LST file where we removed the values in the parenthesis of the FOLDERS() directive for the 2nd and 4th documents. Neither of these scenarios created the expected folder structure. Please see attached screenshots of resulting folders that were created.

 

‘Filled In LST File.jpg’ is the result when we used the attached LST file. The documents were properly created in each folder.

 

‘Blank LST File.jpg’ is the result when we used the modified LST file, where we removed the year value from FOLDERS() for the 2nd and 4th documents. The 1st and 3rd documents were properly created in their corresponding folders.

 

I’ve also attached screenshots of our Import Agent configuration. We only made changes in the General, Properties and Fields sections.

 

How are we supposed to setup this LST file so that the documents are imported into the folder structure shown in the attached ‘Correct Folder Structure.jpg’?

0 0

Answer

SELECTED ANSWER
replied on January 14, 2020 Show version history

When using the FOLDERS to change a folder, use two lines. The first line is FOLDERS(). The second is the new folder.

Think of the folder line as setting the focus on a folder. The first time, it selects the folder. Then you need to tell it to go back a folder, then select another folder.

To use the top of your LST file, it should look like this:

LASERFICHE IMPORT LIST

FOLDERS(2015)
STARTFIELDS
Template 1
B15-101545
2015
ENDFIELDS
DOCUMENT(B15-101545)
STARTLIST
C:\ImportAgentTest\001.TIF
C:\ImportAgentTest\002.TIF
ENDLIST

FOLDERS()
FOLDERS(2015)
STARTFIELDS
Template 1
B15-101546
2015
ENDFIELDS
DOCUMENT(B15-101546)
STARTLIST
C:\ImportAgentTest\003.TIF
ENDLIST

2 0
replied on January 15, 2020

Thanks Nevin for your reply, much appreciated. Your suggestion worked. Below is the format that worked perfectly.

 

LASERFICHE IMPORT LIST

FOLDERS(2015)
STARTFIELDS
Template 1
B15-101545
2015
ENDFIELDS
DOCUMENT(B15-101545)
STARTLIST
C:\ImportAgentTest\001.TIF
C:\ImportAgentTest\002.TIF
ENDLIST

FOLDERS()
FOLDERS(2015)
STARTFIELDS
Template 1
B15-101546
2015
ENDFIELDS
DOCUMENT(B15-101546)
STARTLIST
C:\ImportAgentTest\003.TIF
ENDLIST

FOLDERS()
FOLDERS()
FOLDERS(2014)
STARTFIELDS
Template 1
B14-103593
2014
ENDFIELDS
DOCUMENT(B14-103593)
STARTLIST
C:\ImportAgentTest\004.TIF
C:\ImportAgentTest\005.TIF
C:\ImportAgentTest\006.TIF
ENDLIST

FOLDERS()
FOLDERS(2014)
STARTFIELDS
Template 1
B14-103594
2014
ENDFIELDS
DOCUMENT(B14-103594)
STARTLIST
C:\ImportAgentTest\007.TIF
C:\ImportAgentTest\008.TIF
C:\ImportAgentTest\009.TIF
ENDLIST

0 0

Replies

replied on January 14, 2020

LASERFICHE IMPORT LIST

FOLDERS(2015)
STARTFIELDS
Template 1
B15-101545
2015
ENDFIELDS
DOCUMENT(B15-101545)
STARTLIST
C:\ImportAgentTest\001.TIF
C:\ImportAgentTest\002.TIF
ENDLIST

FOLDERS(2015)
STARTFIELDS
Template 1
B15-101546
2015
ENDFIELDS
DOCUMENT(B15-101546)
STARTLIST
C:\ImportAgentTest\003.TIF
ENDLIST

FOLDERS(2014)
STARTFIELDS
Template 1
B14-103593
2014
ENDFIELDS
DOCUMENT(B14-103593)
STARTLIST
C:\ImportAgentTest\004.TIF
C:\ImportAgentTest\005.TIF
C:\ImportAgentTest\006.TIF
ENDLIST


FOLDERS(2014)
STARTFIELDS
Template 1
B14-103594
2014
ENDFIELDS
DOCUMENT(B14-103594)
STARTLIST
C:\ImportAgentTest\007.TIF
C:\ImportAgentTest\008.TIF
C:\ImportAgentTest\009.TIF
ENDLIST

0 0
replied on January 14, 2020 Show version history

Attached screenshots

Filled In LST File.JPG
Blank LST File.JPG
General.JPG
Properties.JPG
Fields.JPG
Correct Folder Structure.JPG
General.JPG (104.34 KB)
Properties.JPG (128.26 KB)
Fields.JPG (92.93 KB)
0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.