Skip to main content

Posts

Showing posts from October, 2013

How to create List Templates and List Instances with VSeWSS 1.3

The task of every Sharepoint developer is to provide a solution that is easy to be deployed to the end systems of the client being it development, staging or production environment. In most of the cases a real life SharePoint project has a set of custom lists, document libraries and custom pages/web parts, so covering them will make the every day life of most of you a little bit easier. In this article I will cover the approach that I found most useful for myself from a developer stand point of view. Once the VSeWSS 1.3 is being installed on the machine where Visual Studio .NET is located we get access to the Sharepoint project templates: One of the available Sharepoint templates is the List Definition which is the one we can use to create a Sharepoint list. After selecting it we will have the chance to select what kind of template we want to create: In our case we want to create a custom list, so we just have to select the Custom List base definition. However this is just a d

Proceso para activar la variable de session en sharepoint server 2010 y foundation 2010

Sharepoint server  : 1- Poner el valor a true de <pages enableSessionState="false" 2- Ejecutar en el shell de sharepoint  Enable-SPSessionStateService –DefaultProvision Sharepoint foundation :  1- Poner el valor a true de <pages enableSessionState="false"  2 - Ir a   <system.web> y añadir     <sessionState mode="InProc" />  3- ir a  <modules runAllManagedModulesForAllRequests="true"> y añadir <add name="Session" type="System.Web.SessionState.SessionStateModule" />

How to install SharePoint 2010 Server Farm Setup without Active Directory on Windows Server 2008

In SharePoint 2010, there are two types of installations: Farm  and Standalone. If you want to install SP 2010 on a single machine, it will not allow you to install farm set up out of the box as by default it requires Active Directory which means your machine needs to join a domain where Microsoft Active Directory has been already setup. To workaround this problem for Windows Server 2008 machine, you could do the following: 1. Install SQL Server 2008 R2 Development/Enterprise edition. 2.  Install SharePoint 2010 Installation using Farm Setup. 3. Before proceeding to launch the SP2010 Configuration Wizard, open the SP2010 PowerShell and run this command: New-SPConfigurationDatabase After that, you will get the following window: Enter a Database Name (i.e SharePoint_Config_Db) Next: Enter a Database Server: (Your Database server name, if the database is hosted on the same machine, type in your machine name) After that you will get a login prompt to enter your Farm Creden