Re: setting alerts programmatically

From: RG (rajcfn_at_yahoo.com)
Date: 05/14/04


Date: 14 May 2004 15:03:32 -0700

Jan,

thanks for the message. I did look at your web part, but my question
is, is it possible to add alert for an area not a list within an area.

Like in the code below, is it possible to set alert on a selected Area
and not an SPList object for the current user.

System.Guid newAlertGuid = user.Alerts.Add(selectedList,
GetSelectedChangeType(), GetSelectedFrequency());

Any help appreciated.
RG
                        

"Jan Tielens" <jan@no.spam.please.leadit.be> wrote in message news:<e7JGWZKOEHA.4044@TK2MSFTNGP10.phx.gbl>...
> This is possible, I've created a web part with similar features:
> http://weblogs.asp.net/jan/archive/2004/03/27/97335.aspx
>
> You can download the source code, so you can have a look how I solved it. If
> you have any problems, let me know.
> --
> Greetz
> Jan
> ____________________
> Read my weblog: http://weblogs.asp.net/jan
> "RG" <rajcfn@yahoo.com> schreef in bericht
> news:10d11d03.0405110747.244f95f3@posting.google.com...
> > For my current assignment, I have to write a web part that displays
> > all the areas within the portal and user should be able to select an
> > area from that list and set alert (including contains keyword,etc) for
> > that area .
> >
> > Can any one please let me know if this is possible as I do not see if
> > I can create alerts for an area within the portal. I could see
> > creating alerts for lists though, but for an area



Relevant Pages

  • Re: AV detection of malware during real-time web browsing (cache, java, etc)?
    ... I have a few ideas on ways of obtaining blacklisted urls lists ... Did NOD32 alert? ... Thanks to Dave Lipman who sent me a couple of lists of possibilities, ... If IE is set to Maximum security, KAV 6 doesn't alert. ...
    (alt.comp.anti-virus)
  • Re: WSS 3.0 sends new subscription alert, but no further alerts
    ... when i turn up sharepoint diag logs, i can see where the initial alert is ... i have tested SMTP... ... this is happening on all lists. ...
    (microsoft.public.sharepoint.windowsservices)
  • Alert me for companyweb options
    ... Can you tell me if it's possible to setup an alert on the ... companyweb site for a helpdesk list to alert the user that has had a tasks ... task (pretty basic helpdesk function), can seem to get it do do that anywhere! ... is it possible to make options in lists only avalible to specific ...
    (microsoft.public.backoffice.smallbiz2000)
  • Re: SharePoint Portal Architecture
    ... The mentioned book seems to be a very good ... the database to make the changes in the subsites where the checkboxes ... populated with read-only users accept for 2 maybe 3 lists. ... Since the alert engine, as I understand it, scans ...
    (microsoft.public.sharepoint.portalserver)
  • Re: WSS 3.0 sends new subscription alert, but no further alerts
    ... i get the initial "welcome to" email that confirms the alert has been set... ... this is happening on all lists. ... i'm sure this issue is not SMTP. ... the issue is that sharepoint is not generating alerts. ...
    (microsoft.public.sharepoint.windowsservices)