Skip to main content

Posts

10 benefits of migrating towards SharePoint office 365 based intranet portal

Now days many businesses are going paper less. By moving to office 365 based portal will help organisation to not only go paper less as well enhance collaboration to entire organisation level. Following are few major features which makes Office 365 as best cloud platform for Next Generation Intranet Portal. Multiple Licensing for different business requirements. Enterprise level Cloud features. Infrastructure cost saving. Free Up-gradation with new versions. Seamless collaboration and document management. Seamless integration of Active Directory. Single sign on with different application. Easily integration with different application to achieve Business Process flow with Microsoft Flow. Ability to integrate customisation to achieve business's branding and other needs SharePoint Apps. I hope this information is helpful. Let me know your thoughts. Thank You Krunal Jani

Update all Pages to entire Sites and SubSite using Client Object Model C#

If you want to update, Delete any and all the list, document library, publishing library to entire site collection. Following code will be helpful to achieve this requirements. public static class Program { static void Main(string[] args) { try { using (ClientContext _context = GetSiteContext(Constants.DeploymentSiteUrl)) { var webs = clientContext.Site.EnumAllWebs(w => w.Title, w => w.Lists); foreach (var web in webs) { foreach (var list in web.Lists) { if (list.Title == "Pages") { Console.WriteLine(web.Title + "-----" + list.Title); result.Add(web.Title + list.Title); CamlQuery query = CamlQuery.CreateAllItemsQuery(); query.ViewXml = @" "; ListItemCollection...

Set Taxonomy Field Value using Client Object Model in publishing page

Many time there are some cases. when people add or updates the publishing page it requires to set some field values. In this case I have covered Taxonomy Field. Following code will get current publishing page and set Taxonomy field Page Type to its value. // Comment jQuery(document).ready(function () { var pagelayout = ""; //current context var context = SP.ClientContext.get_current(); // current web var web = context.get_web(); // get pages library of current site var currentPageLibrary = web.get_lists().getById(_spPageContextInfo.pageListId); // get and load page item which is rendered var currentPageItem = currentPageLibrary.getItemById(_spPageContextInfo.pageItemId); context.load(currentPageItem); context.executeQueryAsync(function() { // get pagelayoutname var itm = currentPageItem.get_item("PublishingPageLayout"); if(itm != null) pagelayout = itm.get_description(); // get id of TaxonomyField Id var countriesControlId =j...

IE 9 and IE 10 Issue for Dropdown list with many items...Sharepoint 2010

Issue $(document).ready(function () {             // Country column             var _countyName = "Country";             //State Column             var _stateName = "State";             // Override the Country             OverrideDropDownList(_countyName);             //Set first value of the country as default.             updateOriginalField(_countyName, "tempDDLName_" + _countyName);             //Override for State             OverrideDropDownList(_stateName);             // Main Function             function OverrideDropDownList(columnName) {                 // Co...

Create Managed Property for Search Service Application.

Function for Create Managed property for Search Service Application. private static void CreateManagedProperty( Schema schema, string managedPropertyName, string crawledPropertyCategory, string crawledPropertyName)         {             if (!schema.AllManagedProperties.Contains(managedPropertyName))             {                              Category category = schema.AllCategories[crawledPropertyCategory];                 var crawledProps = category.QueryCrawledProperties(crawledPropertyName, 1, Guid .NewGuid(), String .Empty, true ).Cast< CrawledProperty >();   ...