Posts

Microsoft Word add-in with header and footer using JavaScript

  Microsoft Word is a powerful word-processing tool that is widely used by professionals and individuals alike. One of its most useful features is the ability to add headers and footers to documents, which can include page numbers, document titles, and other important information. In this blog post, we will walk through the process of creating a Microsoft Word add-in using JavaScript that allows users to easily add and customize headers and footers in their documents. Step 1: Set Up Your Environment To get started, you will need to set up your development environment. This will require you to have Microsoft Visual Studio installed on your computer, as well as the Microsoft Office Developer Tools for Visual Studio. Once you have these tools installed, create a new project and select the "Office/SharePoint" template. This will provide you with the necessary files and tools to create your Word add-in. Step 2: Create a New Command Next, you will need to create a new command tha

My First experience with SPFX- SharePoint Frame Work.

Image
Basics of Sharepoint Framework Webparts This post is intended to share my knowledge on basics of sharepoint framework webparts. Below are the tasks we address: 1. Why sharepoint framework (SPFx). 2. How to setup a machine for it 3. How to develop your first SPFx webpart 4. How to deploy it to your SPO. 5. How to Consume it on client SPO site. 6. How to upgrade your SPFx app/webpart. Why SPFx? Let’s not reinvent the wheel. Office Dev center already provided great into and explanation on why SPFx. Read it  here. In my experience here are the facts which drives me for SPFx: 1. Best dev approach for SPO client side webpart. 2. Open source tool support, like NodeJS, Gulp, Yeoman and many javascript frameworks. 3. Responsive UI support for client side webparts. Thus support mobile and tablet modes. 4. Intuitive upgrade process. How to setup dev environment? Again read this material from Office Dev article  here . To summarize, below are the commands need to be execu

SharePoint Interview Questions and Answers: WebPart

Image
SharePoint Interview Questions and Answers: WebPart Webparts in SharePoint? Difference between .webparts and .dwp? Difference between asp.net webparts and SharePoint webparts? Webpart life cycle? Difference web parts visual web parts and traditional web part? Webpart maintenance page? Main webpart base classes? A Web Part or Web Form Control on this Page cannot be displayed or imported. The type is not registered as safe.” How to ensure user controls (.ascx) in webpart. I mean in which method the user controls defines? Out of box web parts in SharePoint? Add Web Part inside a Master Page in SharePoint 2010? Migrate webparts that are developed in SharePoint 2007 into SharePoint 2010? Difference between user control and webpart? Connectable webparts in SharePoint? I have created one webpart and added that in a page. Because of that webpart I am not able to open my page. So I want to delete that webpart from the page. How can I delete it? Can visual webparts have