Hello,
Within the designer, is "Uses notifier for displaying alerts?" checked
in "Project Settings"?
Also, your code might be perfect, but gadgets will refuse to actually
display the alerts unless the user opts-in and allows it. So make sure
your gadget is running and within the sidebar go to "Options >
Configure Gadgets". Find your gadget among the list and check the
"Enable alerts" checkbox. Be sure your users are aware of this too.
And as you've seen, the notifications do not work in the designer
preview.
Cheers!
James
hunt...@gmail.com wrote:
Hey All,
I've doen searches and tried the code snippets here
in the group but I still can't get notification working.
Does anyone have a good simple example of working notifications
I can look at and work through what is happening?
Right now when I do this:
ci = new ContentItem();
ci.heading = "Heading";
cnArea.AddContentItem(ci, gddItemDisplayAsNotification);
In the designer I get an error saying 'Code:0x800a01ad Description:
Automation server can't create Object". And if I run it from Google
Desktop nothing happens.
Any ideas?