• 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
    • 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
© 2009-2011 Akira Systems. Website powered by www.akirasystems.com