Monday, December 31, 2007
Security for Web part connections
Monday, December 24, 2007
Disable Right Click in SharePoint Site
Creating custom links in the Quick Launch bar
3. To create a new Heading, click on the New Heading link which will open the following page,
4. To create a new link, click on the New Link and add the new link with the group header for the link
5. The new link is now created under the Heading Yahoo and the link is now visible in the Quick Launch bar
WhitePaper for SQL Storage and Performance for SharePoint
Saturday, December 22, 2007
Workflow Permissions in SharePoint 2007
Workflows running under administrator privileges enable users who are not administrators to elevate their own privileges by running a workflow to perform actions they ordinarily could not. This setting cannot be changed, it is up to the workflow to detect user actions and decide whether or not to continue or rollback changes or impersonate a user to mimic their permissions.
When associating a workflow, the Start Options, allow users to manually start a workflow with edit permissions which is enabled by default. This means that any authenticated Windows SharePoint Services user with edit permissions on the list can start an instance of this workflow association. If the administrator checks the “Require Manage List Permissions to start the workflow”, then only the list administrators can start an instance of the workflow’s association. Administrators can use restrict users enabling user defined workflows associated to the site. This option is available in the Central Administration.
The enable user-defined workflows for this site option in the workflow settings of the application management of Central Administration, will enable custom workflows to be associated with the particular site. This option is enabled by default. Settings for alert notifications can also be changed for alert notifications need to be sent or not for internal users who do not have site access when they are assigned a workflow task, and also for sending alert notifications to external users to participate in workflow by sending them a copy of the document.
Friday, December 21, 2007
Programmatically retrieving Site Usage in SharePoint 2007
Alternatively site usage reports can also be viewed from the site settings menu. However this option is available when it is enabled from the Central Administration's Usage Analysis Logging. The log file is located by default in the 12 hive of SharePoint in the LOGS folder. However there is an option available in central administration to change the logging path.
Thursday, December 20, 2007
Summary Link Web Part
- Advanced Search
- Intranet Home
- News home
- People search results page
- Search page
- Search results
- Site directory home
- Welcome page with Table of contents
The summary link webpart can be configured to contain styles, headers, and groups. The links provided in this webpart can also contain images.
Wednesday, December 19, 2007
Activating Intellisense for CAML
Create a new text file and name it as CAML.xml and add the following code,
Save the CAML.xml in the following path, C:\Program Files\Microsoft Visual Studio 8\XML\Schemas\CAML.xml
Shutdown and restart Visual Studio, intellisense will begin to work that rely on the following schema of CAML, http://schemas.microsoft.com/sharepoint/namespace
Intellisense can be enabled for any schema in a similar method, however visual studio will only detect the schema, only when after restarting the same as visual studio examines the xml files in the directory at startup to determine which xml schema to be loaded to drive intellisense.
CAML
Site Customization using CAML
CAML can be used in various ways to customize a SharePoint site, including the following,
- In script or code that implements members of the Windows SharePoint Services object model, where CAML strings are passed through method parameters, assigned to properties, or returned by methods and properties
- In SOAP messaging that passes CAML strings to a Windows SharePoint Services Web service to interact remotely with a deployment
- In front-end site definitions used to instantiate SharePoint sites
- In Features to add specific functionality within a particular scope
Monday, December 17, 2007
SharePoint Errors
Error codes logged in the Event viewer
http://www.brienposey.com/kb/troubleshooting_sharepoint_errors.asp
Single SignOn Error codes and what they mean
http://blogs.msdn.com/harsh/archive/2007/03/21/single-signon-error-codes-and-what-they-mean.aspx
WebPart error
“A Web Part or Web Form Control on this Web Part Page cannot be displayed or imported because it is not registered on this site as safe”
http://www.bluedoglimited.com/SharePointThoughts/ViewPost.aspx?ID=189
To turn on Custom Errorhttp://www.andrewconnell.com/blog/archive/2007/02/01/5935.aspx
Thursday, December 13, 2007
Feature Element in Feature.xml
Some of the attributes that can be defined in a Feature Element are,
- ActivateOnDefault - This attribute when set to true states that the feature is activated by default during installation of the feature. This attribute is provided at the web application scope and does not work at the site collection or web level.
- AlwaysForceInstall - This attribute can be set to true if the feature is installed by force, even if the feature is installed already.
- AutoActivateInCentralAdmin - This attribute can be set to true if the feature is activated by default in Administrative Web site, site collection or central administration. This attribute does not apply to Farm Scoped features.
Though these attributes are optional they prove very useful at times.
Form Services Limitations
The controls that are not supported in Infopath Form Services are,
1.ActiveX control
2.Bulleted list control
3.Choice group
4.Choice section
5.Combo box
6.Horizontal repeating table
7.Horizontal region
8.Ink picture control
9.Master/detail control
10.Multiple-selection list box
11.Numbered list control
12.Picture control
13.Plain list control
14.Repeating choice group
15.Repeating recursive section
16.Scrolling region
17.Vertical label
The business logic features that are not supported in Infopath Form Services are,
1.Userroles
The security related features that are not supported in Form services are,
1.Restricted Security Level
2.Form Design Protection
3.Information Rights Management
The data connection features that are not supported in Infopath Form Servcies,
1.Query data from a Microsoft Office Access database
2.Submit data to a Microsoft Office Access Database
3.Submit data to a Microsoft SQL server database
The filling out forms features that are not supported by Infopath Form services,
1.Merge data from multiple forms
2.Export data to Microsoft Office Excel
3.Export data to Web
4.Ink support
5.Offline support
6.Spell checking
7.AutoSave, AutoRecover, or crash detection features
8.Custom task panes
9.Add-in menus
The view related features that are not supported in Infopath Form Services
1.Word print views
2.Multiple print views at once
3.Print Page breaks, headers or footers
The programming features that are not supported in Infopath Form services
1.Scripting
2.COM add-ins
Tuesday, December 11, 2007
WSS 3.0 and MOSS SP1 has been released
Windows SharePoint Services 3.0 Service Pack 1 (SP1)
2007 Microsoft Office Servers Service Pack 1 (SP1)
Microsoft's SharePoint Capacity Planning Tool Beta
You can get the tool from this Link
Monday, December 10, 2007
Change the Welcome Page in Publishing template of SharePoint
- Place your aspx page in the _layouts folder of the 12 hive of SharePoint
- Navigate to the Site Settings page from the Site Actions menu of your site
- Under the Look and feel section, click on the welcome page option
- Type the url of the custom welcome page in the _layouts folder
- Click ok
w3wp associated with your SharePoint application
- Open command prompt
- Navigate to C:\Windows\System32
- Type CScript iisapp.vbs
The iisapp.vbs is a vbscript file that lists all the worker processes along with their process ids running in the IIS
Reschedule or Change the interval of a SharePoint custom Timer Job
- Change the schedule interval in the custom code using the SPDailySchedule class of the SharePoint object model
- Build and deploy in the GAC.
- IISRESET
- Go to the command prompt and navigate to the 12 hive of SharePoint
- Uninstall the existing Timer feature, for example, stsadm.exe –o uninstallfeature –filename yourfeaturename\feature.xml
- Install the new Timer feature, for example, stsadm.exe –o installfeature –filename yourfeaturename\feature.xml
- Go to the windows services and restart the Windows SharePoint Services Timer
Unknown error during check in or check out
Try the following KB article, for a detailed study for the symptoms and the workaround.
http://kbalertz.com/556031/Unknown-Error-SharePoint.aspx
Monday, December 31, 2007
Security for Web part connections
Monday, December 24, 2007
Disable Right Click in SharePoint Site
Creating custom links in the Quick Launch bar
3. To create a new Heading, click on the New Heading link which will open the following page,
4. To create a new link, click on the New Link and add the new link with the group header for the link
5. The new link is now created under the Heading Yahoo and the link is now visible in the Quick Launch bar
WhitePaper for SQL Storage and Performance for SharePoint
Saturday, December 22, 2007
Workflow Permissions in SharePoint 2007
Workflows running under administrator privileges enable users who are not administrators to elevate their own privileges by running a workflow to perform actions they ordinarily could not. This setting cannot be changed, it is up to the workflow to detect user actions and decide whether or not to continue or rollback changes or impersonate a user to mimic their permissions.
When associating a workflow, the Start Options, allow users to manually start a workflow with edit permissions which is enabled by default. This means that any authenticated Windows SharePoint Services user with edit permissions on the list can start an instance of this workflow association. If the administrator checks the “Require Manage List Permissions to start the workflow”, then only the list administrators can start an instance of the workflow’s association. Administrators can use restrict users enabling user defined workflows associated to the site. This option is available in the Central Administration.
The enable user-defined workflows for this site option in the workflow settings of the application management of Central Administration, will enable custom workflows to be associated with the particular site. This option is enabled by default. Settings for alert notifications can also be changed for alert notifications need to be sent or not for internal users who do not have site access when they are assigned a workflow task, and also for sending alert notifications to external users to participate in workflow by sending them a copy of the document.
Friday, December 21, 2007
Programmatically retrieving Site Usage in SharePoint 2007
Alternatively site usage reports can also be viewed from the site settings menu. However this option is available when it is enabled from the Central Administration's Usage Analysis Logging. The log file is located by default in the 12 hive of SharePoint in the LOGS folder. However there is an option available in central administration to change the logging path.
Thursday, December 20, 2007
Summary Link Web Part
- Advanced Search
- Intranet Home
- News home
- People search results page
- Search page
- Search results
- Site directory home
- Welcome page with Table of contents
The summary link webpart can be configured to contain styles, headers, and groups. The links provided in this webpart can also contain images.
Wednesday, December 19, 2007
Activating Intellisense for CAML
Create a new text file and name it as CAML.xml and add the following code,
Save the CAML.xml in the following path, C:\Program Files\Microsoft Visual Studio 8\XML\Schemas\CAML.xml
Shutdown and restart Visual Studio, intellisense will begin to work that rely on the following schema of CAML, http://schemas.microsoft.com/sharepoint/namespace
Intellisense can be enabled for any schema in a similar method, however visual studio will only detect the schema, only when after restarting the same as visual studio examines the xml files in the directory at startup to determine which xml schema to be loaded to drive intellisense.
CAML
Site Customization using CAML
CAML can be used in various ways to customize a SharePoint site, including the following,
- In script or code that implements members of the Windows SharePoint Services object model, where CAML strings are passed through method parameters, assigned to properties, or returned by methods and properties
- In SOAP messaging that passes CAML strings to a Windows SharePoint Services Web service to interact remotely with a deployment
- In front-end site definitions used to instantiate SharePoint sites
- In Features to add specific functionality within a particular scope
Monday, December 17, 2007
SharePoint Errors
Error codes logged in the Event viewer
http://www.brienposey.com/kb/troubleshooting_sharepoint_errors.asp
Single SignOn Error codes and what they mean
http://blogs.msdn.com/harsh/archive/2007/03/21/single-signon-error-codes-and-what-they-mean.aspx
WebPart error
“A Web Part or Web Form Control on this Web Part Page cannot be displayed or imported because it is not registered on this site as safe”
http://www.bluedoglimited.com/SharePointThoughts/ViewPost.aspx?ID=189
To turn on Custom Errorhttp://www.andrewconnell.com/blog/archive/2007/02/01/5935.aspx
Thursday, December 13, 2007
Feature Element in Feature.xml
Some of the attributes that can be defined in a Feature Element are,
- ActivateOnDefault - This attribute when set to true states that the feature is activated by default during installation of the feature. This attribute is provided at the web application scope and does not work at the site collection or web level.
- AlwaysForceInstall - This attribute can be set to true if the feature is installed by force, even if the feature is installed already.
- AutoActivateInCentralAdmin - This attribute can be set to true if the feature is activated by default in Administrative Web site, site collection or central administration. This attribute does not apply to Farm Scoped features.
Though these attributes are optional they prove very useful at times.
Form Services Limitations
The controls that are not supported in Infopath Form Services are,
1.ActiveX control
2.Bulleted list control
3.Choice group
4.Choice section
5.Combo box
6.Horizontal repeating table
7.Horizontal region
8.Ink picture control
9.Master/detail control
10.Multiple-selection list box
11.Numbered list control
12.Picture control
13.Plain list control
14.Repeating choice group
15.Repeating recursive section
16.Scrolling region
17.Vertical label
The business logic features that are not supported in Infopath Form Services are,
1.Userroles
The security related features that are not supported in Form services are,
1.Restricted Security Level
2.Form Design Protection
3.Information Rights Management
The data connection features that are not supported in Infopath Form Servcies,
1.Query data from a Microsoft Office Access database
2.Submit data to a Microsoft Office Access Database
3.Submit data to a Microsoft SQL server database
The filling out forms features that are not supported by Infopath Form services,
1.Merge data from multiple forms
2.Export data to Microsoft Office Excel
3.Export data to Web
4.Ink support
5.Offline support
6.Spell checking
7.AutoSave, AutoRecover, or crash detection features
8.Custom task panes
9.Add-in menus
The view related features that are not supported in Infopath Form Services
1.Word print views
2.Multiple print views at once
3.Print Page breaks, headers or footers
The programming features that are not supported in Infopath Form services
1.Scripting
2.COM add-ins
Tuesday, December 11, 2007
WSS 3.0 and MOSS SP1 has been released
Windows SharePoint Services 3.0 Service Pack 1 (SP1)
2007 Microsoft Office Servers Service Pack 1 (SP1)
Microsoft's SharePoint Capacity Planning Tool Beta
You can get the tool from this Link
Monday, December 10, 2007
Change the Welcome Page in Publishing template of SharePoint
- Place your aspx page in the _layouts folder of the 12 hive of SharePoint
- Navigate to the Site Settings page from the Site Actions menu of your site
- Under the Look and feel section, click on the welcome page option
- Type the url of the custom welcome page in the _layouts folder
- Click ok
w3wp associated with your SharePoint application
- Open command prompt
- Navigate to C:\Windows\System32
- Type CScript iisapp.vbs
The iisapp.vbs is a vbscript file that lists all the worker processes along with their process ids running in the IIS
Reschedule or Change the interval of a SharePoint custom Timer Job
- Change the schedule interval in the custom code using the SPDailySchedule class of the SharePoint object model
- Build and deploy in the GAC.
- IISRESET
- Go to the command prompt and navigate to the 12 hive of SharePoint
- Uninstall the existing Timer feature, for example, stsadm.exe –o uninstallfeature –filename yourfeaturename\feature.xml
- Install the new Timer feature, for example, stsadm.exe –o installfeature –filename yourfeaturename\feature.xml
- Go to the windows services and restart the Windows SharePoint Services Timer
Unknown error during check in or check out
Try the following KB article, for a detailed study for the symptoms and the workaround.
http://kbalertz.com/556031/Unknown-Error-SharePoint.aspx