Tag Info

Hot answers tagged

3

Using List.Hidden property to make it hidden from UI is not enough to prevent users from accessing it. Consider to utilize List.BreakRoleInheritance to specify unique role assignments for a List, for example: var list = ctx.Web.Lists.GetByTitle(listTitle); list.Hidden = false; list.BreakRoleInheritance(false,false); //clear role assignments for a List ...


2

The alerttemplates XML will have templates for several list types. You will find the structure of the templates enclosed in <AlertTemplate Type="List" Name="SPAlertTemplateType.GenericList"> and a similar tag for announcement list. However modifying the alertemplate XML directly is not recommended. Also, if you modify the XML, the template change ...


2

You can copy the default page used to create those alerts in your 15 hive. Then make your modifications to the edited copy to make it do what you want. Once completed, you can use STSADM to update your Alert Templates. stsadm -o updatealerttemplates -url http://mysite -f "c:\Common Files\Microsoft Shared\web server ...


1

Looks like it is a DLL caching issue. When you start Powershell command line window, it loads all DLLs available in the GAC. So, if you have updated DLL for the feature receiver, and deploying it within the same PS session then it will not reload updated DLL. I had experienced similar behaviour before. To tackle it, I created two seperate PS1 files. First ...


1

You can break the inheritance of these document library and remove their link from quick launch. After breaking its inheritance, remove users from its permission settings who should not access to this document library. It should work like a charm!


1

From: http://www.makdeniz.com/how-to-filter-sharepoint-2010-tasks-which-are-assigned-to-you-and-the-group-your-are-member-of/ Step 1: Open SharePoint designer then open site that you want to study. Select the task list or any list that you want to filter. When you select task list you will see a panel right site of designer called views. Then select the ...


1

This means the changes of the object. In your case it is the single page. You can create alerts for List/Library or for single element.


1

you can do this by code behind : using (SPSite site = new SPSite(SPContext.Current.Site.URL)) using (SPWeb web = site.OpenWeb()) { SPList list = web.Lists["ListName"]; web.AllowUnSafeUpdates = true; foreach (SPListItem items in list.Items) { items["Author"] = value; ...



Only top voted, non community-wiki answers of a minimum length are eligible