Wednesday, July 17, 2013

Create visual webpart in SharePoint 2013

In SharePoint 2013, both web user control and the webpart class are merged to one template file, not like SharePoint 2010.

To create visual webpart follow below steps:

Step-1:
Open Visual Studio 2012, From the left side select Office/SharePoint and then from the right hand side select SharePoint 2013 Visual Web Part.

Step-2:
In SharePoint 2013 you can deploy visual webpart as a sandboxed solution apart from farm solution. So in the Next screen select Deploy as a farm solution and click on Ok. Also you can give the site URL for debugging.

Step-3:
Then write the code in the code behind file as in SharePoint 2010.

Step-4:
After finish coding you can debug or deploy the webpart.

Create new site group in SharePoint 2013

Follow below steps to create new site SharePoint group:

Step-1:
From the Top level of site collection go to Site Actions -> Site Settings.
Step-2:
Then from the Site Settings page from Users and Permissions group select People and Groups.

Step-3:
Now in the Group Management area, Select the Groups link from the left-hand navigation menu. This will open the Groups listing page.

Step-4:
On the New menu of the toolbar, select Create New Group. This will open the Create Group Page.

Step-5:
In the Create Group page, Enter name of the group, also enter the Description of the group in the About Me section. Then enter the group owner name. In the Group Settings section chose from the radit button and click on Create.

Add a Geolocation column to a list programmatically in SharePoint 2013

Here in this article we will discuss about how we can add a Geolocation column to a SharePoint 2013 list using SharePoint 2013 client object model.

SharePoint 2013 Preview introduces a new field type named Geolocation that enables you to annotate SharePoint lists with location information. In columns of type Geolocation, you can enter location information as a pair of latitude and longitude coordinates in decimal degrees or retrieve the coordinates of the user’s current location from the browser if it implements the W3C Geolocation API.

First we need to add the below 2 dlls to work with SharePoint 2013 client object model.

Microsoft.SharePoint.Client.dll

Microsoft.SharePoint.Client.Runtime.dll

Then we need to write the using statement like below:

using Microsoft.SharePoint.Client;

Below is the full code:

ClientContext context = new ClientContext("http://site url"); 

List oList = context.Web.Lists.GetByTitle("MyCustomList");

oList.Fields.AddFieldAsXml("<Field Type='Geolocation' DisplayName='Location'/>",true, AddFieldOptions.DefaultValue);                                        

oList.Update();

context.ExecuteQuery();

Difference between SharePoint designer and Visual Studio workflows

Below are some differences between SharePoint designer workflows and Visual Studio workflows.

SharePoint Designer:
- SharePoint Designer is a code-free environment.

- Through designer we can make Sequential workflows only.

- Workflows created by designer can be deployed across a site collection only not beyond that.

- These workflows automatically deployed into SharePoint.

- Visio can be used to model workflow logic.

- But no debugging available to step through a workflow at runtime.

- Intuitive support for forms customization.

- Workflows cannot be modified at runtime.

- Compiled just-in-time.

Visual Studio:
- Code-centric development

- Visual studio workflows supports both sequential and state machines.

- These workflows deployable across entire farm via a feature.

- Must be packaged within a feature and deployed by a farm administrator or in a sandbox.

- No support for Visio.

- Full debugging experience available.

- Less intuitive InfoPath integration. Availability for ASP.NET custom forms.

- Workflows can be modified while running.

- Compiled at design time.

Correlation ID in SharePoint 2010

Correlation ID in SharePoint 2010




SharePoint 2010 maintains logs in different areas. So it is very difficult to find what exactly the error is. But SharePoint provides a id which is known as correlation ID which is nothing but a GUID that is assigned to each conversation a user does or a SharePoint process does.

A site collection administrator can take the correlation id and search in the trace log to know where exactly the error occurred.

Just to remember for each entry in the trace log it contains a Correlation ID.

Also that entry contains the correlation id and some meaningful error message.

The correlation ID is exposed when an error page is displayed, and throughout the trace logs

Tuesday, July 16, 2013

CHECK YOUR PROVIDENT FUND ACCOUNT PF BALANCE ONLINE

CHECK YOUR PROVIDENT FUND ACCOUNT PF BALANCE ONLINE

The Employee's Provident Fund (PF) Contribution along with the Employer's Provident Contribution Amount Deducted from Your Salary Every Month is deposited in the Provident Fund account with Employees Provident Fund Organisation (EPFO).

The Employees Provident Fund Organisation (EPFO) provides a facility online to check your PF balance with the status of the account.This facility is available to the organizations who manage their PF with EPCO. The information is not available for the organisation's who have their own private PF trust

Steps To Check Your PF Balance Available with EPCO

  1. Visit The EPCO Website 
  2. Select your State
  3. Select Your EPCO Office
  4. Enter Your PF Account Details :
  • State - 2 Characters - Auto Filled after Selection
  • City  - 3 Characters - Auto Filled after Selection
  • Establishment Code - Maximum of 7 Characters
  • Extension Code - Maximum 3 Characters
  • Your PF Account Number - 7 Characters
          Eg. PF Account No. is MH/THN/12345/67   :  
          STATE - MH,
          CITY - THN
          ESTABLISHMENT CODE - 12345
          EXTENSION - 000 (leave blank)
          PF Account - 67.
  • Enter Name as in Pay Slip
  • Enter Your Mobile Number (Working as SMS would be sent on this number)
  • Select the tick mark to Agree the information provided
  • Select Submit for completing your request.
  • You would receive the SMS in a few minutes with your account details

Thursday, October 18, 2012

Differences Between property and Method


 Property                                                                                   Method

  1. properties represent data                              1.methods perform actions
  2. Properties are accessed like fields.                  2.method returns an array
  3. Just add





Tuesday, October 16, 2012


ಮೊಸಳೆ ತರ ಇರುವ ಅಗಲಕಾಯಿ :)

ಲಿಫಾಲ್ಲಿ ಎಲ್ಲಾನು ಒಂದು ವಿಚಿತ್ರ  ವಿಷಮಯ- ವಿಸ್ಮಯ -  ಅಲ್ವಾ ಫ್ರೆಂಡ್ಸ್ ???

Thursday, September 6, 2012

http://sharepoint.microsoft.com/en-us/buy/Pages/Editions-Comparison.aspx


Web Services/Object Model
Available with SharePoint 2007:
§  Administration
§  Alerts
§  Authentication
§  Data Retrieval
§  Permissions
§  Sites
§  Search
§  People and Profiles
§  Workflow
New with SharePoint 2010:
§  List REST access with ADO.NET Data Services
§  Excel Services REST access
§  Client Object Model
§  WSRP (v1.1) Consumer Web Part




How to Deploy Your HTML Website on a Linux Server (Apache + SFTP)

Launching a simple HTML website on your own Linux server is easier than you might think. Whether you're sharing a static landing page or...