.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Kaviya Balasubramanian
Imran Ghani
Post New Web Links

New ListItems added as Folders? List defect?

Posted By:      Posted Date: September 14, 2010    Points: 0   Category :SharePoint
 
Hi! I have a simple List (not a document library!) which worked fine for a few weeks. Today our customer called me and reported that an error occures every time a new item is created. I figuered  out that the error only occurs when there was already a listitem with the same value in the "title" column. This is a strange thing, because in most cases there are already multiple items with the same value. The error occurs only on newly added items. I did some further research and found out that in Sharepoint Designer all the items are displayed as folders! How can that hapen? This must have been changed by someone because this does not happen before. Is it possible to change the list type? Perhaps our customer did so and damaged the list on this way... Please could someone give me a hint? Thank you very much! Gerrit


View Complete Post


More Related Resource Links

Workflow field not being added to list or views when adding a workflow

  

This problem just started happening in my entire site collection.  Anytime I associate a workflow to any list or doc lib the Workflow column that shows the status and links to the history is not beind added to the list or any views and is nowhere to be found.   Here's exactly what I'm doing:

1.  Go the List settings -> workflow settings -> add a workflow (for this example the OOB approval workflow)

2.  After adding I go to the List, the workflow column doesn't exist.

3.  I go to "modify view", and the workflow column is not listed in the available columns.

Any help is greatly appreciated.


Sharepoint 2010 List Added Event Problem

  
Hi All, I have created List Added Event Handler. In that Event I want to Add Custom Field in List as List is created. I get an Error "The Specified Program Requires    a newer version of windows" Is there ant solution for it. I have tried it also creating new instances of spweb and spsite rather than getting it from "Properties" Thanks Saumil Thakkar

New Item Added to List/Library trigers Alert to non-AD Security Group

  
I am trying to implement an alert when a new item is added to a list. Idealy this alert would be sent to either a SharePoint Group or a AD Distribution Group. I do not have access/authroization to create security groups. The research I have found so far tells me that I can only add AD users and AD mail-enabled security groups through the alert GUI. My questions is first is this a valid finding? Second, if I create a custom workflow can I have the workflow triger on new item added and have it send a notification to the specified SharePoint/Distribution group? Thank you in advance for your assistance.  

Moving Folders Based on a List

  
I have the need to move a certain set of folders from one directory to another. I've found several posts that explain how to move files from one directory to another, but those didn't quite provide what I needed. Essentially I have a text file that lists 700+ folder names. I need to iterate through those and starting at a certain "root" directory (E:\Folders) move those subfolders in E:\Folders to another root directory (F:\OtherDirectory). Here's what I have so far: I hae a data flow task which is just a flat file connection which contains the list of folders. I then dropped a "For Each Loop" container onto the Control Flow. I then connect the data flow task to the For Each Loop Container. I created a variable that has a scope of Packge with a datatype of String. The name is User::Folder. Within the For Each Loop Editor, I've done the following: In Collection, I chose "ForEach Item Enumerator" as the enumerator. For expression I chose the variable (User::Folder). In Variable Mappings, I chose User::Folder as the variable with an index of 0. Within the For Each Loop Container I drop a File System Task. Here are the settings for that: IsDestinationPAthVariable = FALSE DestinationConnection = connection to the new "root" directory Operation = CopyDirectory IsSourcePathVariable = FALSE SourceConnection = connection to the origi

Custom action on click of certain type of folders in a lsharepoint list

  

We have a Moss 2007 set up and we are trying to have the ability where in we have some folders in a list marked as "confidential"., and when the user clicks on these folder, we want to pop up a disclaimer dialog to the user, and force the user to accept or reject it.

Also we want the ability to throw this popup when the user is directly navigatinig to a certain file that resides in the folder.

Any suggestions would be greatly appreciated.

thanks

 


Button in Ribbon.ListItem.New doesn't appear when list is added via a webpart

  

I have added a button to a project task list (id = 150).
Everything works fine when I directly use the list. But when I add the list via a webpart to the site page my new button is not available. It's exactly the same ribbon as in the list view but my new button is not visible. Any suggestions?

 <CustomAction 
  Id="D75EA390-1983-42AE-AB72-D484CC09B412" 
  Location="CommandUI.Ribbon" 
  RegistrationId="150" 
  RegistrationType="List" 
  Title="Ribbon Customization for a Content Type">
  <CommandUIExtension>
   <CommandUIDefinitions>
    <CommandUIDefinition Location="Ribbon.ListItem.New.Controls._children">
     <Button 
      Id="F297920B-FF7A-48F5-B7BE-EB486E86C546" 
      Command="ContentTypeCommand" 
      CommandType="General" 
      Description="Connect" 
      LabelText="Connect&quo

Adding folders to the List Template Gallery

  

The List Template Gallery in its initial form does not allow the user to add folders.

How would I go about modifying the List Template Gallery to allow folders to be created for organizing the list templates?

 

I tried looking in the 12\TEMPLATE\FEATURES for an item that matched the List Template Gallery but did not find one there.

 

Any ideas on where to look for this?

 


How to map the new field added to the new form to the list?

  

I have replaced sharepoint form field tag with input type text field. it does not store in the list. how it can be stored to the list

Thanks in advance


Other users added to task list notification

  

Using SharePoint 2007, MOSS.

A user edits a task that is assigned to him, once the task is updated a new notification email goes out with other people, who aren't assigned to the task. This happens occasionally, not all the time, on several sites. Never the same way twice!


sharepoint 2010 task list added new column

  

Hi everyone,

I've created a task list on sharepoint 2010 by default it has set of columns i.e title, priority, status, %complete etc...... then I added a new column called 'task group' but when I put information on a newly added column and click on save, the information that I entered on the new column does not save.

Any idea???

 

Thanks in advance.


How to get reference to the ListItems that were deleted when a List has been deleted using SPChange

  

Hi All,

Can anyone shed some light on how to get reference to the ListItems that were deleted when a List has been deleted using SPChange class

I am calling GetChanges on every site collection.

When a List has been deleted, GetChanges is logging only one event saying that the List has been deleted. But what is expected is, it should also log the delete events for the List Items that were inside that deleted List.

Can someone please help me with this - how to do it using object model

I wonder how Microsoft SharePoint incremental crawl works for deletes. Does anyone know how it works in case of deletes?

 

Thanks

Carol


How to get reference to the ListItems that were deleted when a List has been deleted using SharePoin

  

Hi All,

Can anyone shed some light on how to get reference to the ListItems that were deleted when a List has been deleted using SPChange class

I am calling GetChanges on every site collection.

When a List has been deleted, GetChanges is logging only one event saying that the List has been deleted. But what is expected is, it should also log the delete events for the List Items that were inside that deleted List.

Can someone please help me with this - how to do it using object model

I wonder how Microsoft SharePoint incremental crawl works for deletes. Does anyone know how it works in case of deletes?

 

Thanks

Carol


Which is the best way to get list of systems and shared folders in LAN using .NET 3.5 / 2.0 ?

  

Which is the best way to get list of systems and shared folders in LAN using .NET 3.5 / 2.0 ?

For getting list of computers in LAN, I am using

 http://www.codeproject.com/KB/IP/ListNetworkComputers.aspx?display=Print

Is there any other good way in C# ?, which is C# only.

I came across lots of posts to get shared folders using WMI and by NetworkShare.

Please let me know if there is any wrappers or pure .NET solution for this.

 

Thank you,


Best Regards, Uday Kadam

WSS OOB Workflow to send e-mail when item added to List?

  

I need to the below thing in WSS OOB Workflows . IF please let me know if you know
In WSS I have List with Name Emps. and colmns as EMPName as Single line text and EMPemail1,EMPemail2 as people picker fields.

When An item is added to the List worklfow should start and I need to send mail to EMPemail1 column person.
In the next step mail should send to Email2 person.


difference between folder content type and creating new folders in sharepoint list 2007

  

Hi All,

i want to know what is the difference between creating a folder content type and creating new folder in a list.

After creating a Floder Content Type add this to list i am little bit confiused ,means i can also do it by creating a simple folder to the list.

any help regarding this will appreciated...


Thanks and Regards Er.Pradipta Nayak

Requisitions: List view web part could not be added, list may be hidden

  

Hello,

I get this message when I tried to add the Requisitions, and Candidate Feedback web part to my landing page.

I notice another user is having problem but he/she get no answer on this so I'm hoping someone here can research on this for us.

My Sharepoint env:

Sharepoint 2007, running version 12.0.0.6421

 

Thanks


Ready made List Types provided by SharePoint

  
SharePoint provides some out of the box List Types. Some of the most used ready made list types that SharePoint provides currently are listed below:
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend