2010-03-15

how to retrieve document from filenet image manager

Useful scriptable commands to quickly retrieve documents from IM.

#
# prefetch
#
docfetch -s $ID

#
# store on file
#
echo "OBjecttofile 1 $SSN $ID 1 $BASEDIR/$ID.pdf" > $TMPFILE
echo "Q" >> $TMPFILE
CSM_tool < $TMPFILE