Thanks Shirley, I read that somewhere in my travels but hadn't yet got
that far.

I'm still customising the exported web part by defining the columns in
CommonViewFields as follows:

<property name="CommonViewFields" type="string" />DocIcon,
Computed;FileSizeDisplay, Computed;File_x0020_Size,
Lookup;File_x0020_Type, Text;URLNoMenu, Computed</property>

Perhaps this has been my mistake.

It's only because I'm working in a local VM that I can laugh at the fact
that importing the custom web part after this slight change has resulted
in most of the page's content not displaying at all. :)

Regards,

Paul

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Shirley
Sent: Tuesday, 12 August 2008 10:52 AM
To: [email protected]
Subject: RE: [OzMOSS] File size, doctype and icon columns?

Hi Paul,

I have worked with data view web parts displaying file icons...I
followed
the post
http://mdablog.spaces.live.com/blog/cns!B0C40902E1212960!196.entry
.

Hope it helps you as well...

Regards,
Shirley.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of
Paul Noone
Sent: Tuesday, August 12, 2008 9:45 AM
To: [email protected]
Subject: RE: [OzMOSS] File size, doctype and icon columns?

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 

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.138 / Virus Database: 270.6.0/1601 - Release Date: 8/8/2008
9:02 AM



-------------------------------------------------------------------
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


Reply via email to