• Posted by admin
    • 19 July 2010
    • Blog

    Its a Breeze!

    How would you like to quickly recreate the design, structure, or content of a site? Well with SharePoint it is a breeze....Just by saving the site as a site template, you can then choose to create a new site.

    The Play By Play

    To save a site as a template, do the following: On the Site Actions menu Site Actions menu, click Site Settings. Note On a site for which the Site Actions menu is customized, point to Site Settings, and then click the settings that you want to view.
    1. On the Site Settings page, in the Look and Feel section, click Save site as template.
    2. On the Save Site as Template page, in the File Name section, type a name for the template file.
    3. In the Name and Description section, type a name and optionally a description.
    4. In the Include Content section, select the Include Content check box if you want new Web sites created from this template to include the contents of all lists and document libraries in the Web site. Note Some customizations, such as custom workflows, are present in the template only if you choose to include content. Including content can increase the size of your template. The size limit for Include Content is 10 megabytes (MB).
    5. Click OK. The next time you create a site, the site template will appear in the list of available site templates. or you can send it off to who ever you want.

    It is really that simple!

    Share
    • Posted by admin
    • 25 January 2010
    • Blog

    To Backup or Not to Backup ... The Question is How

    To backup a SharePoint site there are a few methods, but what I found works the best for us is to use the stsadm.exe backup command. The stsadm.exe can found within the 12 hives directory within the bin folder.
    1. Run > cmd (depending on your configuration you might have to run the cmd prompt as a local admin)
    2. cd "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN"
    3. stsadm -o backup -url http://mysite.com -filename C:\temp\mysitefile -overwrite
    4. You are DONE!

    ...And Your Data Will Be Held in a Secure Location on a Remote Island - Oops..  I Mean Server

    To restore a site backup on another server:

    1. Login to Central Admin
    2. Create a new web application under the "Application Management" tab
      • Once the site has been successfully created, there is no need to create a site collection because we are going to load it from the backup file
    3. Run > cmd > cd "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN"
    4. stsadm -o restore -url http://mynewsite.com -filename E:\temp\mysitefile -overwrite
    5. Once the restore has complete head back into the Central Admin > Application Management tab and choose "Policy for Web Application" and add a user account to login to the new restored website.
    Share
    • Posted by admin
    • 18 January 2010
    • Blog

    Every Step You Take...

    Here's one of those things I do just infrequently enough to forget a step.  Now I just need to remember that I've put all the steps here.

    1. Provision a database.  It does not need to be new, but it cannot already have the ASP.net membership provider tables in it.  If it does, skip ahead to step 3.
    2. Use the aspnet_regsql.exe tool to create the necessary tables and stored procedures in the database.  The tool can be found at <system drive letter>:\Windows\Microsoft.NET\Framework\v2.0.50727.  The tool has a GUI wizard that will lead you through the steps.
    3. Create a web site.  A local web site works fine.
    4. Add the connection string to your database to the web.config file.  Connection strings are placed just inside the configuration root:

      <configuration>
      <connectionStrings>
      <add name="SqlMembershipConnection"
      connectionString="Data Source=IPADDRESS;Initial Catalog=DBNAMEHERE;User
      ID=DBUSERNAMEHERE;Password=PASSWORDHERE" />
      </connectionStrings>
      <configuration>

    5. Add the SqlMembershipProvider to the web.config file under the system.web node:

      <membership>
      <providers>
      <clear/>
      <add name="AspNetSqlMembershipProvider"
      type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
      connectionStringName="SqlMembershipConnection"
      enablePasswordRetrieval="false"
      enablePasswordReset="true"
      requiresQuestionAndAnswer="false"
      requiresUniqueEmail="true"
      passwordFormat="Hashed"
      maxInvalidPasswordAttempts="5"
      minRequiredPasswordLength="7"
      minRequiredNonalphanumericCharacters="1"
      passwordAttemptWindow="10"
      passwordStrengthRegularExpression=""
      applicationName="NAMEOFAPPHERE"/>
      </providers>
      </membership>

      NOTE: The connectionStringName parameter of the membership provider must match the name you chose for the connection string above.  The applicationName parameter allows you to use the same database for different web applications.  Choose a suitable name and set the other parameters as needed.

    6. Add a CreateUserWizard control to the default.aspx page of your web site.
    7. Right click on the default.aspx page and choose "View In Browser" from the context menu.
    8. You know the rest...
    Share
    • Posted by admin
    • 08 November 2009
    • Blog

    Introduction

    Windows SharePoint Services 3.0 (WSS) is Microsoft’s fastest and largest growing server application. As a development environment, WSS has been defined as an ecosystem that operates by enabling development partners the ability to build and design new methods of enhancing the features and establishing third party integrations all into one solid and secure environment.
    By adopting the SharePoint environment, applications will continue to benefit from the technology enhancements and new features that are supported by Microsoft or any Microsoft partnered organization.

    Setting up a WSS Application

    • Central Administration
      • This is the source for all high level administration for the set up and maintenance of WSS applications and other important functions including site backup and restore
      • Application Management
      • Operations

    Create New Web Application

    • Authentication Provider
      • Kerberos
        • The most secure server authentication support by Active Directory
        • Require a lot more configuration and is much more complicated to setup
      • NTLM (NT LAN Manager)
        • Easy to set up, virtually no configuration required
        • Secure, but not as secure as Kerberos

    The difference is… When using Kerberos, any server component that the user invokes enjoys full network access

    • Setup the content database
      • WSS ships with a version of SQL Server Embedded Edition (SSEE). Therefore, no SQL Server license is required
      • You can create the content database with an external data catalog, but you need to choose collation LATIN1_General_CI_AS_KS_WS
    • Select a template
    • Set a quota
    • Create a site collection and reset iis

    WSS Application Out-of-the-box

    Depending on the type of site template being used, features will be available right away

    • Announcements
    • Calendar
    • Document Library
    • Workflows
    • Content Versioning
    • Many more… www.codeplex.com has a bunch of downloads and add-ons for templates as well

    Site Actions

    • Site Settings
      • Zone for site collection configuration
      • Main activities
        • People and Groups
        • Site Theme
        • Web Parts
    • Create
      • Create new pages or add features to the current page
      • Libraries, Communications, Tracking, Custom Lists, Web Pages

    Customize Web Applications

    • Customization Tools
      • SharePoint Designer
        • Customize pages and modify masterpages
      • Visual Studio 2005, 2008
        • Build customized Web Parts
        • STSDEV
          • Utility designed to quickly transform your ideas into real-world components that you can deploy into a staging or production Web. http://www.codeplex.com/stsdev

    Preferred Development Environment

    Unfortunately, to take advantage of the dev tools available such as STSDEV, it is required to run development on the WSS machine.

    Debugging is available but configuration is necessary.

    • Start Remote Debugging
    • Attach to Process (ctrl + p)
    Share
    • Posted by admin
    • 20 July 2009
    • Blog

    Deciding to Get Started

    So you have decided to entertain the concept of developing a published CMS (Content Management Systems) website built on the SharePoint technology, and perhaps you are unsure of any pros and cons with the technology or need a good solid place to begin research. If you are just starting with the SharePoint development you do have a long road to travel and the road can very rough at based on a direction that has been chosen. I have been primarily developing in SharePoint for 2 years now and have fought hard for the toolbox library of custom web parts that I have today, but with every step forward more opportunity and understanding of the true power of SharePoint framework, especially using the framework for customized or template CMS websites.

    Hearing Mike Fitzmaurice

    I was at the 2009 SharePoint Summit in Montreal and had the amazing opportunity to listing to Mike Fitzmaurice – Nintex, present a talk on "The Evolving Market around SharePoint Products and Technologies". Within first slide, he had made a statement that completely summed up the SharePoint framework for me and really started to make me think about using the product differently and to that effect, appropriately. The statement was very simple and stated that "SharePoint is an Ecosystem". This statement turned me around because instead of thinking "what is SharePoint going to do for me?" I started thinking "How can I start developing my own ecosystem on top of the SharePoint engine?" And that leaves me where I am today. I have now been building various websites within SharePoint and have a collection of valuable customized web parts that I can deploy and reuse and SharePoint site. Throughout the course of this development blog I will be releasing concepts that represent different tools in our web part library to help make any readers understand the approach and begin using these tools within their development.

    Planning and Understanding

    Beginning a SharePoint site of any size takes a large amount of understand of the SharePoint hierarchy of sites, sub-sites, content types, folders and list items. Understanding the appropriate approach with this hierarchy and assigning the appropriate relations and metadata, your development cycle will completely benefit from. Take the time to plan and understand the requirements in relation to the SharePoint core functionality.

    Other Links for Blogs

    There are a lot of really good articles and blog postings out and from time to time I intend to share links to related topics that helped improve our understanding when developing parts for SharePoint. Being as this is the initial blog post, I will quickly share our recent links to help any up and coming SharePoint developers get started. ENJOY!!

    Kyle Pearn,
    akira systems

    Share
© 2009-2011 Akira Systems. Website powered by www.akirasystems.com