Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Automatic Document Profiles

0 views
Skip to first unread message

Jason K. Heiser

unread,
Jun 13, 2003, 10:51:27 AM6/13/03
to
A little background: As part of our OSHA compliance, we have decided
to scan all of our Material Safety Data Sheets (MSDS) and upload them
into a Workspace where they can be indexed and searched. We paid a
copy shop to scan all of these MSDS into image-based PDFs and to give
each file a descriptive filename. Since there are about 500 of these
MSDSs, I knew it would take a LONG TIME to fill out a Document Profile
for each of them. I thought maybe I could just upload them as-is and
SPS would at least index the filename. No such luck, it appears.

Is there anyway I can get SharePoint to do an "automatic" Document
Profile for all of these PDFs? I just want SPS to use the filename as
the TITLE property.

Jason

Wayne Hall [MVP]

unread,
Jun 13, 2003, 11:12:35 AM6/13/03
to
Sharepoint doesn't support this activity out-of-the-box, but you should be
able to use .vbs to do so.

http://www.greenfel.demon.co.uk/scode/CheckIn_And_Name_All.vbs already does
most of what you're talking about, except that it does check in as well.

You may want to learn from it and just do the rename of the title part.

Here's it's readme:

Checkin_and_Name_All.vbs
Check in and Publish all files in a Web Share Directory PLUS Replace or
Fill in Blank Titles
Use primarily as a tool to re-set documents imported from external
sources
Note: This process will over-ride all check-out and publish settings for
documents. It is not intended to be used in an actively used directy

Usage: CScript Checkin_and_Name_All.vbs <WebShareDirectorypath>
<ESUF/ENONE/ASUF/ANONE> <TitleSuffix (opt)>
ESUF, ASUF = Create Title with Filename and Suffix for All or only
Empty.
ENONE, ANONE = Create Title with Filename Onlz for All or onlz Empty

Example: CScript Checkin_and_Name_All.vbs
http://testserver/SPSTest/Documents/Adobe Imported ESUF
The above example will select all the files in the
http://testserver/SPSTest/Documents/Adobe directory
Any with a blank Title field will get the Title '<Filename> -
Imported'
All documents (even with unchanged names) are checked in an published

Tom Campbell 27/11/2001 1.0 Base Version
(Based heavily on Andy Ball's addcategoryall.vbs program written
15/11/2001)

"Jason K. Heiser" <incognit...@yahoo.com> wrote in message
news:26852a98.0306...@posting.google.com...

giganano

unread,
Jun 16, 2003, 8:42:52 AM6/16/03
to
Hallo,
you can check in numerous files at the same time using
windows-explorer. They all will get the same metadata. This should not
matter, because you can search for the file name and not for the
title. Title will be the same for all files, but the filename is
individual.

Greetings

Mike Walsh

unread,
Jun 16, 2003, 12:42:51 PM6/16/03
to
IF (big If) you mean by "windows explorer" doing a Multiple File Upload in
WSS then I've had problems in Beta-2 of WSS that that my default values are
not being accepted for files that I upload in this way.

In STS 1.0 by comparison when I uploaded multiple files using My Network
Places then they all got my default values (which I then used by batching
files; changing the defaults and sending the next batch etc.).

Mike Walsh
Helsinki
Finland

"giganano" <gro...@gmx.de> wrote in message
news:470c5b32.03061...@posting.google.com...

0 new messages