list-definition

How can I best create a SharePoint list view that shows only root folder contents?

I have a custom SharePoint list definition that is based on the Document content type. My library instance that I create from this contains many HTML documents, and each of those documents has some images saved into a subfolder inside this library. What's the best way to create a view that will show all of those top-level HTML document...

Sharepoint List Definition that binds only to my Custom Content Type

Hi. I am developint a Sharepoint Solution, that implements a new list. This list has an event receiver attached to a Custom Content type. I am using VSeWSS 1.3 for this task and it's going ok (the content type gets created, a list is created and bound to the content type, the event receiver triggers successfully. My only concern is ...

Change document library "Type" after it has been created from list definition

When beginning to develop against SharePoint I did not fully understand all the ins and outs initially. I created a list definition (for a document library) and associated various custom actions to it. Unfortunately, I used the following for the list definition itself: <ListTemplate... ... Type="101" ... And to register the CustomActi...

extending SharePoint List - adding a button control to the toolbar

I am creating a special Task List in SharePoint, I think that the best way to do that is through using SharePoint List Definition project in Visual Studio 2008, that's what I'm using. I want to add a button control to the ViewToolbar of the list "AllItems" page, and to specify action when this button is clicked. all the articles that I ...

My SharePoint feature receiver activates a list definition feature, but my code cannot see the list template until the "second pass".

Hi I am into my sixth hour battling with what hopefully should have a simple solution, so I thought I would post here. I have an feature with a feature receiver whose sole purpose is to activate a deployed list definition feature and then create an instance of that new list definition. The list definition feature, called "Custom Acces...

Populate Sharepoint List With data in it (List Definition) in site definition

Hi everybody, I have a list and I want to populate this List with data in it. I want to do it via WSPBuilder as a feature. I tried to populate it within in the Elements.xml file, But I got the data not nested inside each other, as my list contains items inside a folders Folder1 | |__Item1 |__Item2 Folder2 | |__Item1 so I want...

Reference name of description list item in LaTeX

I'd like to refer to a description list item by name instead of number. To that effect, I've added labels to each item, but when referencing them I only get the name of the section, not of the list item. How can I change it to show a custom label for each item? \section{Definitions} \begin{description} \item [Vehicle\label{itm:vehic...

Hiding folder structure for a view in SharePoint 2010 list definition

There's a setting on the "Edit View" page in SharePoint 2010 that allows you to show all items in a list, ignoring folder structure. The setting is under Folders > Folders or Flat > Show all items without folders. My question is: Is there any way to enable this setting via an XML list definition created in Visual Studio 2010? Is there...

How to show CustomAction on a certain Custom List

Hi, How can I show a CustomAction for a List of "Custom List" type and it's Title is "Demo List"? Is this possible? if not is there any workaround to achieve what I want? ...