01/04/2013
26/03/2013
Using Delegate Control in Sharepoint
CodeProject
Before jumping to actual development, lets know which scenarios demand the usage of Delegate Controls in sharepoint.
I have designed header image for my blog, and i want to have it on top of my sharepoint site.
So how to add it to all the pages in my sharepoint site.
I have designed header image for my blog, and i want to have it on top of my sharepoint site.
So how to add it to all the pages in my sharepoint site.
Deploying Custom Master Page Using a sharepoint Feature
In this module, we will see how to deploy a Custom master page to a sharepoint site, using a sharepoint feature.
Step 1: Create a sharepoint project. Add a Module to it. I named it as "MasterModule". By default the module will be created with 2 files, Elemnts.xml and Sample.txt.
Step 2: You can add / create a Custom Masterpage file as per your requirment. For my purpose, i am trying to reuse the existing V4.Master.
If you are trying to export the master page from Sharepoint Designer, you may end up with error
Step 1: Create a sharepoint project. Add a Module to it. I named it as "MasterModule". By default the module will be created with 2 files, Elemnts.xml and Sample.txt.
Step 2: You can add / create a Custom Masterpage file as per your requirment. For my purpose, i am trying to reuse the existing V4.Master.
If you are trying to export the master page from Sharepoint Designer, you may end up with error
http://server/_catalogs/masterpage/v4_Modified.master(26): error CS0030: Cannot convert type 'Microsoft.SharePoint.WebControls.ScriptLink' to 'System.Web.UI.IAttributeAccessor'
10/03/2013
Granting Anonymous Access to Sharepoint List / Library Programtically
CodeProject
In this post we will see how to enable and disable Anonymous access to a List or Document library from a sharepoint feature (C# code).
There are 3 different steps involved in granting Anonymous access to a List/Library in a right way.
Step 1: Enabling the anonymous accesss to the Web application from Central Admin. This does not mean that the whole web application is now anonymous. This step signifies that, this web application has ability to host resources that can be accessed by Anonymous user.
There are 3 different steps involved in granting Anonymous access to a List/Library in a right way.
Step 1: Enabling the anonymous accesss to the Web application from Central Admin. This does not mean that the whole web application is now anonymous. This step signifies that, this web application has ability to host resources that can be accessed by Anonymous user.
Multi Tab App with Async Task
CodeProject
Objective: To create an android app, with multiple tabs catering different types of questions, in which data will be saved to SQL-Lite using Asynchronous approach (Async Tasks concept.)
This post will be covering only a part of the actual objective.
I created a Multi Tab application and each tab pointing to a different fragment.
Now in every tab click the data has to be saved without blocking the user actions.
For this i have chosen Async Task concept.
As of now i just put up a simple dialog display demonstrating the Async actions while user navigates between the tabs.
In up coming post, i will finish the code for even saving the data to SQL-Lite database, thus completing the actual intent.
This post will be covering only a part of the actual objective.
I created a Multi Tab application and each tab pointing to a different fragment.
Now in every tab click the data has to be saved without blocking the user actions.
For this i have chosen Async Task concept.
As of now i just put up a simple dialog display demonstrating the Async actions while user navigates between the tabs.
In up coming post, i will finish the code for even saving the data to SQL-Lite database, thus completing the actual intent.
03/03/2013
Shared Preferences and Yes/No Alert Dialog in Android
CodeProject
In this post, my intent is to use the internal memory of an android and save / retrieve the data from different views.
We have several options to save data on a Android device, like Compact SQL, Files and Shared Preferences.
So, i have a One Page Application, which will accepts name and save it to the internal memory and then retrieves the data to display i on second screen.
24/02/2013
My First Android App
CodeProject
I have always worked on .Net technologies like Windows applications using C#, Web applications using Asp.Net then moved to creating light weight Web applications using MVC Razor. Apart from that stream, i have been working on Sharepoint 2007, Sharepoint 2010 and now Sharepoint 2013.
One of my client raised a concern of his application access via Mobiles and Tablets. I have looked at several options like . .
I have always worked on .Net technologies like Windows applications using C#, Web applications using Asp.Net then moved to creating light weight Web applications using MVC Razor. Apart from that stream, i have been working on Sharepoint 2007, Sharepoint 2010 and now Sharepoint 2013.
One of my client raised a concern of his application access via Mobiles and Tablets. I have looked at several options like . .
11/02/2013
Why Server 2012 ?
CodeProject
If you go through the Hardware / Software requirements of Sharepoint 2013, you can see that server 2008 R2 can also run sharepoint 2013.
We know Server 2012 is awesome and very useful in Usage and Performance perspectives , especially for Sharepoint 2013. But we cannot give such a vague answer when a client asks the same question.
Why Server 2012?
We know Server 2012 is awesome and very useful in Usage and Performance perspectives , especially for Sharepoint 2013. But we cannot give such a vague answer when a client asks the same question.
Why Server 2012?
17/01/2013
PowerShell - Wait for Retract / Uninstall before Remove
CodeProject
This is a very small tip for SharePoint developers. Basically people hate PowerShell before knowing it. But you will love it once you start using it. Sooooo Comfortable.
So, as a part of PowerShell commands, we have UnInstall-SPSolution command for retracting a SharePoint solution and Remove-SPSolution command to remove the solution from any scope.
When you execute these commands in a sequence in a script (.ps1) file, Usually we end up with an error saying
Remove-SPSolution : The solution "XXXX.wsp" has been deployed in the farm. Please retract the deployment before removing the solution.You can also use the
-override parameter to forcibly remove the solution, but you will not be able to retract the solution deployment.
So, as a part of PowerShell commands, we have UnInstall-SPSolution command for retracting a SharePoint solution and Remove-SPSolution command to remove the solution from any scope.
When you execute these commands in a sequence in a script (.ps1) file, Usually we end up with an error saying
Remove-SPSolution : The solution "XXXX.wsp" has been deployed in the farm. Please retract the deployment before removing the solution.You can also use the
-override parameter to forcibly remove the solution, but you will not be able to retract the solution deployment.
09/01/2013
JSLink - Custom JS Rendering in Sharepoint 2013
CodeProject JSLink is the new feature introduced in SharePoint 2013, loading off the burden of XSLT webparts from developer's mind.
Lets me show you an example. I have two lists "Movies" and "Books".
But I want to display them on a page like . . .
All this can be done just by using Java script and without creating a single webpart.
Lets see how to accomplish this task.
Lets me show you an example. I have two lists "Movies" and "Books".
But I want to display them on a page like . . .
All this can be done just by using Java script and without creating a single webpart.
Lets see how to accomplish this task.
Subscribe to:
Posts (Atom)








