Author Topic: 'arsdoc query -f' does not follow folder display rules  (Read 3918 times)

frasert

  • Guest
'arsdoc query -f' does not follow folder display rules
« 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?

Alessandro Perucchi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1002
    • View Profile
Re: 'arsdoc query -f' does not follow folder display rules
« Reply #1 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
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: 'arsdoc query -f' does not follow folder display rules
« Reply #2 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.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR