Try my content query web part override project:
www.codeplex.com/ecqwp<http://www.codeplex.com/ecqwp>

While it limits you in some ways, and does have a hit (a big hit!) on 
performance, it does bring back additional details that the built-in web part 
does not do.



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Noone
Sent: Friday, 8 August 2008 4:12 PM
To: [email protected]
Subject: RE: [OzMOSS] RE: File size, doctype and icon columns?

Sadly the columns I need are still not available. Seems they're computed and 
aren't accessible in the usual way.

So any other suggestions are much appreciated.

Regards,

Paul

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Noone
Sent: Friday, 8 August 2008 3:42 PM
To: [email protected]
Subject: RE: [OzMOSS] RE: File size, doctype and icon columns?

Ah, just the ticket.

List all available internal column names:

<xsl:for-each select="@*">
    P:<xsl:value-of select="name()" />
</xsl:for-each>

That woman is a gem. :)

Thanks Brian.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Farnhill
Sent: Friday, 8 August 2008 3:02 PM
To: [email protected]
Subject: [OzMOSS] RE: File size, doctype and icon columns?

Hi Paul,

Have a look at this post from Heather Solomon - 
http://www.heathersolomon.com/blog/articles/customitemstyle.aspx

It goes over how to style the CQWP as well as how to get it to include 
additional fields. This should give you the result you are looking for.

Brian Farnhill
Consultant
Technical Consulting

Mobile:   0408 289 303
Fax:      02 8001 7778
Email:    [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>
Web:     www.uniqueworld.net<http://www.uniqueworld.net>
Blog:     pointstoshare.spaces.live.com<http://pointstoshare.spaces.live.com/>
[cid:[email protected]]

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Noone
Sent: Friday, August 08, 2008 2:52 PM
To: [email protected]
Subject: [OzMOSS] File size, doctype and icon columns?

Hi all,

I have a need to grab the document file size (plus file type, icon etc) and 
display it in a Summary Links or CQ web part under the heading "Related 
Documents" on a publishing page.

Unfortunately you can't filter by this column. In fact, it doesn't appear to be 
a column at all and is only available for views.

My plan was to:


-      export the CQWP

-      add the required fields to the appropriate properties and import as 
custom web part

-      add a custom style to ItemStyle.xsl and reference the columns with 
<xsl:value-of select="@FileSize" /> etc.

But I don't think this will work if the columns aren't available.

Does anyone have any idea how you might go about grabbing and re-issuing this 
valuable info?

I'd consider adding them programmatically as custom site columns as I'd like 
this info to be widely available.

Kind regards,

Paul

________________________________
____________________________________________________________________________
This e-mail is intended for the use of the addressed recipient(s) only and may 
contain confidential and privileged information. If you have received this 
message in error, please delete the message and any attachments and copies 
immediately; and notify the sender by return e-mail.

Any views expressed in this message or any attachments are those of the 
individual sender and do not necessarily represent the corporate opinion of the 
Catholic Education Office (CEO), Sydney.

The CEO Privacy Policy is located at http://www.ceo.syd.catholic.edu.au
____________________________________________________________________________
------------------------------------------------------------------- OzMOSS.com 
- to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject.
Powered by mailenable.com
------------------------------------------------------------------- OzMOSS.com 
- to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject.
Powered by mailenable.com
________________________________
____________________________________________________________________________
This e-mail is intended for the use of the addressed recipient(s) only and may 
contain confidential and privileged information. If you have received this 
message in error, please delete the message and any attachments and copies 
immediately; and notify the sender by return e-mail.

Any views expressed in this message or any attachments are those of the 
individual sender and do not necessarily represent the corporate opinion of the 
Catholic Education Office (CEO), Sydney.

The CEO Privacy Policy is located at http://www.ceo.syd.catholic.edu.au
____________________________________________________________________________
------------------------------------------------------------------- OzMOSS.com 
- to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject.
Powered by mailenable.com
________________________________
____________________________________________________________________________
This e-mail is intended for the use of the addressed recipient(s) only and may 
contain confidential and privileged information. If you have received this 
message in error, please delete the message and any attachments and copies 
immediately; and notify the sender by return e-mail.

Any views expressed in this message or any attachments are those of the 
individual sender and do not necessarily represent the corporate opinion of the 
Catholic Education Office (CEO), Sydney.

The CEO Privacy Policy is located at http://www.ceo.syd.catholic.edu.au
____________________________________________________________________________
------------------------------------------------------------------- OzMOSS.com 
- to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject.
Powered by mailenable.com



------------------------------------------------------------------- OzMOSS.com 
- to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject.

Powered by mailenable.com

<<inline: image001.jpg>>

Reply via email to