Make Read-Only fields in SharePoint List Forms using Javascript

Here is the code to make SharePoint list fields read-only like below screen: Make Read-Only fields in SharePoint List Forms using JavaScript: Open your list form (NewForm.aspx or EditForm.aspx) in SharePoint Designer, paste the below code after: <asp:Content id=”Content1″ runat=”Server” contentplaceholderid=”PlaceHolderMain”>

Read more

Image Slideshow in SharePoint CEWP with Javascript and jQuery

Note: This is a image slider implementation. If  you are looking for Rotating Banner for SharePoint using jQuery, see my post: Rotating Banner for SharePoint using jQuery Upload the images and add the CEWP, then paste the below Code: Image Slider for SharePoint using jQuery: Another nice way to get the nice…

Read more

SharePoint Designer in Contributor Mode

Problem: SharePoint Designer Automatically switches to Contributor Mode! Another day, when I was trying to open a SharePoint site in SharePoint Designer, it automatically opened in the contributor mode! Troubleshooting: So I tried: Prompt for user name and password security settings in IE, then re-opened the SPD. Yes, It prompted me the…

Read more

SharePoint Search service is in Hung state, Starting or Stopping?

Yes, it happened this morning. I’m unable to do a search on my MOSS website. When tried search, I got an error: “The search request was unable to connect to the search service.”  when I tried to do a full crawl, then it hangs there with the “Starting” stage, Then I tried to stop and start the Office…

Read more

How to Remove All Responses from SharePoint Survey?

How to delete all the survey responses in SharePoint 2007 all at once without having to go through deleting one at a time? Datasheet view? Oops, it doesn’t support the datasheet view. How to Delete All Survey Responses and results in one click? Here is an easy solution: Go to Site Actions…

Read more

Illegal operation attempted on a registry key that has been marked for deletion – Error in SharePoint Site

SharePoint site gave an error message in browser “Illegal operation attempted on a registry key that has been marked for deletion” . Resolution: Not sure, What went wrong, But I did an Application pool recycling, which made the site up!!! When the same error occurred during a Search, I Restarted “Search Query”…

Read more

Create a File in Specific Size – For Testing

For upload test in SharePoint, I had to create files of specific size, 10 MB, 20 MB, 30 MB, 40 MB, etc. Figured out a nice command line tool to create files in specific size. FSUTIL fsutil file createnew c:\test.doc 10485760 This will create 10 MB file. The same can be achieved…

Read more

SharePoint Site Template, List Template IDs – Reference

Here is the List for SharePoint Site template and List Template IDs. WSS Site Template IDs:  Template ID Site Description STS#0 Team Site STS#1 Blank Site STS#2 Document Workspace MPS#0 Basic Meeting Workspace MPS#1 Blank Meeting Workspace MPS#2 Decision Meeting Workspace MPS#3 Social Meeting Workspace MPS#4 Multipage Meeting Workspace CENTRALADMIN#0 Central Admin…

Read more