Hi Uzma,
I've attempted what you suggested but have hit a couple of snags that I hope you can help with. Perhaps I'm missing the process of converting/creating an XSLT data view? The steps I've followed are: 1. Add all required columns to existing document library. 2. Open page for editing in SPD. 3. Insert new Data View. 4. Select existing doc library as data source. 5. Select required columns and insert selected fields as Single Item View (just to preview results). This gives me the following which shows the original doc library with my custom data view below. As you can see, the required columns are present and available but their display is not as expected. Looks like SP does some custom operations on these which aren't available when they're converted to a data view. To be expected I suppose. Now, if I had the relevant code I could probably incorporate it but where to begin...? This really shouldn't be this hard. L Regards, Paul From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Uzma Naz Sent: Saturday, 9 August 2008 5:17 AM To: [email protected] Subject: RE: [OzMOSS] File size, doctype and icon columns? What if... you create a document library view with as much info as possible... display it on a page and edit with SharePoint Designer. Convert the view into XLST, you can then select whatever fields you want to show by dragging over available columns which should contain file size. However... this would be a one fix solution, I'm not sure if you can export this web view and deploy in any other site... give it a go and see what you can do. (I'm loving customising my pages using this method, I can display whatever content I like in any format/style). Uzma ________________________________ Subject: [OzMOSS] File size, doctype and icon columns? Date: Fri, 8 Aug 2008 14:52:28 +1000 From: [EMAIL PROTECTED] To: [email protected] 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 ________________________________ Get Hotmail on your mobile from Vodafone Try it Now! <http://clk.atdmt.com/UKM/go/107571435/direct/01/> ------------------------------------------------------------------- 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
<<image001.png>>
