Monday, March 21, 2011

Add an assembly to your Visual Studio 2010 SharePoint Package

If you are familiar with WSP-builder for development with SharePoint 2007, the way of adding assemblies to your SharePoint 2010 project is a little different. You always start with an empty SharePoint project. From here you can add other items. In WSP-builder you had the bin and GAC folder in Visual Studio.


To add an assembly to your Visual Studio 2010 SharePoint Package (SharePoint 2010)

1.Open you Package.package file.
2.On the bottom of the window you can choose: Design | Advanced | Manifest
3.Choose Advanced




You can choose for an existing assembly or the output assembly of your project.

















You can deploy the assembly to the GAC (C:\Windows\Assembly - The Global Assembly Cache, full trusted) or the WebApplication (actually the Bin Folder of your WebApplication in your InetPub folder of your WebServer).

Monday, September 6, 2010

Sharepoint 2010 Key Features

New User Interface including new Ribbon
Web Edit
Silverlight Web Part
Rich Theming
Multiple Browser Support
Visio Services
SharePoint Designer
Business Connectivity Services (the evolution of the Business Data Catalog)
SharePoint Workspace
Rich Media Support
Central Administration

Sunday, May 3, 2009

Sharepoint Customization using java script

We have a list, but we want to hide some of the fields from being displayed in the edit or new item screens. By default when you create a list and add columns, you can hide columns via custom views, but when you create or edit an item you get the lot, whether you like it or not.
Here is the WorkAround :
function getTagFromIdentifierAndTitle(tagName, identifier, title)
{
var len = identifier.length;
var tags = document.getElementsByTagName(tagName);
for (var i=0; i < tags.length; i++)
{
var tempString = tags[i].id;
if (tags[i].title == title && (identifier == "" tempString.indexOf(identifier) == tempString.length - len))
{
return tags[i];
}
}
return null;
}

(script language="javascript" type="text/javascript")
_spBodyOnLoadFunctionNames.push("hideFields");
function hideFields()
{
var control = getTagFromIdentifierAndTitle("Input","TextField","Serial Number");
control.parentNode.parentNode.parentNode.style.display="none";
}
(/script)

Tuesday, April 28, 2009

WSS 3.0 Vs MOSS 2007

Microsoft Office SharePoint Server 2007
Microsoft Office SharePoint Server 2007 is a collaborative enterprise portal that is built upon WSS 3.0. MOSS 2007 allows people, teams and expertise to connect and collaborate. Unlike WSS, SharePoint Server is not free and requires an additional license. MOSS 2007 comes in two versions – Standard and Enterprise.
The main components of SharePoint 2007 are collaboration, portals, enterprise search, enterprise content management, business process and forms, and business intelligence. Previous versions of SharePoint Server included SharePoint Portal Server 2003 and before that SharePoint Portal Server 2001. To preview SharePoint’s new features visit the Microsoft Office
SharePoint Server 2007 demo.
Windows SharePoint Services 3.0
Windows SharePoint Services 3.0 is the platform on which all SharePoint Products and Technologies are built. WSS 3.0 is for is suitable for small teams, projects and organizations.
WSS’s project collaboration, document workspace, meeting sub-site, and discussion board features allow individuals and small teams to collaborate and share information online. Past versions of Windows SharePoint Services included Windows SharePoint Services 2.0 and SharePoint Team Services. New features in WSS 3.0 include integrated workflows, RSS feeds, blogs, wikis and ASP-style Web parts. To preview more of WSS 3.0’s new features visit the Microsoft
Windows SharePoint Services 3.0 demo.