Get the RegistrationId template list for a SharePoint custom action via Power Shell.

In this hint, I will show How to get the RegistrationId template list for a SharePoint custom action via Power Shell.

Scenario:

If you try to create a custom action via Visual Studio in SharePoint 2010 / 2013, you will note that there’s a tag called RegistrationId.

RegistrationId Custom Action list Continue reading “Get the RegistrationId template list for a SharePoint custom action via Power Shell.”

Advertisements

Open a link via Modal Dialog in SharePoint

In this hint, I will show How to Open a SharePoint link via SharePoint Modal Dialog  (SP.UI.ModalDialog.showModalDialog).

My Scenario :

I have an Operation Site and I want to open the Central Administration Link at its Home Page as a Modal Dialog.

Steps: Continue reading “Open a link via Modal Dialog in SharePoint”

Hide a Save button at List Ribbon in SharePoint via CSS or JavaScript

In this hint, I need to hide / disable a save button within the list ribbon in SharePoint 2013 via CSS or JavaScript

Hide save option at ribbon in sharepoint listTo be like this

Hide save Button ribbon in sharepoint listSteps : Continue reading “Hide a Save button at List Ribbon in SharePoint via CSS or JavaScript”

Distributed Cache Service does not support this operation from Central Administration. Please use Sharepoint Powershell commandlets

In the previous article, I have already explained How to solve this health analyzer issue

Accounts used by application pools or service identities are in the local machine Administrators group

But unfortunately, when I tried to change the distributed cache service account via Central Administration, by following:

  • Go to Central Administration > Security > Configure Service Accounts.

Configure Service Account

  • On the Service Accounts page > Select Windows Service –   Distributed Cache.

Service Accounts Component list.png

  • In the “Select an account” list > Choose an appropriate account for this component > OK.  I got the following error

Distributed Cache Service does not support this operation from Central Administration. Please use Sharepoint Powershell commandlets

Distributed Cache Service does not support this operation from Central Administration. Please use Sharepoint Powershell commandlets

In this hint, I will explain How to change the Distributed Cache Service account using SharePoint PowerShell Cmdlets by following the mentioned steps below: Continue reading “Distributed Cache Service does not support this operation from Central Administration. Please use Sharepoint Powershell commandlets”

Accounts used by application pools or service identities are in the local machine Administrators group in SharePoint Health Analyzer.

In SharePoint 2013 Central Administration, I observed that the Health Analyzer has raised the following security warning
Health Analyzer Warning

“Accounts used by application pools or service identities are in the local machine Administrators group”

Accounts used by application pools or service identities are in the local machine Administrators group

Cause : Continue reading “Accounts used by application pools or service identities are in the local machine Administrators group in SharePoint Health Analyzer.”

500 – Internal Server Error in SharePoint 2013

When I tried to browse a SharePoint Portal, I got the following error:

500 - Internal Server Error

500 - Internal Server Error

Cause: Continue reading “500 – Internal Server Error in SharePoint 2013”

A real scenario for Configuring Alternate Access Mapping inside SharePoint Server 2013

In my scenario, I have

The desired as follows

If I navigate to this URL “http://epm”, It should be pointed directly to web application URL.

In this article, I will demonstrate How to map an internal URL to be associated with a web application public URL by performing the following:

  1. Configure alternate access mapping via Central Administration.
  2. Configure SharePoint Site Bindings.
  3. Configure Hosts file
  4. Disable loop Back Check
  5. Add “A” record on DNS server for your URL

Finally, I’m gonna show some alternate access mapping considerations.

Steps: Continue reading “A real scenario for Configuring Alternate Access Mapping inside SharePoint Server 2013”