Sign in
SaurabhKV
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
CQWP
InfoPath - Get the current user without writing code
Localization in InfoPath form
MOSS
SharePoint
Site Navigation Settings
Archive
Archives
March 2010
(1)
January 2010
(1)
December 2009
(1)
October 2009
(2)
July 2009
(2)
June 2009
(20)
September 2008
(5)
August 2008
(1)
July 2008
(1)
June 2008
(6)
May 2008
(27)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
SaurabhKV
WindowsIdentity Impersonation using C# Code
Posted
over 5 years ago
by
itsmeskv
20
Comments
using System; using System.Collections.Generic; using System.Text; using System.Security.Principal; using System.Runtime.InteropServices; using System.Security.Permissions; namespace Test { public class ImpersonateUser { [DllImport("advapi32.dll",...
SaurabhKV
Everything about AllowUnsafeUpdates
Posted
over 5 years ago
by
itsmeskv
0
Comments
If you are a sharepoint developer, you have to read this one: What you need to know about AllowUnsafeUpdates .
SaurabhKV
Dynamic generation of a mouseover menu with cascading options
Posted
over 5 years ago
by
itsmeskv
0
Comments
Menu Content Editor Web Parts SharePoint Menus in C#
SaurabhKV
SharePoint Object Model Tips
Posted
over 5 years ago
by
itsmeskv
0
Comments
Nice work is done here
SaurabhKV
Maping from SPList Field Types to .Net Types
Posted
over 5 years ago
by
itsmeskv
0
Comments
When I am working with the WSS Object model, I generally do not pass references to SharePoint objects around. I usually create business objects to represent the lists that I am accessing. I will then use an Adapter pattern to map from th SharePoint object...
SaurabhKV
Custom toolbar of a SPView object on SPLite
Posted
over 5 years ago
by
itsmeskv
0
Comments
Currently I’m in an engagement where I have to show the custom toolbar on a list view. I started my code to create a new SPView and attach the same one with SPList, I’m able to change query, title etc properties of view. But once I started to change...
SaurabhKV
"The selected file was not found." - InfoPath 2007 Web form
Posted
over 5 years ago
by
itsmeskv
3
Comments
What you mean 'not found'? grrrrrrrrrrrrrrr You can either apply that to me thinking that attaching a file to my InfoPath form would be easy or MS for allowing such a nasty insidious bug to crawl out into production. Here's the issue. I have...
SaurabhKV
Add Custom Permission Level Programmatically
Posted
over 5 years ago
by
itsmeskv
1
Comments
SPSite oSite = new SPSite ( <sharepoint site> ); SPWeb oWeb = oSite.OpenWeb(); SPRoleDefinition role = oWeb.RoleDefinitions[ "Custom Role" ]; role.BasePermissions = SPBasePermissions .AddListItems | SPBasePermissions .BrowseDirectories...
SaurabhKV
Site Navigation Settings
Posted
over 5 years ago
by
itsmeskv
2
Comments
If you want to set Site Navigation Settings using API here is code :) Use this to specify the navigation items that you want to display in the navigation link bars of this site. Items in sublevels and flyouts can be modified only in the navigation...
SaurabhKV
Localization in InfoPath form in SharePoint
Posted
over 5 years ago
by
itsmeskv
2
Comments
Here is the one another way I could implement to localize the InfoPath form in my current SharePoint engagement. 1: create the number of localize xml file, you want to support. File name format must be locale.xml as “en-US.xml”, “en-GB.xml” etc. ...
SaurabhKV
Upload, Activate, Deactivate, Remove Form Templates by Batch File
Posted
over 5 years ago
by
itsmeskv
1
Comments
Here are commnds for bact file ------------------------------------------------------------------------------------------------ @echo off setlocal SET SPDIR="%ProgramFiles%\Common Files\Microsoft Shared\Web Server Extensions\12" SET FRONTIER_URL...
SaurabhKV
Infopath VSTO/ VSTA post-build steps
Posted
over 5 years ago
by
itsmeskv
0
Comments
Here are the steps for the post-build to build and deploy the infopath forms automatically: 1. Deactivating the previous edition of the form stsadm -o deactivateformtemplate -url "SITE COLL URL" -filename "XSN FILE PATH" 2. Removing the previous...
SaurabhKV
Complete reference of all STSADM operations (with parameters) in MOSS 2007
Posted
over 5 years ago
by
itsmeskv
0
Comments
A good jos done by Jose Barreto. In his blog you can find complete reference of all STSADM operations (with parameters) in MOSS 2007.
SaurabhKV
FAQ of InfoPath
Posted
over 5 years ago
by
itsmeskv
0
Comments
Here is a good link for FAQ of InfoPath.
SaurabhKV
Programmatically add items to a drop-down list box in InfoPath 2007
Posted
over 5 years ago
by
itsmeskv
0
Comments
Here you go for Sol'n
SaurabhKV
SPListItemCollection.GetDataTable() Bug?
Posted
over 5 years ago
by
itsmeskv
0
Comments
There seem to be a bug when calling GetDataTable on an SPListItemCollection. Read more here.
SaurabhKV
Microsoft Knowledge Network Team Blog
Posted
over 5 years ago
by
itsmeskv
0
Comments
Microsoft Knowledge Network Team Blog
SaurabhKV
SharePoint Content Deployment Wizard
Posted
over 5 years ago
by
itsmeskv
1
Comments
The SharePoint Content Deployment Wizard is a tool for SharePoint 2007 which provides the means to deploy the following content: - site collections - webs - lists - folders - list items (including files) A good tool here
SaurabhKV
Working with large lists in Office SharePoint® Server 2007
Posted
over 5 years ago
by
itsmeskv
0
Comments
Click here for a nice whitepapaper
SaurabhKV
Few Useful links for SharePoint developers
Posted
over 5 years ago
by
itsmeskv
0
Comments
Tips and Tricks for Developing with Windows SharePoint Services Best Practices: Common Coding Issues When Using the SharePoint Object Model Best Practices: Using Disposable Windows SharePoint Services Objects Checklist for Creating SharePoint...
SaurabhKV
SharePoint 2007 and WSS 3.0 Dispose Patterns by Example
Posted
over 5 years ago
by
itsmeskv
0
Comments
When writing customized SharePoint code you need to be aware of the scope and context of each SPSite , SPWeb , and PublishingWeb objects lifetime. Click here for a nice job done by Roger Lamb's .
SaurabhKV
SPListItemCollection is particularly inefficient because each loop executes a SQL operation
Posted
over 5 years ago
by
itsmeskv
0
Comments
SPListItemCollection ic = list.GetItems(qry); foreach (SPListItem subitem in ic) { if (subitem.Folder == null) Doing a foreach across an SPListItemCollection is particularly inefficient because each loop executes a SQL operation to get the next row...
SaurabhKV
SPQuery with Boolean and DateTime
Posted
over 5 years ago
by
itsmeskv
2
Comments
This isn't anything really new or unique but seemed worth bloging to have it one in place. A SPQuery can be used to retrieve some SPListItems from a SPListItemCollection. If you want to query on a Boolean field such as a Yes/No field (boolean) your...
SaurabhKV
SPQuery returns all items of a list and ignors Where clause
Posted
over 5 years ago
by
itsmeskv
0
Comments
I’ve just spend an hour trying to find the source why SPQuery returns all items of a list and ignors where clause My code was like this: SPQuery query = new SPQuery(); query.Query = "<Query><Where>---------</ Where></Query>...
SaurabhKV
Access denied! Only SRP admin can Add Properties or section
Posted
over 5 years ago
by
itsmeskv
1
Comments
Business Problem: Receiving an error when trying to add a Property to the PropertyCollection of the UserProfileConfigManage even running the code with elevated permissions, but obviously, it is not helping as the Identity of the application pool for the...
Page 1 of 2 (27 items)
1
2