Follow these steps to create a variation enabled site collection.
Install language packs for SharePoint ,you can download the language packs by click here NOTE: for windows 7 users follow these additional steps to set up Language packs
Create the Variation Source site
This is the site collection which is going to hold the variation (sub) sites.
Go to Site Action - > Site settings- > Under Site Collection Administration - > Variation
Set the variation Home (Starting location where variations of this site will be
created. Variations of this site will include the site and all subsites)
Step 4: Go to Site Action - > Site settings- > Under Site Collection Administration - >Variation Labels - >New Label
In here you have to create the variation labels (e.g. En-US,Fr-FR)
Tick the "Set this variation to be the source variation" check box if you want to set this as a source variation site.
Source site is the site which will propagate any contents to the target sites.
Repeat step 4 to create any amount of target labels.
Note: You can create only one source label.
Go to Site Action - > Site settings- > Under Site Collection Administration - >Variation Labels - >press Create Hierarchies Press OK Step 6:
Go to Central Administration click on Monitoring tab - >Under Timer jobs click Review job definitions
Select the Variation create hierarchy job definition
Press Run Now
If variation site is successfully created Hierarchy created column will be indicate as Yes
How to create SharePoint list instance / List Definition from an existing List
There are many ways to create a SharePoint list instance/list definitions in your web Part projects.
Manually add List definitions ,list instances and create the solution.
Save the list as a template and manually modify the schema.xml file, from the element.xml file given by the template.etc
But these solutions involve manual works which can lead to more human errors.
Crating an list instance to your SharePoint project is no longer a difficult task for a developer if your following these steps.
Go to you share Point site and create a custom List . in this example I am going to create a list called TestList.
Create the columns as per your need.
Move to the site action - > site settings. under site actions click on save site as template link.
Note:if your have a publishing site deactivate the following features in order to perform this operations.(Otherwise save site as template link will not appear)
site collection feature
SharePoint Server Publishing Infrastructure
SharePoint Server Publishing
give a name for the template and save the template.If you need the contents from the list tick the Include content check box.
After you save the template you can find the template inside the Solution gallery.
you can move the solution gallery by clicking on the link appears soon after you save the template.
or you can goto site action - >site settings -> under Galleries Solutions
The saved template appears here.Click on the template(Web service package) and save the template in your local machine.
Move to visual studio project . File - > Add - > new project select Import share point solution package project from the list.
provide a name ,select a location and save the project.
Alternatively you can open up a new - > project -> Import share point solution package
follow the wizard appears.
Give the share point site name.
Browse the template(Web service package) you have saved in the step 4.
Open up the project you have created in the windows Explorer.
Inside the List Instances folder you can find the list instance you have created.
Now you can add this list instance to your project . Create a folder named as List Instance in you project Copy the list instance into your project by open up your project in the in the Windows explorer.
Now you can include this list instance to to the project by click on the Show all files - >Include in project
Now you have added the list to your site.But in order to include this list with the deployment .You have to create a New feature and add the list instances and the modules.
How to programmatically control the Logitech Orbit Camera using C++,VC++
Today I am going to share my knowledge on how to control the Logitech Orbit camera using C++.
This camera has the feature of turning pan-Horizontal movement,Tilt-Vertical Movement and Zoom up to 4X.
When we are building applications where we need to manually control the motion of the camera,we can't use the software provided by Logitech.Instead we need to write our own peace of code to control this.
This peace of code is used to control all the movements of the camera.I'll describe how.
What is the actual work needed to be done by the programmer is to call this method with the required values for the rotation.
valueXis the Pan value-Positive numbers to turn the camera into right and negative number to turn the camera to the left. valueY is the Tilt value-Positive numbers to turn the camera upwards and negative number to turn the camera downwards. z is for zoom- value 100 would be the least zoom ,value 400 would be the maximum zoom and Values in between will result in different zoom levels.