Posts

Showing posts from March, 2015

Property bags in sharepoint

Using SharePoint Designer to Edit Property Bags Property bag feature provides a convenient way to store and retrieve custom configurations, instead of having to store them in web.config files. Usually property bag settings are managed programmatically with SharePoint object model code in C# ow with PowerShell. There is no user interface to view/add/edit/delete the property bags key-value, but SharePoint designer can be utilized to manage property bag settings in SharePoint at site level. Here is how:   ·       Open your SharePoint site collection with SharePoint Designer ·       Click on the Site Options button from the top right hand corner of the ribbon ·       You'll be presented with a window to manage site’s property bag under "Parameters" tab. ·       From here, you can add, modify or delete properties.

Advanced Concepts in sharepoint 2013 ---1

What are Search Centers? SharePoint Out-of-the-Box comes with 2 site definitions: 1. Basic Search Center 2. Enterprise Search Center These site definitions create pages with pre-configured   web parts . Please note that there will be multiple pages included in the site definition: 1. Search page 2. Result page 3. Refiner pages Difference between Basic & Enterprise Search Centers Enterprise Search Centers provide following advantages over Basic: 1. It allows searching over external contents & web applications. 2. Video search is supported 3. Enterprise Search Center provides Navigation Verticals. 4. Recommendations feature 5. Query Rules - Advanced Actions Following is the Navigation Vertical. Each link will take to another result page. What are Search Verticals? Search Verticals are categorization of contents based on different types like Content, People, Conversations and Videos. Each Vertical can be configured against a Result Types. What

sharepoint people picker is not working in central admin sharepoint

We have to check peoiple picker is activated or not for the CA and web application. First check AD features are are installed or not. or Then using stsadm this coomand execute. STSADM.exe -o getsiteuseraccountdirectorypath -url  http://intranet If you get output like this: DC=childdomain,DC=rootdomain,DC=local  Then you need to run the following command to change the people picker search scope to search the entire forest: STSADM.exe -o setsiteuseraccountdirectorypath -path "" -url  http://intranet or  stsadm –o setproperty –pn "peoplepicker-searchadforests" –pv "Domain" -url http://sharepointlive:8080/ OR Using this powershell script $webapp = get -spwebapplication http : / / myurl . com $webapp . peoplepickersettings #this showed that there was something set in a sub property of peoplepickersettings called ActiveDirectoryCustomFilter.   #next step to fix this was to reset that property, the code below was used: $webapp

Export Sharepoint listitem versions

In this code am exporting sharepoint list item versions. Here is the code below. protected void Page_Load(object sender, EventArgs e)         {             try             {                 if (!String.IsNullOrEmpty(Request.QueryString["ItemId"]) && !String.IsNullOrEmpty(Request.QueryString["ListId"]))                 {                     string itemID = Request.QueryString["ItemId"];                     string listID = Request.QueryString["ListId"];                     listID = listID.Substring(1, listID.Length - 2);                                       DataTable dt = new DataTable();                     bool firstTime = true;                     using (SPSite site = new SPSite(SPContext.Current.Site.Url))                     {                         using (SPWeb web = site.OpenWeb())                         {                             Guid gid = new Guid(listID);                             SPList DocLib = web.

Hide Share, Follow and Sync Buttons in Sharepoint 2013

How to disable "Share" button in SharePoint 2013? Share button is relying on "Access requests" configuration of the site. To disable "Share button" in SharePoint 2013, simply disable access requests. Go to Site settings page of your SharePoint site. Click on "Site Permissions" link under "Users and Permissions" group Click on "Access Request Settings" in the ribbon. Uncheck "Allow access request" and click on "Ok" to save your changes. This should hide Share button in SharePoint 2013. How to Disable Sync buttons in SharePoint 2013 To disable sync, Navigate to  Site settings >> Click on "Search and offline availability" >> set offline client availability to "No". How to disable "Follow" button in SharePoint 2013? To disable "Follow" button in SharePoint 2013, You'll have to disable a feature called "Following Content". Na