OnDemand Users Group

Archive => Other => Topic started by: j4jims on September 18, 2015, 02:09:42 PM

Title: Collecting Metadata
Post by: j4jims on September 18, 2015, 02:09:42 PM
Hi All,

I am in need to collect a specific metadata field in a folder.

I am using arsdoc query to get the entire metadata for a folder as below

arsdoc query -u <username> -p <pwd> -h <hostname> -f <foldername> -i "where condition" -v -o "outfile.txt"

Is there a way to extract only the specific metadata field using arsdoc query rather fetching all details for a particular record?

Please assist me ...

-Jim



Title: Re: Collecting Metadata
Post by: Justin Derrick on September 20, 2015, 11:56:58 AM
Make a new folder that only contains the fields you want.  :)

-JD.
Title: Re: Collecting Metadata
Post by: j4jims on September 21, 2015, 05:27:56 PM

Thanks JD for your valuable input.

I had used this way to get the specific field in metadata in a file which is requried.

arsdoc query -h <hostname> -u <username> -p <password> -f <"foldername"> -N <"(dbfield1)(dbfield2)(dbfieldn)" -i <"where condition"> -o "outfile" -v

-Jim