Tag Info

New answers tagged

1

You can create a custom permission level that does not allow deleting. You'd essentially copy contribute and deselect the delete option. This solves point 1. For point 2, there isn't really anything that handles this. Item level security settings on lists comes close, but it isn't fully what you need and isn't available in libraries. You'd probably need to ...


1

The changes can be made in site definition files. If the site created by you is using custom site template(You have created template) you can set it in the onet.xml file of the Site definition. In the onet.xml, refer the module in the configuration and define the module int he following way <Modules> <Module Name="Default" ...


1

The SPFile object has a ForwardLinks and Backwards link property that contain SPLinkCollection that you may be able to query. Add-PSSnapin Microsoft.SharePoint.Powershell -ea 0; $web = get-spweb '<url>' $list = $web.lists['Pages']; foreach($file in $list.items){ $links = $file.ForwardLinks; foreach($link in $links){ if($link.url ...


0

We need to check the user login or anoymous access, then check the permission: SPUser currentUser = SPContext.Current.Web.CurrentUser; if( currentUser != null && !string.IsNullOrEmpty(currentUser.LoginName) { bool permit = item.DoesUserHavePermissions(currentUser,SPBasePermissions.Open); }


0

If the content is a section of text, you could attempt to use SharePoint's search to find all pages with this particular text. Perhaps you could also customise Search to search in page sources, although I have never done this myself.


1

Unless you click on "Automatic Update" it simple copy-pastes in the resuable-content in a new page and then forgets about it. If you do have Automatic Update on the other hand, the pages instead store references to the resuable content (not the content itself) and fetches the reusable content on render: The "storage format" of the content in a ...


0

I think, there is no problem using your suggested approach. That can be useful when you are working on some static kind of stuffs. I usually prefer this kind of approach, when static content is there. Thing you need to remember is that in case you are upgrading your SharePoint with cumulative update, there might be a chance that that wiki page will get ...


0

I have done some extensive research on this topic a few weeks ago because I had a similar requirement on the project I worked on. Even though you can setup crawl rules that exclude subsites, you cannot setup conditions to take page X is not published into account. What I ended up doing was creating a TimerJob which ran a couple of times a day (based on how ...


1

Here is what I found You change home page to new name SharePoint set site home page = new name Tries to change the name of actual file I believe step#2 should have been done after #3 or there should be a rollback mechanism



Top 50 recent answers are included