Setting default landing page through code in sharepoint

Usually when i want to set the page as home page i visit the page URL and open the top navigation bar by clicking the Page option and select the option Make Homepage.
There is also another way to set set the page as home page visit the Site Settings, Site Welcome Page, browse to the destined location select the page and click ok to set it as defalt welcome page or landing page of your site collection in sharepoint.
I wanted to set is through code, via the visual solution, publish the solution activate the feature and you are good to go. In your Visual Studio Solution you will find PropertyBags something like this.

Property bags
Property bags

Open the Elements.xml and add the following code and specify the landing page. Home.aspx in the below example.


Getting started with Sharepoint projects in Visual Studio

I had just installed a fresh copy of Visual Studio 2012 and i also installed the latest Update 4. I tried to open my Visual Studio solution in it. I gave me a message project type not supported message.

Project not supported

It tried creating a new sharepoint project but it was missing, which must usually visible like in the below image

Sharepoint project
Sharepoint project

What i found out is that we need to install Microsoft Office Developer Tools for Visual Studio. It is an add-in for Visual Studio that enables developers to create, build, debug, run and publish apps and solutions for Office and Sharepoint. The Web Platform Installer usually installs it for you.

You can download it from here or here is the direct link.

Once you are done downloading, double click to install the app and you will find the options to create sharepoint apps.

Steps to deploy website onto Sharepoint

  • Get the pure html Mark up, css/images/js files ready.
  • Login to the sharepoint designer 2013. Use the url .
  • Copy the UI styling files(css/images and js) in -> all files/style library folder.
  • Go to -> all files/_catalogs/masterpages. Two steps to create master pages one via Design Manager and second directly via Sharepoint Designer
  • Method 1 – Design Manager: convert html to master page
  1. Copy the html page in all files/_catalogs/masterpages folder
  2. Go to the sharepoint website -> settings -> Design Manager
  3. Select the option edit master pages -> convert html to sharepoint masterpage.
  4. It automatically converts the html and an additional master page with the same name and the extension .master is created in master page gallery. The html and .master files are associated with each other. Changes to html file override the .master file changes.
  5. To edit the html markup page you have to edit the html page and the changes will be synced to the master page automatically.
  • Method 2 – Sharepoint Designer: convert html to master page
  1. In Sharepoint Designer in the navigation select file -> New Master Page. This creates an empty master page eg: example1.master.
  2. Next you edit the example1.master and seattle.master. seattle is a bydefault master page that come with sharepoint. Copy paste the contents into example1.master.
  3. Refer Randy Drisgill sharepoint 2013 Starter Master Pages. And create a master page referring to the example provided on the site.
  • Now you can edit the master page and keep the common elements such as header and footer in the page and strip out rest of the mark up and paste it into Page layouts. Add the necessary css and js files in the head tag of the master page with their relevant URL pointing to style library folder.
  • To set the master page visit Site Settings -> Look and Feel -> Master Page -> . Here we can specify the site master page and system master page that you want to set.
  • Next you create different page layouts (similar to different html markup structures for different pages) and apply these page layouts to different pages.
  • First you need to create a page layout visit sharepoint website -> settings -> Design Manager -> Edit Page Layouts -> Create new page Layout.
  • These can be found in the master page gallery under all files/_catalogs/masterpages folder. Edit the page layout.
  • Copy the sliced mark up from html master page in to the page layout. Create different page layouts.

Click on settings add a page. It create a .aspx page with the provided name. Edit the page, in the second level top navigation click on Page Layout to select the intended page layout that you want to assign for the page.

Where is collaboration heading?

Co incidently the first blog that i ever published was on the same topics when i had begun the development of the Colayer product 3.0 known as  Davos. Two years down the line it has matured and out in the market used by people and still under going innovation even when i am no longer a part of the development team.

This post isn’t about Colayer Davos (Colayla) or Zevenseas (Attini) specifically for that matter. Its isn’t any sort of comparison between both of them, its about my perspective towards collaboration as a whole, how can we get more productive in the limited time that we have. After all who wont like a two day holiday turn out to a three day holiday.

Its about how collaboration and web 2.0 are going ahead and where does email stand with Google Wave resting in peace for now. I am fond of new technologies and try to play around new products, that gives you the knowledge of where the technology is heading.

Few days ago as i began my new stint with Zevenseas India which by the way was successful in bagging me from Colayer India. Yes i am a Colayer alumni and a currently employed at Zevenseas. I have developed the Davos platform with the Colayer team and currently working with the Attini team at Zevenseas. It’s just a start but had very good insights in the Attini product especially Attini Talk, there are Attini Blogs, Attini Videos as well.

The striking feature was the ways that both have followed are different. Colayer, Wave and Facebook can be grouped under same category where as Attini talk and Twitter can be on the same page.

When we say collaboration we mean many different things, in general terms for the naive users who are noobs to the technical words it can be, people sharing the documents and maintaining the version history instead of searching the entire mail for those details saving the time and thereby making them efficient and productive, in similar way a visit to the @MENTION / @CONNECT tab on twitter/attini save a heck lot of time, tagging in twitter via the @ is a one step process than following no of steps via email.

I am not the guy who hates Email for that matter, its a general problem that many users face. You want a app thats quick fast and useable. In this case Facebook and Twitter fall under the public domain, where as Colayer and Attini are commercial products. Again from technical point of view Colayer sits on top of the Google V8 engine which is the same the chrome browser uses, on top of it lies the Colayer engine which is written in C and the Colayer API which uses Javascript for web application development both server side and client side, similar to what node.js does. That can be a topic for a new blog post. The Attini structure is Microsoft Sharepoint as the bottom, the Attini engine on top of it and then we have Attini Talk similar to twitter, Attini Blogs, Attini Videos.

Colayer provides collaboration through context based communication via the times page, the same functionality that a simple first page of a news paper does, along with the shuttle as a medium to share, post updates, links and add tags to the discussions. Have group communication. There are access restrictions and filters to the level of access one can have, it can be group or user or even an anonymous user. A new user who has accessed facebook can relate easily.

Attini achieves more specifically Attini talk achieves it via updating status, posting messages, following users and groups. Making it user centric and group centric. He does not ever feel like where he is. Although a new user who isn’t familier to twitter might wonder how Attini functions.

The striking difference between both is every information is public in Attini and in Colayer you do have the ability to specify the access rights for the users.

Looking at the past facebook has ran into a lot of trouble with privacy issues while every user knows he is what he tweets he knows his tweets are public and issue of privacy does not arise. Each has its own merits and demerits it is alarmingly high the number of twitter users that are abused online and leaving the platform. Facebook on the other hand is successful in bringing back the people as it connects people.

This was just a insight of whats going around in the field of collaboration.  A small insight of the large picture. I do believe email wont be the mode of communication next 10 years down the line, it simply isn’t really the smartest way, technology evolves and the one who are flexible with changing times and requirements of people will survive else many Waves will  hit the shores and die out slowly. Then again i don’t own a fortune teller parrot, time has the answers.

The Chrome Web Store

A web browser is the application you use to view websites.

The Chrome Web Store is an online marketplace where you can discover thousands of apps, extensions and themes for Google Chrome. To start exploring the store, visit or click the store icon in Chrome’s New Tab page.

Once you’re in the store, find interesting apps, extensions or themes by using the search box or by browsing through different categories. Every item in the store has its own page, where you can read and contribute reviews and ratings. If you use multiple computers, synchronize your apps, extensions, and theme across all your computers with browser sync.

Web apps are advanced interactive websites. They may provide a wide-ranging set of features or focus on a single task like photo-editing or shopping. You can easily access the web apps you install from the Chrome Web Store through shortcuts in Chrome’s New Tab page.

Extensions let you add new features to your browser. For example, an email notifier extension can show an email alert in your browser toolbar so you don’t have to log in to your email in a separate window to check if you have new messages. There are also extensions that work silently in the background, such as an extension that automatically formats and displays web pages in your preferred style.

Themes allow you to you customize the look and feel of your browser, including themes from leading artists and designers around the world.

Why use Google Chrome?
The web browser is arguably the most important piece of software on your computer. You spend much of your time online inside a browser: When you search, chat, email, shop, bank, read the news, and watch videos online, you often do all this using a browser.

Chrome is designed to be fast in every possible way: It’s quick to start up from your desktop, loads web pages in a snap, and runs complex web applications fast.

Chrome’s browser window is streamlined, clean and simple.
Chrome also includes features that are designed for efficiency and ease of use. For example, you can search and navigate from the same box, and arrange tabs however you wish — quickly and easily.

Chrome is designed to keep you safer and more secure on the web with built-in malware and phishing protection, autoupdates to make sure the browser is up-to-date with the latest security updates, and more.

Basic browser settings: Sync settings across multiple computers.
You can save your bookmarks, extensions, apps, theme, and browser preferences to your Google Account so that they can be accessed across multiple computers. That way, you can have the same web experience everywhere.

How it works

Your settings are saved in your Google Account.
When you enable sync on a computer, your Google Chrome settings on that computer are saved in your Google Account. When you enable sync on another computer by signing in to the same Google Account, Google Chrome copies the settings you’ve selected to sync from your Google Account to the computer.

Changes are synced instantaneously.
Changes you make to your settings on one computer are automatically reflected on the other computers where you’ve enabled the sync feature.

You need a latest version of Chrome browser to access the chrome web store.

Greater Interoperability for Windows Customers With HTML5 Video

Google recently announced that its Chrome web browser will stop supporting the H.264 video format. At Microsoft we respect that Windows customers want the best experience of the web including the ability to enjoy the widest range of content available on the Internet in H.264 format.
Today, as part of the interoperability bridges work we do on this team, we are making available the Windows Media Player HTML5 Extension for Chrome, which is an extension for Google Chrome to enable Windows 7 customers who use Chrome to continue to play H.264 video.
We believe that Windows customers should be able to play mainstream HTML5 video and, as we’ve described in previous posts, Internet Explorer 9 will support playback of H.264 video as well as VP8 video when the user has installed a VP8 codec.
We are committed to ensuring that Windows customers have the best Web experience, and we have been offering for several years now the extremely popular Windows Media Player plug-in for Firefox, which is downloaded by millions of people a month who want to watch Windows Media content.
We also recently provided an add-on for Windows 7 customers who choose Firefox to play H.264 video so as to enable interoperability across IE, Firefox and Chrome using HTML5 video on Windows.
For many reasons – which you can read about on other blog posts here and here – H.264 is an excellent and widely-used video format that serves the web very well today. As such, we will continue to ensure that developers and customers continue to have an optimal Web experience.

Different Aspects of Social Media.

Social networking has revolutionized the way people interact virtually and has emerged as a huge platform for people to connect and communicate over the web. Social networking has not only remained tot the boundary limits of college students and company employees. It has spread far and wide incorporating different types of users. Not only students and educators are enjoying the benefits of social media, also are the institutions, communities and big brands for the purpose of marketing their brands to mass population. Using social networking sites to connect to future classmates and alumni has become a trend amongst students.

Facebook is by far the most popular social media platform amongst brands. Even before brands thought of making use of social networking for marketing activities, numerous brands had unofficial presences on Facebook in form of groups and fan pages created by users.

Twitter which is slowly but gradually gaining popularity and is more viral that facebook is seen as a platform for the celebrities to connect with their fans and also by some of the brands to communicate with their customers. With twitter you can update all your potential social platforms via a single tweet. you can feed your tweets into the linkedIn status feature as well as post it in your Facebook account and even your Facebook Fan Page. It also tell about what the people around are currently talking about.

LinkedIn is perceived as a networking tool for professionals than for marketing. People sharing here information are more in control and they are aware of the authenticity of the information.

In February 2009, comScore Inc released a report on the top social networking sites in India claiming visitation to the site category had increased by 51 percent since the previous year. Their recent report also revealed that Facebook and orkut were the top two social networking sites visited by Indians. It allows the users to share knowledge, ideas, thoughts and skills with peers. This with popularity and acceptance among the users makes the social networking a boon.

The trend of socializing with politics is not just limited to the developed nations. In INDIA you can see the Facebook Fan pag of political parties. These pages are not only used to update status messages but also videos, polls and events for discussions.

The social media is also being used by the law enforcement agencies and citizens. The Pune Traffic Police and Save Pune Traffic Movement (SPTM) launched its page this year! enabling commuters to file complaints againgt bad fellow drivers by providing images and videos as photographic evidence. As of today Pune Traffic Police has 12,697 followers.

On 1st Jan 2011 even our Pune’s own Pmpml launched its fan page.
It says – Click a PMPML driver using cellphone while driving, get a Rs1,000 reward.
If you find a Pune Mahanagar Parivahan Mahamandal Limited (PMPML) driver speaking on a cellphone while driving the bus, click a photograph and upload it on the social networking site Facebook and earn a reward of Rs1,000.
After traffic police, the PMPML has also decided to use Facebook for improving their service. PMPML’s public relation officer, Deepak Pardeshi, said the PMPML has created a Facebook account to give satisfactory service to commuters.
“One of the reasons for accidents is the use of cellphones while driving. The PMPML also received complaints that some of the drivers are using cellphones while driving,” he said.
Earlier, the PMPML announced cash awards for citizens who will submit the photographs of PMPML buses which stopped on zebra crossing on the signals. But that time citizens needed go to PMPML office to submit the photograph.
“To avoid the inconvenience, the PMPML decided to use Facebook. All that a citizen has to do is click a photograph and upload it on the site,” said Pardeshi.
They can upload the photograph on Facebook with essential details like the bus number, timing and the persons contact details. The PMPML will verify it and make necessary arrangements to give the award. The PMPML authorities also said that bus conductors do not return money to commuters if they do not have change. They ask them to collect the money from the PMPML depot. Commuters can also report such cases on Facebook.

With the people embracing new technologies the social experience is surely going to be better day by day!

Enhanced by Zemanta