Document Listings

Top  Previous  Next

To list libraries, use the –arclistlibs command line option:

 

-arclistlibs

-arclistfmt tab|csv|pipe

-o “output file”

 

To list document types in a library, use the –arclisttypes option:

 

-arclisttypes

-arclib “library”

-o “output file”

-arclogin “userid/pswd” | ask

 

To list documents in a library, use the following options:

 

-arclist

-arclib “libname”

-arclistfmt tab|csv|pipe|html|xml|xmlf

-arcorder id|date|title|category

-arcstart "starting point in order specified"

-arcend "ending point in order specified”

-arcfilter "filter string"

-arcsep char (used to parse start/end values for category segments)

-arclogin "userid/pswd" | ask

 

You must have read access to a library to list documents in it.

 

The columns listed include document type, document ID, date, time, title, the document storage file path, and entity ID.  If you specify the category order, then the category’s segments are added as a single column.  Otherwise, no category information is shown.  If the list format is html or xml, then notes, keywords, links, and categories are added to the list.

 

The start and end range values relate to the order.  For example, if the order is “id”, then the start and end ranges refer to document type and ID sequences.  For segmented ranges, such as for type and ID values, or category segments when listing in category order, separate them with the –arcsep value (a pipe (|) by default).  For example:

 

-arcorder id –arcstart “Invoices|000152”

 

Be sure to quote the range if it contains characters, such as pipes or spaces, which are significant to the operating system.  For date ranges, enter dates in the structure yyyymmddhhmmss (as many characters are significant to your request).  For example, -arcstart 200612011800 –arcend 200612020800 for the range from 6:00 PM on December 1, 2006 through 8:00AM on December 2, 2006.

 

To filter documents returned in the list, use the –arcfilter option.  The filter can be a simple word or phrase, a simple wildcard containing * and/or ? characters such as “Acme*”, or a regular expression prefixed with a tilde, such as “~[0-9][0-9]\.[0-9][0-9]”.  Filters are applied to a concatenation of the document type, document ID, date, time, and title values, and in the case of category order, the categories are filtered as well.  If the list format is html or xml, then the notes, keywords, and categories are added to the list.  Keywords and categories, though not category segments, are delimited with spaces rather than semicolons when filtered.  If the list format is xmlf, then a base64-encoded version of the image file is also added to the xml document.

 

To list documents and their associated image information, use the ‑arclistdocs command line option rather than the ‑arclist option.  The same options as shown above for –arclist apply.

 

When used in conjunction with the –p winpvw driver, a local view of the listing is presented on the workstation running the UnForm client.