Sign In
My Blogs on Sharepoint
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
No tags have been created or used yet.
Archive
Archives
March 2010
(1)
October 2009
(2)
July 2009
(1)
May 2009
(2)
April 2009
(4)
March 2009
(1)
February 2009
(5)
January 2009
(1)
December 2008
(1)
November 2008
(5)
August 2006
(2)
MSDN Blogs
>
My Blogs on Sharepoint
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
My Blogs on Sharepoint
How to hide "Respond to this Survey" when a user has already responded to the Survey
Posted
over 2 years ago
by
Pavan
0
Comments
1. The Rendering Template for the Survey List is in the defaulttemplates.ascx control under 12/Template/Control template. 2. The rendering template ID is “ViewToolBar”. This template renders the "Respond to this Survey", Actions menu and Settings...
My Blogs on Sharepoint
How to hide “Site Collection Administrators” link from settings toolbar menu of Out-of-the-Box User.aspx page (_layouts/user.aspx).
Posted
over 3 years ago
by
Pavan
0
Comments
Option1 : Using a custom HttpModule to redirect to a custom-mngsiteadmin page. This approach ensures : The OOB page isn’t accessible, even if users put the actual url (layouts/mngsiteadmin.aspx") in the browser and try accessing it. Is easy to implement...
My Blogs on Sharepoint
Some of the WSS 3.0/MOSS API's which fires the query SELECT TOP 2147483648
Posted
over 3 years ago
by
Pavan
0
Comments
§ list.Items.XmlDataSchema § list.Items.Xml § list.Items.QueryFieldNames § list.Items.NumberOfFields § list.Items.ListItemCollectionPosition ...
My Blogs on Sharepoint
How to use OrderBy using GetListItems method of SiteData.asmx (SPS 2003)
Posted
over 3 years ago
by
Pavan
0
Comments
Sample code -------------- SiteData.SiteData srvSiteData = new SiteData.SiteData(); srvSiteData.Credentials = System.Net.CredentialCache.DefaultCredentials; string items = srvSiteData.GetListItems("{48414507-4436-4D47-BE59-9834D33F2B52}","<Query><OrderBy><FieldRef...
My Blogs on Sharepoint
Custom Field Controls in Data Form webpart does not save data in Database
Posted
over 3 years ago
by
Pavan
4
Comments
Any input control for that matter, a simple custom field control with a single text box into the DataFormWebPart. The field gets displayed well in the NewForm and EditForm. But on saving the form data is not saved.No errors thrown. Build and deploy...
My Blogs on Sharepoint
How to customize the Item Form pages for the SharePoint Lists such as NewForm.aspx, DispForm.aspx and EditForm.aspx
Posted
over 3 years ago
by
Pavan
1
Comments
Item form pages are the pages created based on the "Forms.aspx" as the setup page which is available under 12/Templates/Pages folder. 1. All the templates for the NewForm, EditForm and DispForm (Item Form pages) are defined in the defaulttemplates...
My Blogs on Sharepoint
Page Editing Toolbar - Problem with submit for approval node in the quick access
Posted
over 3 years ago
by
Pavan
0
Comments
Came across an interesting issue with the quick access area in the page editing toolbar last week. The problem is with the “Submit For Approval” console node in the quick access. The “Submit for Approval” works fine as long as the OOB approval workflow...
My Blogs on Sharepoint
How to Retain/Preserve "Modified By" while checking in a file
Posted
over 3 years ago
by
Pavan
1
Comments
SPSite mySite = new SPSite ( "<SiteURL>" ); SPWeb myWeb = mySite.OpenWeb(); SPFolder myList = myWeb.Folders[ "<DocLibName>" ]; SPFile myFile = myList.Files[0]; SPUser myUser = myWeb.Users[ "<User_Name>" ]; CheckInFileByUser...
My Blogs on Sharepoint
Working with MWSDefault.master page along with meeting workspace definition
Posted
over 3 years ago
by
Pavan
2
Comments
Recently I came across an issue with a custom master page created based on the OOB MWSDefault.master page. MWSDefault.Master is the master page used by the OOB meeting workspace definition "MPS". This master page has been used with all...
My Blogs on Sharepoint
State machine workflow with delay activity
Posted
over 3 years ago
by
Pavan
1
Comments
State based workflow that has a DelayActivity. The DelayActivity never fires and errors out eventually. The problem lies in the fact that the workflow calls out to another DLL in the code activity following the DelayActivity. When the call is made a ...
My Blogs on Sharepoint
Customizing Small Search Box
Posted
over 3 years ago
by
Pavan
2
Comments
Small Search control which is rendered in default pages of Sharepoint is a delegate control which is rendered through Default.Master available under C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\GLOBAL (assuming C drive...
My Blogs on Sharepoint
Custom wiki site definition with custom document template for creating wiki pages
Posted
over 3 years ago
by
Pavan
5
Comments
Architectural behavior of wiki site definition and the wiki page library 1. When a site is created based on the OOB wiki site definition, a wiki page library (List Template Type = 119) instance is created which is attached with the wiki document content...
My Blogs on Sharepoint
Hide the Sign In link for the anonymous user - SharePoint MOSS
Posted
over 3 years ago
by
Pavan
1
Comments
Following are the two steps to implement this requirement in the supported way and its quite easy, thanks to master page and the SharePoint Application Page link control. 1. Create a custom user control based on the OOB “WelCome.ascx” control. Override...
My Blogs on Sharepoint
How to create custom view pages with a custom web part for the list definition - SharePoint WSS 3.0 / MOSS 2007
Posted
over 3 years ago
by
Pavan
3
Comments
The view pages for the list are created based on the “ViewPage.aspx” in the C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\Pages. The ViewPage.aspx inserts the DataFormWebpart to display the items in the View. Now What...
My Blogs on Sharepoint
Code sample for a Asynchronous webpart
Posted
over 3 years ago
by
Pavan
2
Comments
One of the requirements which I had encountered was to write a Asynchronous webpart which would show a progress bar on the webpart while the webpart is retrieving data from SQL in the backend. Attaching Sample code of the webpart which I have created...
My Blogs on Sharepoint
Is Null predicate not working with TargetAudience
Posted
over 3 years ago
by
Pavan
1
Comments
Assume you have enabled Target Audience on your list. While adding list items there would be scenarios where you would not add any value to that TargetAudience column. While trying to Query this List Item through Object Model using (FullText Sql Query...
My Blogs on Sharepoint
How to import a listitem to a list using SPImport API
Posted
over 3 years ago
by
Pavan
1
Comments
<Watch this post for more updates>
My Blogs on Sharepoint
The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again
Posted
over 4 years ago
by
Pavan
1
Comments
Calling BreakRoleInheritance(false)on a List, internally flips the AllowUnsafeUpdates flag to false, and this may lead to below mentioned error, if we do not explicitly set the AllowUnsafeUpdates to true again. When any object that implements ISecurable...
My Blogs on Sharepoint
Property does not exist or it is used in a manner inconsistent with the schema settings while using FullTextSearch
Posted
over 4 years ago
by
Pavan
1
Comments
While trying to query custom managed property using FullText Search getting an error "Property does not exist or it is used in a manner inconsistent with the schema settings". We would not be able to query Custom managed property using Microsoft...
My Blogs on Sharepoint
Getting an "401 Unauthorized" exception while trying to create User Profile in sharepoint through ASP.Net application running on a different website
Posted
over 4 years ago
by
Pavan
1
Comments
Add the following register tag in your aspx page <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> Add...
My Blogs on Sharepoint
How to change a multi line text field to allow unlimited length in a document library
Posted
over 4 years ago
by
Pavan
3
Comments
There is a restriction on number of characters (255 characters) allowed for a Multi line text field added to a document library when you try to input more than 255 characters through UI. Attaching a sample code which will help in working around the...
My Blogs on Sharepoint
How to obtain the user identity on My Profile page of MySite
Posted
over 4 years ago
by
Pavan
1
Comments
Had a scenario where in I had to get User Identity of one of my colleague in My Profile page of MySite in MOSS. Sample Code snippet ------------------------------------ SPSecurity.RunWithElevatedPrivileges(delegate() { IPersonalPage page...
My Blogs on Sharepoint
Getting an error "Unable to connect to database" on MOSS site
Posted
over 4 years ago
by
Pavan
1
Comments
Check if you have a dll called Security.dll in your bin folder of MOSS. Why does it fail? We have Security.dll which comes with OS and it is required for authentication purposes between server and client. When we have Security.dll in bin folder...
My Blogs on Sharepoint
Updating Metadata of a custom field in SPS 2003 having a value '=' using Front page RPC
Posted
over 6 years ago
by
Pavan
0
Comments
Added a new custom field to a document library, wanted to update the metadata of the custom field with something like Name = Anthony using Front Page RPC method Was not able to do it, tried with 1. '\=' 2.'%3D' 3. '=' The Value to be used is...
My Blogs on Sharepoint
Moving documents across sites with metadata using SPS object Model
Posted
over 6 years ago
by
Pavan
0
Comments
Code snippet to move documents across sites with metadata along with version history using SPS object Model and Front Page RPC NOTE : It updates all the metadata apart from Modified By and Modified date
Page 1 of 1 (25 items)