Wednesday, August 31, 2011

Alert Template Name                                                                 Description

SPAlertTemplateType.GenericList                       The first alert template in Alerttemplates.xml. GenericList
                                                                          is used unless there is a match to one of other event types.

SPAlertTemplateType.DocumentLibrary              Notification of changes in document libraries

SPAlertTemplateType.Survey                              Notification of changes in surveys

SPAlertTemplateType.Links                                Notification of changes in links

SPAlertTemplateType.Announcements                Notification of changes in announcements

SPAlertTemplateType.Contacts                          Notification of changes in contacts

SPAlertTemplateType.Events                              Notification of changes in events

SPAlertTemplateType.Tasks                               Notification of changes in tasks

SPAlertTemplateType.DiscussionBoard              Notification of changes in discussion boards

SPAlertTemplateType.PictureLibrary                  Notification of changes in picture libraries

SPAlertTemplateType.XMLForm                       Notification of changes in XML form

SPAlertTemplateType.DataConnectionLibrary            Notification of changes in data connection libraries
                
SPAlertTemplateType.AssignedtoNotification            Assigned to task / issue list notifications

SSO configuration in MOSS 2007

Open administration site Go to Administrative tools and then select Services in though services select Microsoft Single Sign-on Service make start-up type to Automatic  and then click Apply and then start the service
After starting this service Now go to Central Administration and then go to Operations Tab in this tab Under Security configuration ---> Manage settings for Single Sign-on
Over there under Server Setting click on Manage Server Settings over there you see a form fill in those fields see the image below, after filling all fields and click OK


After this SSO Name Database will be created in DB and all other links(Administration site related to SSO) which were previously disabled will get enabled
Now under Enterprise Application Definition Settings ---> Manage Settings for Enterprise Application Definition after that click on New Items
Fill Information as shown below you can give Display name & Application Name make sure that you giving Application Name a Sensible name because once given it can not be changed,after that fill E-mail address and Select Individual Under Account Type and Select Windows authentication leave Logon Account Information as it is and click ok

After that click on Manage account information for enterprise application definitions over there in drop down box of Enterprise application definition Select Application name which you just created above and enter user account name(same account which you have use in manage server settings) and click on update account information check box and click OK

SSO Configuration is Done

WSS,MOSS 2007,Sharepoint 2010: Uploading Files to moss 2007 using WinForm

WSS,MOSS 2007,Sharepoint 2010: Uploading Files to moss 2007 using WinForm: Hi Guys my client wanted application which can upload files from client folder to MOSS 2007 Site Library Scenario:- When client past any f...

Uploading Files to moss 2007 using WinForm

Hi Guys my client wanted application which can upload files from client folder to MOSS 2007 Site Library

Scenario:- When client past any file in a Folder call XYZ File upload should start!
Conclusion :- Apply File Watcher on folder XYZ folder so that all the activities can be traced

Code for Reference :-
//Attach Watch on particular folder
FileSystemWatcher oFileSystemWatcher = new FileSystemWatcher("D:\\redhatabhi\\xyz\\");
 //add watch on folder when New file is Created/Pasted/Moved
oFileSystemWatcher.Created += new FileSystemEventHandler(oFileSystemWatcher_Created);
// use following Property to Enable Event Raise in when new file are been added
oFileSystemWatcher.EnableRaisingEvents = true;
// use following Property for including Sub-folders also
oFileSystemWatcher.IncludeSubdirectories = true;

After applying this event you job is now to upload File in MOSS 2007.
Example :-
            FileInfo file = new FileInfo(e.FullPath);
            if (file.Extension == ".exe")
            notify.ShowBalloonTip(100, "Warning", "Uploading of Executable File is Not Allowed", ToolTipIcon.Warning);          
             using (SPSite oSPSite = new SPSite(siteURL))
            {
                using (SPWeb oSPWeb = oSPSite.OpenWeb())
                {
                    SPFolder oSPFolder = oSPWeb.GetFolder(oSPWeb.Url + "/DocumentLibrary/");
                    oSPFolder.Files.Add(file.Name, File.ReadAllBytes(file.FullName), true);
                    file.Delete();
                }        
             }