Posts

Showing posts from December, 2017

Adding Webpart using Client Object Model in SharePoint 2013

Image
Have you ever had a deployed solution from one environment to other i.e Development to Staging or Staging to Production, so you have noticed that it requires lot of manual works to configure whole solution to work perfectly the way we have expected it to work. Consider a situation having a solution containing lot of webparts and we have to add them manually on pages, quite a cumbersome task and everybody hates to do it. So to cope up with these kind situations we can automate the process of adding webpart to a page. In this article I'm going to explain how to add webpart programmatically using CSOM. Creating config file To start the automation process first we need to create a configuration file, an excel or csv will do work. This configuration file will store the data on which page which webpart need to be added with some other information. Below the screenshot: PageName: webpart page name. ZoneId: Webpart zone name. Order: Order of webpart i

Powershell script for Creating Phase, Stage, PDPs in EPM 2013

Image
As we all know that PowerShell is a very strong tool for performing task in Windows environment. In this blog post I'm assuming you have basic knowledge of PowerShell scripting and Project Server 2013 as we are here to learn how to create Stages, Phases and PDPs in Enterprise Project Management 2013 (Project Server 2013) . For Windows PowerShell: Scripting Crash Course is a very good article written by Don Jone s in MSDN. People who have worked on custom workflows using Visual Studio in Project server must know that it uses unique id of each stage, which is automatically generated when the stages were created. So for moving workflow from one environment to another, we are required to the solution and update the Stage id of new environment. For every environment changing code and updating Stage id is not a feasible solution. To overcome the above problem we have come across the solution of creating Stages programmatically and assigning our own Guids. And that is possible

Step-by-Step SharePoint 2013 Installation Guide Part-3

Image
After this series of post, you will have a good idea of  Installation and configuration of Windows Server 2012 Installation of SQL Server 2012 Express Edition. Installation and configuration of SharePoint 2013. This is the last post of the series. In previous two post, we have learned how configure Windows Server 2012 and SQL Server 2012. Now, In this post we will see how to install and configure SharePoint 2013. Those who haven't downloaded SharePoint 2013 setup, they can download it from here . Insert the CD into virtual drive. Auto-run will start the welcome screen of SharePoint 2013. In the Install the software prerequisites.   This wizard will download and install the prerequisites for SharePoint 2013. So, it will take some time and system will get restarted many times. Note: You need internet connection to complete this step. So, if you are not connected with the net then, download it fr

Step-by-Step SharePoint 2013 Installation Guide Part-2

Image
After this series of post, you will have a good idea of  Installation and configuration of Windows Server 2012 Installation of SQL Server 2012 Express Edition. Installation and configuration of SharePoint 2013. As in the previous post we have configured Windows Server 2012. We have installed AD DS, IIS server and created users necessary for installation process. So, now in this post we are going to cover installation of SQL Server 2012 Express edition. In the previous post I've already provided setup download link. If you haven't downloaded it yet here is the link . So, now run the setup, It'll start extracting files and then SQL Server Installation wizard opens up. Select New SQL server stand-alone installation.   Accept the licence agreement and click next.   Select Include SQL server product updates. It'll take some time to download the updates and then click next.   Click on Install button, and wait for the