Skip to main content

Posts

SharePoint 2013 two new columns "GeoLocation and Related Items"

GeoLocation  Related Items (You will find this column in Task list) GeoLocation  Integrating location and map features SharePoint 2013 introducing new column type “geolocation”; New column GEO location added help to specify the location using BING map. By default this column not visible in the UI. You can add this column by code also available in MSDN link http://code.msdn.microsoft.com/office/SharePoint-2013-Add-a-d3fa8288/sourcecode?fileId=67748&pathId=1981093371 Above link shows how to create the geolocation using the Client object model.  private static void AddGeolocationField()         {             // change "http:// localhost" with your sharepoint server name             ClientContext context = new ClientContext(@"http://Mysite");             //Replace the <List Title> with valid list name.           ...

SharePoint: Application pool XXX has been disabled. Windows Process Activation Service (WAS) encountered a failure when it started a worker process to serve the application pool.

Web front end Error 503 Service Unavailable This error comes when your Password retention policy kicks in then services that running using service account stop working  or the password has been changed of one of your service account that currently running/used in SharePoint Application pool. You will see the following error message to your event logs. To read more about the service account . The solution of this problem you need to reconfigure the same identity pool account.. Following steps. Open IIS navigate to the server application pool. Select application pool .right click on it click to the advance settings option. Under process model group select identity click the   ... button. Choose custom account option select set. enter the username and password click OK

TechEd OSP309 Session bugs and fixes (CRM Connector bdcm)

I am working on the Enterprise Search so recently I got the requirement that I need to crawl the data from the CRM 2011. So for that I need to create the BDCM file. I goggled it and finally got the post on the MSDN “ Source Code from my TechEd OSP309 Session ” and start working on it. I did all the steps then I got the nasty error. Tried to degug the code the inner exception was “Error: An unsecured or incorrectly secured fault was received from the other party”. “An unsecured or incorrectly secured fault was received from the other party”.  To solve the error I did the following steps.  Download the latest CRM SDK from the MSDN.  Add the latest Reference of the following  microsoft.xrm.sdk.dll microsoft.crm.sdk.proxy.dll Change the code of the function “Util_CreateOrganizationService” having a file name EntityServices.cs (At the end of this post you will find the updated code). Project name”CRMEntityService”. Rebuild the code and redeploy the ...

PowerShell Utility Script Update WebPart Properties

This utility help you to update the webpart properties without modify the page manually. This script reads the data from the xml configuration and update page webpart property. To update the file we need the page name and webart id all this type of configuration store in the confg.xml file. Below is the updated code. Note: There is only one Manuel step that is you need to find the site pages as well as get the Ids of the webpart that need to modify the property. This current example only modifies the Title and Xsllink of the webpart. You will find the WebPartUtility.zip at the end of this post the zip folder contains the following two files 1. Config.xml : This file contains the all the configuration required for modify 2. PropertyChange.ps1 : This file contains all the logic. Silent feature: 1. More than one site can webpart can be modified by this script. 2. More than one page , webpart and webpart properties update at once. Config contains the IsUpd...

Content Editor Web part Html Not rendered Issue Solved

Problem: I am deploying the layout pages using the module. Inside the zones I am adding the default web parts. The problem is one of my content editor web part contains the CSS and HTML tags. When I am deploying it the web part comes properly but html not rendered properly.   I have tried the following method to solve the problem. 1.        I have placed the html in the web part then export the content editor web part and place inside the Element.xml file. The problem is still there content not rendered property.   (Not Worked) 2.        Place the html content inside the <![CDATA[]]. I am getting the red swing line. It shows that the xml not well formatted.   Please see the bellow image.   (Not Worked)   3.        Encode the Html then placed it inside the content. Now the html rendered inside the content editor web part. I used the Html Encode tool an...

Implement telerik in SharePoint 2010

Overview: This post helps to implement the Telerik controls in SharePoint 2010. At the end of this post you will find the source code. This example contains the two Telerik controls Treeview [Code snippets taken from the official Telerik site] Rotator [Code snippets taken from the official Telerik site] To Implement the Telerik in SharePoint 2010. Follows the below steps Create [ Empty SharePoint Project ] and give solution name [ SharePoint2010Telerik ]. Create folder in the solution [ Assembly ]. Copy two dll [ Telerik.web.design.dll ] and [ Telerik.web.UI.dll ] (You can download two dlls from telerik official site or The sample code at the end of this post also contains the same files) Add above two dll inside the package. From the solution explorer double click to the package.package icon inside package folder. Scroll to down click to the [ advanced ] button. The Additional assemble windows open click Add button the drop menu comes clic...

Some the silent UI feature in SharePoint 2013 beta

Some of the new feature comes with the new version of the SharePoint 2013 version as compare with the 2010. But some of the minor changes in the UI as well as the look and feel. So I am going to show you some of the new UI feature that is in SharePoint 2013 beta version may be these UI feature still with it and removed when 2013 will released. Some the silent UI feature in the SharePoint 2013 beta You will change the left & top navigation from home page without going to the site settings. All items view some of the Shortcut menus Able to search within the list  Switched between the list views by clicking on the edit link.  Add new column Intelligent window during add new user SharePoint group. View all list item page now all the custom list and other list and libraries comes under the Add and App link. (_layouts/viewlsts.aspx page)