About Me

My photo
Muthupet, TamilNadu, India
SharePoint 2010

Tuesday, September 11, 2012

SharePoint Server Template Values

100 Generic list
101 Document library
102 Survey
103 Links list
104 Announcements list
105 Contacts list
106 Events list
107 Tasks list
108 Discussion board
109 Picture library
110 Data sources
111 Site template gallery
112 User Information list
113 Web Part gallery
114 List template gallery
115 XML Form library
116 Master pages gallery
117 No-Code Workflows
118 Custom Workflow Process
119 Wiki Page library
120 Custom grid for a list
130 Data Connection library
140 Workflow History
150 Gantt Tasks list
200 Meeting Series list
201 Meeting Agenda list
202 Meeting Attendees list
204 Meeting Decisions list
207 Meeting Objectives list
210 Meeting text box
211 Meeting Things To Bring list
212 Meeting Workspace Pages list
300 Portal Sites list
301 Blog Posts list
302 Blog Comments list
303 Blog Categories list
850 Page Library
1100 Issue tracking
1200 Administrator tasks list
2002 Personal document library
2003 Private document library

Thursday, July 26, 2012

javascript popup window when button click

login.ascx

<asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" OnClientClick="javascript:return test(this);" />

------------------------------------------------------------

script language="javascript" type="text/javascript">
function test(obj)
{
var item = obj.id;
item = item.replace("imgedit", "hdn");
var itemid = document.getElementById(item).value;
var options = {
url:"/_Layouts/SharePointProject2/ApplicationPage1.aspx?Itemsvalue=" + itemid,
width: 600,
height: 400,
showClose:true,
title:"Edit Notes"
};
SP.UI.ModalDialog.showModalDialog(options);
return false;
}
</script>

 

Thursday, July 19, 2012

Create SharePoint 2010 Content Organizer


Site Setting à Site ActionsàManage Site Feature
ActivateàContent Organizer.
Before Active Quick Lunch











After Activate Content Organizer

                                                                    










Create Content Type for Document Library name with mydoclb, add one more column department  (choice), like HR, IT.
Create Document Library in More Option HR DOC, IT DOC Then allow content type is Documents mydoclb
Drop Off Library allow content type mydoclb
Then go for Content Organizer rules, set the doc through the Content.

Saturday, July 14, 2012

Language pack Installation in SharePoint 2010 for Windows 7

1. Choose Your Language pack from here
http://www.microsoft.com/en-us/download/details.aspx?id=3411

2.Download the file to your Local Drive

3.Open Command prompt and Extract the language pack
D:\languagepack>serverlanguagepake.exe/extract:D:\languagepack

4.Goto languagepack folder
   Select--->file--->setup--->config.xml--->open with notepad

5.Add inside <configuration>
<Setting ID="AllowWindowsClientInstall" Value="True"/>

6.Save and close the config.xml

7.Goto languagepack folder and run the setup file and Configuration vizard.

8.Come to your sharepoint site
   Regional Setting Under the Language Setting select the language

9.

10.Follow the Link:
http://www.hezser.de/blog/archive/2009/12/08/install-sharepoint-2010-language-pack-on-windows-7.aspx

   

Saturday, June 2, 2012

SharePoint Interview Question

Question: -What is SharePoint?
Answer: – SharePoint 2010 is a platform where user can share Data, Collaborate
and people can also take this platform and customized platform as per their
requirements.
Question: – What are the two different products in SharePoint 2010?
Answer: – SharePoint 2010 has basically two different products namely SharePoint
Foundation 2010 and SharePoint Server 2010.
SharePoint Foundation 2010 is basically a free version.
SharePoint Server 2010 is basically a paid version.
Question: -How to create a simple Website in SharePoint 2010?
Answer: – In order to create a Website in SharePoint 2010, we need to use
SharePoint 2010 Central Administration tool. As soon as you click on SharePoint
2010 Central Administration tool it will ask for credential do put your
credential and you will directed to the SharePoint 2010 Central Administration
screen. Now from the Application Management screen click on Manage web
applications, as soon as you click on Manage web applications a new window will
open, now from the top most left of the screen click on New menu, again a new
window will pop-up of Create New Web Application which enables you to create new
web application.
Question: – How to create Users and Allocates permissions to the Users?
Answer: -Permission management is a three steps process as follows.
Step1: -Create Users.
Step2: – Create Permissions.
Step3: – Link the Users with the Permissions.
In order to create a User’s and Allocate permissions Click on Site Actions
located on the top link bar and then click on Site Permissions.Now, under the
Edit tab, click on Grant Permissions. Later, In the Users/group field, enter the
user’s name, choose the permissions you wish the user to have under Give
Permission, and then click on OK.
Question: – How tocreate or deploy Web parts in SharePoint 2010?
Answer: -Web part: – It is a reusable functionality, which can be inserted on
the web pages and can be configured by the end users. In order to create a web
part, go to Visual Studio and create a new project > select SharePoint tab >
select Visual Web Part > select on which local web site you want to deploy the
web part > click on Validate and Click finish.
Now, in order to deploy the project just go to > Solution Explorer > select your
project > Right click on it > just select deploy.

Gird view (RowDataBound)

ascx(c#)


<table cellpadding="0" cellspacing="0">
    <tr>
        <td> Announcement Details
        </td>
    </tr>
    <tr>
        <td>
            <asp:GridView ID="grdAnnouncements" runat="server" AutoGenerateColumns="false"
                onrowdatabound="grdAnnouncements_RowDataBound">
                <Columns>
                    <asp:TemplateField>
                        <ItemTemplate>
                        <asp:HyperLink ID="lnkTitle" runat="server" Text='<%#Bind("Title") %>' NavigateUrl='<%#Bind("EncodedAbsUrl") %>' ></asp:HyperLink>
                <asp:Label ID="lblItemID" runat="server" Text='<%#Bind("ID") %>'></asp:Label>
                              <asp:Label ID="lblFileDirRef" runat="server" Text='<%#Bind("FileDirRef") %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderTemplate>
                            Title
                        </HeaderTemplate>
                    </asp:TemplateField>
                     <asp:TemplateField>
                        <ItemTemplate>
                            <asp:Label ID="lblTitle" runat="server" Text='<%#Bind("Body") %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderTemplate>
                            Body
                        </HeaderTemplate>
                    </asp:TemplateField>
           
                </Columns>
            </asp:GridView>
        </td>
    </tr>
</table>
<asp:Label ID="lblError" runat="server" ForeColor="Red"></asp:Label>