I have to create a repository or just a view that will contain/show all attachments of an Issue list.
Please guide me how can I do that. Should I do it declaratively or I should do it programmatically?
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
You have two scenarios:
Create view where show at only items with attachments.
Create a webpart with view all attachments list (you can use a sandbox webpart). Using the object SPQury and CAML select all elements that have attachments. Then for each of the element obtained save the addresses of all its attachments. At the end of the resulting list display to the user.
Not sure of this method but you can try:-
Create a new view.
Then, edit this view and add the attachment column. In the properties of this column, there may be an option to filter for attachments 'equals' Yes.