Word Add In Installer – Unable to read App Config

nn napp.config file is not getting read afterninstalling word add in installer? n nSolution: n nIn Installer project there is a registry key fornadd in which has manifest entry. MSDNnDocumentation says that manifest values should benset to – [TARGETDIR]YourAddIn.vsto|vstolocal , now when this is changed to filenpath like file:/// [TARGETDIR]YourAddIn.vsto|vstolocal andnreinstalling add in I got … Read more

How to set people and group column programmatically using Client Object Model

nn nusing SP = Microsoft.SharePoint.Client;nnnn n using (SP.ClientContext _ctx = new SP.ClientContext(“http://YourSiteUrl”)) n n{ n n  SP.ListItem _listItem = null; n n n n nctx.Credentials = CredentialCache.DefaultCredentials; n n  n n  SP.List _testList = web.Lists.GetByTitle(“TestList”); n n  SP.CamlQuery _query = newnSP.CamlQuery(); n   query.ViewXml = @”<View><Query><Where><Geq><FieldRef Name=’ID’/>” + “<Value Type=’Number’>10</Value></Geq></Where></Query></View>”; n n  SP.ListItemCollection _listitems =n_configList.GetItems(_query); n … Read more

How to hide properties in Document Information Panel – SharePoint

nDocument Information Panel – This is the windownwhich shows all the properties associated with the document. Let it be out ofnthe box / default properties (like Title, Keywords), or custom properties orncontent type properties. nn nWait, what are content typenproperties? nConsider a scenario where you have a SharePointnsite and a document library. You create some … Read more

How to add web part on SharePoint 2010 Wiki Pages / On Rich Content Programmatically

nn nnWhilenworking with SharePoint 2010 one of my fried came across a scenario where henneeded to modify the home page of team site using a feature. Feature shouldndelete the existing content in out of the box team site’s home page and add newnweb parts. n nThoughnthis sounds very simple in first shot but practically little … Read more

Working with SharePoint Multilingual Titles Programatically

nLastnweek I was doing some R&D on SharePoint Multilingual user interface andnhence thought to share some learning experience which I got.nn nBackground: n nSharePointn2010 ships with the new feature called Multilingual User Interface, which isnhelpful for displaying the content in the web site in various languagesndepending upon user selection. I will not dive in to … Read more

Received Microsoft Community Contributor Award

nn nYesterday Night , I opened my emails and happen tonsee the Email From Microsoft mentioning that, n n n n“Dear Bhushan, nCongratulations!nWe’re pleased to inform you that your contributions to Microsoft onlinentechnical communities have been recognized with the Microsoft CommunitynContributor Award. “ n n n nInam really thankful to Microsoft for recognizing my efforts and awarding … Read more