We had a mysterious problem in MOSS sharepoint portal in Tasks. Following were the issues: 1. When ever a task is created; the alerts goes to people(some one in AD) for whom the tasks has not been assigned! 2. When ever edited also the same issue Plus the description will be striked & shown as such it has been changed. 3. When the tasks is deleted; the alert goes to the respective persons in the assigned to field and also to some other person in random!
Solution: Seems it is resolved in SP2 and there is also a Hotfix for the same issue.
We had a requirement to disable checkin functionality in document library. The Idea was to reduce the steps to be done by the end user to upload documents easily. The bottom line was to make it simple for easy accessibility. Following are the steps to be done.
To enable/disable check-in and check-out on a SharePoint document library:
Navigate to the SharePoint document library on which you want to enable check-in and check-out.
On the Settings menu, click Document Library Settings .
On the Customize page under General Settings , click Versioning settings .
On the Document Library Versioning Settings page, select Yes /No for Require documents to be checked out before they can be edited? , and click OK .
To enable version control on a SharePoint document library:
Navigate to the SharePoint document library on which you want to enable version control.
On the Settings menu, click Document Library Settings .
On the Customize page under General Settings , click Versioning settings .
On the Document Library Versioning Settings page, select Create major versions if you only want to enable major versions on documents or select Create major and minor (draft) versions if you want both major and minor versions on documents, and click OK .
Hi folks, Here is a best example for internet facing MOSS site. Its http://Sharepoint.Microsoft.com :) Yup It has been recently developed with MOSS technologies by a consulting company Advaiya. Envy those people who got the chance to work for the official site of Sharepoint ;) Lucky you...!
Resource : Nice article, it explains implementation of new features. Really inspiring.... Great job.
When you try to add a server side code for an aspx page in your document library with the help of share point designer. you might get the following error when you try to view the page.
An error occurred during the processing of /Pages/Yourfile.aspx. Code blocks are not allowed in this file.
The reason is that Sharepoint by default disables server side code (code behind) for an aspx page. The Solution is we need to add the path of the page as exception in web.config.
Seems people search for Sample MOSS webpart and land into my previous blog where i have written how to develop a webpart from your XP machine. So let us provide what people came looking for....
Following is a sample web part i created some time back which fetches data from database and displays in a table. The web part class should always inherit Webpart(System.Web.UI.WebControls.WebParts) as base class. For webparts we usually write the code to override any events like Render, RenderWebPart or RenderContent. In the sample code i have overrided Render event which takes the parameter System.Web.UI.HtmlTextWriter object.
The Database operations i have used Application blocks from Enterprise Library
6. Reset IIS 7. Go to Site Action -> Settings -> Webparts -> New
8. You will find your webpart in the URL: http://YOURMOSSSERVER/_layouts/NewDwp.aspx .Select the checkbox for the respective webpart & click Populate Gallery Button.
9. Now go to any page in the site and in Edit mode you will be able to find the webpart to add it in your page.... Thats it...
Note: With the help of Web Part templates in visual studio the above steps are made much more easier! you can just click on RUN button. The studio it-self will deploy & reset the IIS, you can directly go to the page and add the Web part! Love you Templates :)