Posts tonen met het label Moss 2007. Alle posts tonen
Posts tonen met het label Moss 2007. Alle posts tonen

vrijdag 19 maart 2010

How to : Encrypt / Decrypt sharepoint web.config file

When using security information in your config file. It's recommended to encrypt that part of the config file. Below you will find the steps how to configure sharepoint to use the encrypted web.config.


1) Add the next config part just under the config section of the web.config.



2) Encrypt the certain part of the config file.

aspnet_regIIS -pef "Section" "path"

3) Create an leycontainer.

aspnet_regIIS -pc "KeyContainerName" -exp

4) Add Application Pool user to the security of the key container.

aspnet_regiis -pa "KeyContainerName" "Application Pool User"


See also : Walkthrough: Creating and Exporting an RSA Key Container

maandag 22 juni 2009

Important information on Service Pack 2

When you have installed SP2 read the following important information.
 
 

Value Origin Site Definition

STS#0 Team Site WSS
STS#1 Blank Site WSS
STS#2 Document Workspace WSS
MPS#0 Basic Meeting Workspace WSS
MPS#1 Blank Meeting Workspace WSS
MPS#2 Decision Meeting Workspace WSS
MPS#3 Social Meeting Workspace WSS
MPS#4 Multipage Meeting Workspace WSS
WIKI#0 Wiki WSS
BLOG#0 Blog WSS
BAS#0 Business Activity Services Team Site MOSS
SPS#0 SharePoint Portal Server Site MOSS
SPSPERS#0 SharePoint Portal Server Personal Space MOSS
SPSMSITE#0 SharePoint Portal Server My Site MOSS
SPSTOC#0 Contents area Template MOSS
SPSTOPIC#0 Topic area template MOSS
SPSNEWS#0 News area template MOSS
SPSNHOME#0 News Home area template MOSS
SPSSITES#0 Site Directory area template MOSS
SPSBWEB#0 SharePoint Portal Server BucketWeb Template MOSS
SPSCOMMU#0 Community area template MOSS
_GLOBAL_#1 sitetemplate <- Can’t use this one! Just so you know it exists. MOSS

dinsdag 31 maart 2009

Sharepoint Feature: Variantion Flags Feature

Out of the box there is a control which displays the Variations you have specified. These variations are displayed in a dropdown list. On 90 % of the sites on internet the languages (variations) are displayed as Flags.

So I started a search on the internet to a web part which will display the language as flags.
I thought that I wouldn’t be the first who wanted this in his SharePoint application.
Put after a long search. I couldn’t find any web part. So I decided to develop it my self.


Out of the box variation feature


This variations feature

donderdag 29 januari 2009

Workaround : Ajax and publishing pages.

When you have configured SharePoint for use with AJAX you will see , when you deploy an AJAX web part and put this on a pages, that when running this page the web part will fire the events but not will render de web part.

The work around for this “bug” is to move the
<WebPartPages:SPWebPartManager ID="SPWebPartManager1" runat="server"/> just below the
scriptmanager tag in side the form tag.

Original:
<WebPartPages:SPWebPartManager ID="SPWebPartManager1" runat="server"/>
<form runat="server" onsubmit="return _spFormOnSubmitWrapper();">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>

Change it to:

<form runat="server" onsubmit="return _spFormOnSubmitWrapper();">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<WebPartPages:SPWebPartManager ID="SPWebPartManager1" runat="server"/>

Then you will se the web part will be rendered after fire ring an event.

dinsdag 18 november 2008

Sharepoint: ListTemplateId

If you want to add a Event Handler Assembly to a specific list in Sharepoint with a Feature you have to pass a ListTemplateId.


List Types with there ID

  • Genericlist -> 100
  • DocumentLibrary ->101
  • Survey -> 102
  • Links ->103
  • Announcements ->104
  • Contacts ->105
  • Events ->106
  • Tasks ->107
  • DiscussionBoard ->108
  • PictureLibrary ->109
  • DataSources ->110
  • WebTemplateCatalog ->111
  • UserInformation ->112
  • WebPartCatalog ->113
  • ListTemplateCatalog ->114
  • XMLForm ->115
  • MasterPageCatalog ->116
  • NoCodeWorkflows ->117
  • WorkflowProcess ->118
  • WebPageLibrary ->119
  • CustomGrid ->120
  • DataConnectionLibrary ->130
  • WorkflowHistory ->140
  • GanttTasks ->150
  • Meetings ->200
  • Agenda ->201
  • MeetingUser ->202
  • Decision ->204
  • MeetingObjective ->207
  • TextBox ->210
  • ThingsToBring ->211
  • HomePageLibrary ->212
  • Posts ->301
  • Comments ->302
  • Categories ->303
  • IssueTracking ->1100
  • AdminTasks ->1200