OnDemand User Group

Support Forums => MP Server => Topic started by: frasert on February 16, 2011, 02:16:42 PM

Title: 'arsdoc query -f' does not follow folder display rules
Post by: frasert on February 16, 2011, 02:16:42 PM
CMOD 8.4.1.0

'arsdoc query -f foldername' does not abide by the rules as defined in the folder object.  Specifically, it displays ALL field values, even those set with a Hit List value of 0.  Also, it does not use the Display Format for date fields.  Instead, it uses the Display Format as defined in the Application.  So in my case, it's using '%B %d, %Y" from the Application instead of "%m%d%y" from the Folder.

It seems logical to me that 'arsdoc query -f' should be following the rules defined in the folder.  I had to script myself around this particular problem since I had no control over the display results.

Are other people seeing the same results?
Title: Re: 'arsdoc query -f' does not follow folder display rules
Post by: Alessandro Perucchi on February 17, 2011, 01:40:21 AM
Hello,

I've never been looking so closely to that! Now that you mention it, I can see it too!

Well maybe it could be the moment to open a PMR.
And see what the IBM support/labs says about it!

Cheers,
Alessandro
Title: Re: 'arsdoc query -f' does not follow folder display rules
Post by: Justin Derrick on February 18, 2011, 01:09:21 AM
This might be working as designed.  When I've used the -f option (admittedly, with arsdoc get) I was trying to extract documents from a particular folder, but I wanted all of the non-displayed fields, so I could load that extracted data into a new AG on a separate machine.

It might be a bug, but it could just as easily be an enhancement request.  :)

-JD.