Microsoft SharePoint Development team has released the following screen casts for developers.
|
||||||
Microsoft SharePoint Development team has released the following screen casts for developers. If you are looking for free application template, which suites your business area, read this resource on TechNet. It has list of 40 Application templates grouped by the following business category.
Create Resource file using Visual Studio IDE
Copy the resource file into 12 hive resource folder
GetLocalized method from SPUtility to read the values from resource file Syntax: SPUtility.GetLocalizedString(“$Resources:<<ResourceFileName,ResourceKeyName>>”, “<<ResourceFileName>>”, lang); Example: SPUtility.GetLocalizedString(“$Resources:MyResources,FirstName”, “MyResources”, lang);
Sample Source: using System; using System.Runtime.InteropServices; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Serialization;
using Microsoft.SharePoint; using Microsoft.SharePoint.WebControls; using Microsoft.SharePoint.WebPartPages; using Microsoft.SharePoint.Utilities;
namespace ResourceFile { [Guid(“fc643df7-8836-41bf-913f-662ed57e659a”)]
{
{ }
{
FirstName = SPUtility.GetLocalizedString(“$Resources:MyResources,FirstName”, “MyResources”, lang); LastName = SPUtility.GetLocalizedString(“$Resources:MyResources,LastName”, “MyResources”, lang); }
{ writer.Write(“Value of First Name from Resource File : “ + FirstName); writer.Write(“Value of Last Name from Resource File : “ + LastName); } } }
The Technet resource on SharePoint 2010 Topologies model explains the following:
Download here for SharePoint 2010 Topologies Model from Technet
If you encounter the error “The trial period for this product has expired” after upgrading the license from trial to standard/enterprise edition in sharepoint.
Change your app pool account from “Network Service” to Domain account.
By Default the document information panel will not be enabled in document library. Go to Library Settings
Click Advanced Settings
Enable allow management of content types in Advanced Settings.
Click the Document Content Type and click on Document Information Panel settings.
Check show always option to enable document information panel.
Item Updating or Item Updated Event in SharePoint 2007 occurs twice, if require checkout option is enabled for document library. I found the following workaround from Microsoft Support for this issue.
Check the value of vti_sourcecontrolcheckedoutby
if (properties.AfterProperties[“vti_sourcecontrolcheckedoutby”] == null && properties.BeforeProperties[“vti_sourcecontrolcheckedoutby”] != null) { //This is when the update event is triggered by check-in. } else { //This is triggered by events other than check-in action. } To find the installed version of SharePoint in system, Browse to Central Administration -> Operations -> Servers in Farm [Topology and Services]
Version information will be displayed for each and every server. Permission Level for the user or group can be modified to restrict the user to edit in SharePoint designer. Site Settings -> Advanced Permissions
Click Advanced Permissions, Select Settings -> Permission Levels
You can add/edit existing permission level. Uncheck Browse Directories Permission level.
Create New WebPart Page. In Edit Mode, Click add WebPart then select RSS Viewer WebPart from gallery.
Click Modify Shared WebPart to change to Edit mode of WebPart, then specify the RSS URL. |
||||||
Copyright © 2024 MSTechBlogs - All Rights Reserved Powered by WordPress & Atahualpa |