Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

List attachment again

  Asked By: Jitendra    Date: Sep 06    Category: Sharepoint    Views: 1413

I have a list with attachments... How can I list the attachment
filenames in one column in AllItems.aspx in list view web part?
Instead of creating data view web part?

Is there anyway just using CAML query to do it?

How can I get the total number of the attachment files for the list?

If I have to write custom code to show this, should I write a web
part, a web application under /_layout directory? How should I go
about this?



1 Answer Found

Answer #1    Answered By: Shashwat Takle     Answered On: Sep 06

I believe you want to create a data  Form Web Part? The Data Form Web
Part is created using SPD. I have encountered this before. You will
want to revert back to the experience I had creating  this feature.

I have it figured out how to create the DataFormWebPart and pointed it
to the list  source on another page. Everything seems to work fine until
I filter the list under Current Data Source which is Action Items by
status not equal to completed (I don't need to view  Action Items equal
to completed. Once I attempt to do that I get the error, "The server
returned a non-specific error when trying to get data from the data
source. Check the format and content of your query  and try again. If the
problem persists, contact the server administrator." The Action Items
list resides in a Team Meeting Workspace, whereas, the DataFormWebPart
exists in the root of the portal.

If you want you could always use Web Part Connections and use the Send
Column information using this approach.

Let me know which avenue best suits your needs and I can guide you
further down the path.

Didn't find what you were looking for? Find more on List attachment again Or get search suggestion and latest updates.