Wednesday, February 18, 2015

How to change ownership or email of SharePoint access request

The access request feature allows people to request access to content that they do not currently have permission to see. As a site owner, you can configure the feature to send you mail when someone requests access to a site. You can then choose whether to approve or decline their request. If you approve the request, you can also specify the specific level of permission you’d like to assign to a user.

The access request feature also works together with the Share command for sites. If someone who is not a site owner for a site (that is, someone who does not have full control for a site) uses the Share command to invite other people to view a site, then that action will generate an access request for the site owner. The site owner can then approve or decline the request, or specify the permission level to be assigned to the new user.

ISSUE:

we can set up access request on your site, by default who creates the site that person is responsible for approving access requests and all request will be send to the same person.
Now, that person moved away from the current department or you may want to change the person.

Resolution:

Site owners can set up the access request feature so that it sends them an email when someone requests access to a site.

    1. Go to Settings Settings button > Site Settings.

    2. Under Users and Permissions, click Site Permissions.

    3. On the Permissions tab, click Access Request Settings.

    In the Access Request Settings dialog box, select the check box next to Allow access requests, and then type the email address of the person you want to make responsible for approving access requests.

    4. Click OK.


If you want to disable access request you can uncheck "Allow access requests".

How to redirect to root site when user click on subsite logo

Requirement:

I have one sub site (this is search center) under the root site collection. Whenever search any keyword it will redirect to search site. Here there is no way to go to home site. Now users want to go back when they click on site logo.

Solution:

Here the solution.

1. Open the sub site/ Search site in SharePoint designer 2013.
2. Open the site's master page and add the below JQuery script.

<script type="text/javascript">
$(function(){
  $('.ms-siteicon-a').click(function(e){
   e.preventDefault();
    window.location.href="/";
  });
});
</script>

Now save and check it.


SharePoint Timer stuck stopping


Error: When we got search issue and we need to update cache.ini file. For this we need to disable SharePoint timer job and also need to stop SharePoint timer service. when we try to stop SharePoint timer service but its strucked in stopping state only and it's not stopping and also production applications are stopped working.

Resolution for the error:

Go to the Windows Task Manager, click on Processes tab. Select "Show processes from all users". Right click on OWSTIMER.EXE and then click on End Process. Now the SharePoint timer service will be stopped.