Senthamil's profileSenthamilPhotosBlogNetwork Tools Help

Senthamil

SharePoint Architect

Senthamil

Occupation
Location
Interests
I think a lot. I eat, sleep, breathe Microsoft
December 31

Create Dialog Box in SharePoint 2010 Pages

SharePoint 2010 has fluent User Interface which allows user to navigate easily. Also Fluent interface avoids post back in the web pages. It has a consistent UI framework to navigate between the pages and toolbars. One of the enhancement which SharePoint 2010 provides is the dialog box. Dialog box are widely used in windows application initially. The SharePoint 2010 dialog boxes also has the callback delegates. Based on the user action the callback function can be fired.

Creating dialog box in SharePoint pages

1. Use the Visual Studio to create a SharePoint Application Page

2. SharePoint 2010 has a js object model built in with it. TEMPLATE\LAYOUTS\SP.js file is the key for all the js api.

3. The js object model consist of a function called Create_DialogOptions. This function is used to create a dialog box

Ex:

function OpenDialog()
{
    var options = SP.UI.$create_DialogOptions();
    options.url = "/_layouts/MyPage.aspx";
    options.width = 300;
    options.height = 300;
    options.dialogReturnvalueCallback = Function.createDelegate(null,MyCallBack);
    SP.UI.ModalDialog.showModalDialog(options);
}

function MyCallBack(result,target)
{
    alert("Dialog dismissed");
}

the url property of the dialog options can be any page which shows the content. It can be even a html page which just displays the content.

December 28

Pandora – Avatar 2009

Pandora is one of the moon orbits around the Polyphemus planet of the Alpha Centauri. Polyphemus planet orbits around Alpha Centauri or Alpha Centauri A (ACA) It is 4.4 light years away from our solar system. Pandora is a lush rain forest like in earth.

Shows the distance between the solar system and the Alpha Centauri This shows the Polyphemus moon and the Pandora orbit Polyphemus planet which is a gas giant where human cannot breathe. Its a size of saturn
image image image
Pandora is inhabited by lush rain forest and tropical climate with various unique animals Pandora at night. Every living organism in pandora has bio luminescence Pandora has a large magnetic activity within itself. It has a greater amount of Unobtainium material
image image image

 

Fauna in Pandora

Common Name:Prolemuris
Navi Name:-
Common Name:DireHorse
Navi Name:Pa’li
Common Name:Banshee
Navi Name:Ikran
 
imageimage imageimage image
image
 
Common Name:Hexapede
Navi Name
:Yerik
Common Name:Viperwolf
Navi Name
:Nantang
Common Name:Hammerhead Titanothere
Navi Name
:Angtsìk
 
image image  image  
Common Name:Great Leonopteryx
Navi Name:Toruk
Common Name:Thanator
Navi Name:Palulukan
   
imageimage Thanatorimage    

 

NaVi

Habitat: Pandora lush rainforest
Race: Indigenous Humanoid Race
Physical Structure: 9 feet Tall, Blue skin, Long Tail, Two legged. Skeletal structure composed of Carbon Fibre
Communication: They have long hair where hidden in each lock consists a nerve cord and open ended neurotransmition system.
Social Behavior: Navi live in groups called Clan (Omaticaya), the clan may contain matriack. Male leads the clan and female acts like Shaman

Clan Order

  1. Eytucan : Omaticaya Clan Leader
  2. Mo'at : Omaticaya Shaman (wife of Eytucan)
  3. Neytiri : Omaticaya Princess (Daughter of Eytucan and Mo'at)
  4. Tsu'Tey : Chieftainship of the clan
imageimage image image image
December 24

How to create Win 7 Themes

Creating themes in Windows 7 is much easier. Earlier version of windows don't have this options. We can even export the theme and send to other people for sharing. In this blog i will explain first how to create a theme from Win 7 and later will explain how to share with other people.

Part – 1: How to create Theme in windows 7

Creating theme in Windows 7 is nothing but personalization of existing theme and save it with full name. Then later can export the theme to share with the people. To do that first go to the Desktop. Right click on the desktop and select “Personalize”. The Personalization window will appear to customize the theme. If any changes made to any of the existing theme(like changing wallpaper, transparency color, screen saver etc..) then Unsaved Theme will be selected and will appear as the first item. If nothing is customized will have default theme selected.

image

Under My Themes there are many themes installed. These are external themes i downloaded and installed it. I have made few modification in the screens so Unsaved Theme is present in the My Themes.

Initially when a Windows 7 is installed the default Win7 Theme will be selected as shown in the below screen

image

Now we will start creating the New Theme using the existing Win 7 Theme selected.

To create a new theme of our own we need to first select the existing theme. Modify the changes you want to do to the existing theme by changing the color, Wallpaper, screen saver etc. In my scenario i am going to change the Window Back color first. So click on the Window Color in the personalization page and a Windows Color Screen will appear. Select the desired color you want and save changes. I have selected Green and the color changes to Lime in the personalization window.

image

Now select the Desktop Background in the Personalization page, this will bring a wallpaper page. Browse the custom folder or select the wallpaper settings. Also you can select the Slideshow time picture settings etc and save the changes. Here in my window i selected Nature picture and opt not to use slideshow.

image

Now select the screensaver option from the Personalization page. Select the screensaver and save changes.

After doing all those changes now you can see Unsaved Theme in the My Themes Section of the Personalization page.

image

Now done!!! you new theme is ready almost. Now Right Click on the Unsaved Theme and select Save Theme. Enter a name and will be saved.

image

image

Now the theme creation is done. You can now share with anyone.

Part – 2 Sharing the Theme

Right click on the Renamed Theme and select Save Theme For Sharing menu, and provide the path to save the theme.

image

Then now the theme can be shared with anyone

December 21

SharePoint 2007 Limitations

 

Thanks to Mark Harrison i have used his guidelines for the SharePoint limitations. I am just publishing his content again here in my blog for my reference.

  • Site collections (Database scope) 50,000  Total throughput degrades as the number of site collections increases.
  • Web sites (Web site scope) 2,000  The interface for enumerating sub sites of a given Web site does not perform well much
    beyond 2,000 sub sites.
  • Web sites (Site collection) 250,000 - You can create a very large total number of Web sites by nesting the sub sites. 
  • Documents (Folder scope) 2,000  The interfaces for enumerating documents in a folder do not perform well beyond a thousand entries.
  • Documents (Library scope) 2 million  You can create very large document libraries by nesting folders.
  • Security principals (Web site scope) 2,000  The size of the access control list is limited to a few thousand security principals, in other words users and groups in the Web site.
  • Users ( Web site scope) 2 million  You can add millions of people to your Web site by using Microsoft Windows security groups to manage security instead of using individual users.
  • Items (List scope) 2,000  The interface for enumerating list items does not perform well beyond a few thousand items.
  • Web Parts (Page scope) 100 Pages with more than 100 Web Parts are slow to render.
  • Web Part personalization (Page scope) 10,000 Pages with more than a few thousand user personalization are slow to render.
  • Lists (Web site scope) 2,000 The interface for enumerating lists and libraries in a Web site does not perform well beyond a few thousand entries.
  • Document size (File scope) 50 MB The file save performance degrades as the file size grows. The default maximum is 50 MB. This maximum is enforced by the system, but you can change it to any value up to 2 GB (2047 MB) if you have applied Windows SharePoint Services Service Pack 1.
  • November 21

    Install SharePoint 2010 Local Account

    Only standalone server type installation can be installed with the Local Account for the SharePoint 2010. To install the SharePoint 2010 in single server type with local account follow the below step.

    Once the Single server installation is complete launch the SharePoint 2010 Management Shell

    image

    When the PS is launched. Type New-SPConfigurationDatabase and press enter This command will take several parameters like

    DatabaseName

    DatabaseServer

    Once the database server is entered the user name and password windows will popup for the username and password, use localmachinename\username for the user id.

    image

    Once the config database is created run the psconfigUI command. This will bring up the usual configuration windows. Select do not disconnect the farm and press next to finish the installation

     
    Photo 1 of 23