SharePoint 2013, Social

Remove user posts in the newsfeeds , using manage social data permission

Is possible to delete unwanted post from the Newsfeed using an Admin Account with Mange Social Data  Rights.

These are the steps:

1. – Go to Central Admin

2. – Under Service Applications, go to Manage service applications

3. – Highlight the User Profile Service and select “Administrators on the Ribbon”

SocialAdmin

4. – Chose the admin account and check the Manage Social Data Permission

SocialAdmin2

Now this admin account should be able to delete users posts

SocialAdmin3

Advertisements
Errors, Hashtag, Migration, SharePoint 2013

Click on Hash tag Issue – Sorry, something went wrong

After a SharePoint 2010 to SharePoint 2013 migration, whenever a user clicked on a hash tag the detail page had the following error.

 

Hashtag1

After looking around for a while I realize that one of the scripts, Control_TagFeed.js was not been loaded, I went to the folder /_catalogs/masterpages/display templates/system and realize that the file was on check out status for some reason.

 

Hashtag2

I was unable to find the reason for this check out status but after publish the file hash tags were working again.

 

 

 

Errors, SharePoint 2013

SharePoint 2013 Search Error: Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository being crawled is a SharePoint repository, verify that the account you are using has “Full Read” permissions on the SharePoint Web Application being crawled.

I had an issue while trying to crawl my sites content, even after reviewing that the account had enough permissions and also the FULL READ that the error message suggested… after a little research I found out that the issue was related to the LoopBackCheck

In case you are not familiar with this SharePoint headache, here is a Powershell script that will add the registry key needed for this fix.

New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name “DisableLoopbackCheck” -Value “1” -PropertyType dword

After this just start a full crawl again.

Apps, Development, Errors, SharePoint 2013

AppMng.svc – The requested service could not be activated

So i was trying to develop an app in a small SharePoint 2013 farm,I use a Virtual Machine with only 4 GB of RAM.

When i tried to deploy the app i got this Error: The requested service, “Http://Blablalba/AppMng.svc” could not be activated

It happen to be that the server didn’t have enough memory to run the service… since this was a development machine I stopped some services that i didn’t use, one in particular the “SharePoint Search Host Controller” consumes a lot of resources.

After I stopped those services I was able to deploy my app

Migration, PowerShell, SharePoint 2010, Workflows

SharePoint Designer Workflow fired twice in a migrated list

Recenlty i migrate a SharePoint 2007 list and imported that list into a SharePoint 2010 site using some stsadm extensions.

The list used to have an SPD Workflow, since SPD 2007 cant be migrared i recreate the workflow using SPD 2010. But I realize that every time the workflow was trigger it was fired twice.

After some test i review the list schema and found out that the list had reference to the Workflow event receivers  for both SharePoint 2007 and SharePoint 2010.

To get rid of those extra refence i created an small powershell script:

$spWeb = Get-SPWeb -Identity http://mySP2010site/mySP2010SubSite/
$spList = $spWeb.Lists[“MyList”]
$eventsCount = $spList.EventReceivers.Count
$assembly = “Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c”
for ($i = 0; $i -lt $eventsCount; $i+=1)
{
      write-host $spList.EventReceivers[$i].Assembly
   if ($spList.EventReceivers[$i].Assembly -eq $assembly)
   {
      write-host  “About to delete the reference”
      $spList.EventReceivers[$i].Delete()
   }
}
$spList.Update()

 That solves my issue.

Content Management, Third Party Controls

Installing Adobe PDF iFilter on a multi-server SharePoint Farm

Download the PDFFilter installer (In this case 64x)

1.- On the Index server run the PDFFilter64Installer

 

2.- You will need an 16 x 16 or 17 x 17 icon to display with the results, You can download one from the Adobe Page: http://www.adobe.com/misc/linking.html or you can use this Google search and choose the one you like the most.

3.-In the Front End Server, save the icon in this directory: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\IMAGES

 

4.-In the Front End Server, You will need to edit the DOCICON.XML so SharePoint knows what icon to show with the PDF files. Navigate to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML open the DOCICON.XML using Notepad

 

Go to the <ByExtension> section of the XML and insert <Mapping Key=”pdf” Value=”MyPDFImage.gif” />

 

Save and close.

4.- The next step is to include the PDF file type in the content index, go to  Search Administration dashboard  in  Central Administration – > Manage Services applications -> “Your search service application”, Within the Search Administration dashboard, in the sidebar on the left, click File Types

5.-Click New File Type and enter PDF in the file extension textbox.

6.-On the Index Server execute regedit Start -> Run – > regedit and navigate to: \\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Setup\ContentIndexCommon\Filters\Extension

 

Right-click on Extension and chose New – > Key,

 

And set .pdf

 

Now double click on default and set this key: {E8978DA6-047F-4E3D-9C78-CDBE46041603}

7.- Restart the SharePoint Server Search 14 service

 

8.- Now performed a crawl so the new pdf documents are indexed.

After the crawl Pdfs will be displayed in your search results 🙂