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

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Set permissions to avoid Delete item from List

Posted By:      Posted Date: October 21, 2010    Points: 0   Category :SharePoint

How can we set permissions or (something) else that will let user to just edit item but CANT delete item?


View Complete Post

More Related Resource Links

Item/Document permissions affect Library/List permissions

When I change the permissions on a item/document in a library/list the permissions are also changed on the library/list even though I stopped inheritance.  When I change the permissions on the library/list it also changes permissions on items/documents in that list even if inheritance is removed.

Item/Document vs. Libray/List permissions

When I change the permissions on a item/document in a library/list the permissions are also changed on the library/list even though I stopped inheritance.  When I change the permissions on the library/list it also changes permissions on items/documents in that list even if inheritance is removed.

How to properly configure permissions so users can view, add, edit, and delete list items, but not w

I am trying to figure out how to properly setup security so that it can be configured at the top-level, and then inherited all the way through. Here is what I would like to do: Each user can view, add, edit, and delete list items - but, users cannot modify or delete web part pages. The only way I know how to do this is set Contribute from the top-down, and then go into each Site Pages library and set Read access. The problem is that I have 100 sites, and I was hoping there was a way I could set security at the top, and inherit downward. Rather than having to go into all 100 Site Pages library and set Read access. Is there a way to do this? Thanks in advance.

How to remove 'Delete Item' from context menu of a programmatically created list?

How to remove 'Delete Item' from context menu of a programmatically created list?
I have document library which is created programmatically but now I don't want to have 'Delete Item' in context menu of that document library. Are there any possibilites?

How to delete list item by its url using web services?


How guys,

I need to delete an SPListItem from remote MOSS site. The problem is that I don't know its id, only url.

Any ideas?

SPD 2010 status 'Canceled' when using action 'Replace List Item Permissions'



I have been experiencing issues with using action "Replace List Item Permissions" with SPD 2010.
When adding an new list item the workflow runs as expected.
When editing the same item later, the workflowstatus gets "Canceled" and the joblog tells me:

09/22/2010 15:55:14.41  w3wp.exe (0x3584) 0x37B4 SharePoint Foundation Workflow Infrastructure 72fv Unexpected AutoStart Workflow: Microsoft.SharePoint.SPException: Recursive workflows are not permitted. at Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.<>c__DisplayClass1.<AutoStartWorkflow>b__0(SPSite superUserSite, SPWeb superUserWeb)

The Workflow uses the options
- "Start workflow automatically when an item is created"
- "Start workflow automatically when an item is changed"
My environment is:
- MOSS 2010 Enterprise RTM english with german languagepacks
- SharePoint Designer 2010, Version 14.0.4760.1000

Any ideas why this error is occurring and how to resolve it?
Thanks, Stefan.

How to delete a list item in Sharepoint that will also delete sub-items


I have a list of user information and on the DispForm.aspx page, I also have a section to insert sub-items (assets).  I would like to know how to setup a way so that when I delete the main item, it will delete all sub-items as well.  Any information would be greatly appreciated!


Want to delete item from sharepoint list prior to date



 Please help me to delete  item from list in sharepoint 2010 at EndDate and it should be added to the another Backup list, without using Visual Studio 2010 and  Designer



How to add double integer array to ArrayList. Then iterate through the list and delete an item?


   I have a class with three students in it. Each student has two test scoress for the semester.
   How do I iterate through my ArrayList?

   Also suppose I want to remove a student score from the ArrayList while iterating through the list, How can I do this ?

   An example is if I allow Hallie to drop her lowest score of 71

            int Students=3;
            int Scores = 2;
            int[,] Student = new int[Students, Scores];

            ArrayList Class = new ArrayList();
            // Add joes scores
            Student[0, 0] = 88;
            Class.Add(Student[0, 0]);
            Student[0, 1] = 99;
            Class.Add(Student[0, 1]);

            // Add Maries Scores

Item-level Permissions in List Advanced Settings

Is the "Item-level Permissions" in List Advanced Settings, a security option or is it a way to filter data for the user?
How does it work with the permission done on the item level when breaking inheritance with the list?


Setting the permissions for the list item in sharepoint 2010 list


Dear All,

            This is siddiqali working sharepoint 2010 as developer .My task is to enable and disable the lists by setting permissions for sharepoint lists .I have generated the list permissions successfully ,But can any one tell me how to generate the permissions for the list items.

  Example; I have the list items  such as "ID,Name,Class,Number"  when the student opens the list the filed number should not be visible for  the student .All the fields should be able to view only by admin.


I hope some one will  respond to me and solve my problem .





Mohammad Siddiqali

problem...i want a list item to populate all data in gridview!!!


i have a dropdownbox and a gridview

what I want is to have a list item which populates all data in a gridview.

I have tried using list item selected value=0 but to no avail.

what is the easiest way to achieve this?

Delete not working on List.aspx - out of box



I'am trying to use Dynamic data web site on my project. I have Visual Studio 2010 enf Framework 4.0. I create the default project with the wizard. I add my own Entity Data Model.

When I try to use the "delete" autogenerated button on List.aspx, on the table ServerSetting (see image below), I receive a null exception.  I have no custom code involved in this operation and cannot seem to determine what is Null.

Any help would be appreciated!



[NullReferenceException: Object reference not set to an instance of an object.]
   System.Data.Objects.Internal.ForeignKeyFactory.CreateConceptualNullKey(EntityKey originalKey) +30
   System.Data.Objects.DataClasses.EntityReference.NullAllForeignKeys() +722
   System.Data.Objects.EntityEntry.NullAllForeignKeys() +235
   System.Data.Objects.EntityEntry.Delete(Boolean doFixup) +77
   System.Data.Objects.EntityEntry.Delete() +9
   System.Data.Objects.ObjectContext.DeleteObject(Object entity, EntitySet expectedEntitySet) +169

Attach Workflow to Task List, don't get option to manually start workflow via dropdown on task item



I am running WSS 3.0 with other workflows which are functioning correctly.  I created a new workflow in Visual Studio 2008 and was able to successfully run it in my dev environment.  I attached the workflow to a task list in my dev environment and was able to manually start the workflow by using the drop down workflow option and using the menus to manually start it.  I installed this workflow in our production environment and attached it to the task list (which had a SPD workflow attached to it which stopped working about a month ago).  I made sure that the option to manually start the workflow was checked.  When I tried to manually start the workflow, (hover mouse over title, drop down) there isn’t a workflow option.  The workflow also will not start automatically when a task is changed.


I attached this same workflow to a different task list in production and get the option to start it.


I have tried creating a small workflow in SPD 2007 and attaching it to the task list.  It shows that it is attached, when I look at the workflows that are attached to the task list, but I still don’t get the option to manually start it.


I have checked my security and I have fu

Workflow Task And Relevant List Item


Hello there...

1. What is the name of  the field thats connect between the task item and  the list name or guid and the list item id or guid

2. SPD: how can when starting the workflow how can i ensure that the initial form variables will be saved at the workflow task list

Many Thanks



Assigning users when creating a list item in a workflow


I'm using a workflow to assign tasks to users.  When I try to assign the task to a group (set in the workflow designer), the workflow gives me an error.  When I change the assign to property to a single user, the workflow works perfectly.  How do I get the workflow to assign the task to the group?  Or if that's not possible, can I get it to assign it to more than one user?


KPI to calculate list item clicked most ?


Hello All:

Is there anyway where we can use KPI list to attach to a SharePoint list and indicates which item was clicked the most ? Or any other way to find out the best 5 links based on how many times they were accessed by a user?


Thanks in advance

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