Saturday, December 13, 2014

CSS Menu with SharePoint List Items

Step1 :
Add below css for rendering multilevel menu.

Tuesday, July 15, 2014

What's new in SharePoint 2013 for a Developer - quick Points

Design Manager
Snippet Gallery
Device Channels
Device Channel Panel control
Display template
Image renditions
Managed Navigation and EMM capabilities with Taxonomy
Content Search Web Part
Design packages
Catalogs
Cross-site publishing
Analytics and recommendations
Variations and multilingual sites

Change FARM Account Password in Central Admin Server

Login to Central Admin server and open SharePoint Management Shell as administrator.

Run the below command (Replace Credentials with your new Credentials of the farm)

stsadm -o updatefarmcredentials -userlogin sp\<Account Name>  -password <Account Password>

Have Fun :)

Friday, May 9, 2014

The crawler could not communicate with the server. Check that the server is available and that the firewall access is configured correctly

Error while crawling content source in SharePoint 2013 search.

Resolution : Check the default search crawl account.

Friday, December 6, 2013

Sideloading of apps is not enabled on this site

In order to publish a SharePoint hosted apps
create a developer site in which developer feature enabled on it.
to publish a app on normal site enable developer on it. it's a hidden feature to be enabled from powershell.

Enable-SPFeature e374875e-06b6-11e0-b0fa-57f5dfd72085 –url <site URL>

Saturday, November 30, 2013

Adding Item to SharePoint list using Jquery and SPServices

In this article I am going to show how to add list item to a SharePoint list using Jquery.
Prerequisites:

1. Create a SharePoint list (in my case I just created a list with name "testlist")

2. create a new page and insert a content editor webpart.

3. By default my "testlist" is created with Title field, so to make this article simple, I will be adding only Title filed from Jquery.

4. Now add below code to content editor webpart in Edit Source Mode

TODO:
Place one HTML textbox to enter the title and One button to add the text box value to list when clicked.
HTML:


<table>

<tr>

<td><strong>List Item to be added</strong></td>

<td><input id="txtTitle" name="txtTitle" type="text" /></td>

</tr><tr>

<td><input name="ADD" id="btnADD" type="submit" value="Add Item to List" /></td></tr>

</table>

In order to work with Jquery and Sharepoint add below references for Jquery or download the files online and refer from your style library.

I will be referring online jquery.

<script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.10.2.js "></script>

<script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery.SPServices-0.7.2.js "></script>

Script :
<script type="text/javascript">

        $(document).ready(function () {

            $("#btnAdd").click(function () {
                var title = $("#txtTitle").val();
                AddListItem(title);
            });

        });

        function AddListItem(TitleField) {
            $().SPServices({
                operation: "UpdateListItems",
                async: false,
                batchCmd: "New",
                listName: "testlist",
                valuepairs: [["Title", TitleField]],
                completefunc: function (xData, Status) {
                    alert("Data Saved! and Please check your List");
                }
            });
        }
    </script>


Wednesday, October 30, 2013

SDDL String Contains an invalid SID or a SID that cannot be translated” ERROR During SHAREPOINT 2013 configuration wizard

Error : SDDL String Contains an invalid SID or a SID that cannot be translated” ERROR During SHAREPOINT 2013 configuration wizard 8th Step

Solution :

Browse to
1.  "C:\Program Files\Microsoft Office Servers\15.0\Data\Office Server" folder
2. Right click on Analytics_cf2da844-a5ee-4a2a-898d-e800a936e434 (Analytics_GUID) folder
3.Share the folder as shown below



4. Click ok & Apply 5. Now Run configuration wizard again.