Prompt a user that a new data arrived

How can i send a notification to a specified user that a new data has arrived in their respective Private View.

Subject: Subscribing to databases to receive the latest updates

Headlines/Subcriptions are a little know gem with Lotus Notes…

From the help file…

GETTING STARTED

Subscribing to databases to receive the latest updates

Database subscriptions allow you to receive real-time updates from your favorite Notes databases right on the Welcome Page. A database subscription is a document that displays the information you choose to monitor in a database. To subscribe to a particular database, the server that the database resides on must support subscriptions and allow headline monitoring. By default you have a New Mail subscription already set up in the subscriptions database that, when enabled, notifies you when you have new mail.

You can view your database subscription forms in the Database Subscriptions (also known as Headlines) database (headline.nsf), located in your Favorites folder on the Bookmark bar. Headline.nsf is automatically created from the template headine.ntf and is located in your Notes/Data directory. If you do not see the Database Subscriptions (or Headlines) bookmark in your Favorites folder, choose File - Database - Open and open headline.nsf from your Notes/Data directory.

Click any of these topics:

To enable or disable subscriptions for a database

To create a subscription for a database

To check for database subscription updates

To display database subscription results on your Welcome Page

To edit database subscription information

To enable or disable individual database subscriptions

To set a time when database subscription results should be automatically deleted

To enable or disable subscriptions for a database

  1. Choose File - Preferences - User Preferences.
    Macintosh OS X users: Notes - Preferences - User Preferences.

  2. Click Basics, and under “Startup Options” select or deselect “Check subscriptions.”

Notes

If you do not use subscriptions, make sure they are disabled to optimize the performance of Notes. Disabling subscriptions can save up to four megabytes of memory.

If you have an old headline.nsf, you can update it in these ways:

Delete headline.nsf and it will be recreated with the new template information.

Change the archiving on headlines.nsf to purge every 2 days instead of 365.

Disable the New Mail subscription in the headline.nsf database.

Manually purge the subscription results by right-clicking New Mail results on the Database Subscription outline and select Remove in the pop-up.

Go to top

To create a subscription for a database

  1. Open the database to subscribe to.

  2. Choose Create - Subscription.

  3. In the Subscription form, select the options you want to be notified of in the database, and then click OK or Save and Close.

Notes

If you cannot create a subscription for a database, contact your administrator for help.

Subscription forms can vary for each database. If you have trouble with the form see the database designer for more information.

Go to top

To check for database subscription updates

Notes checks for database subscription results twice as often as it checks for new mail. For example, if you set your preferences to check for mail every four minutes, Notes checks for database subscription results every two minutes. To set your new mail notification settings, see Setting the way Notes announces new mail.

Go to top

To display database subscription results on your Welcome Page

  1. From your Welcome Page, click the top border of the Welcome Page that says “Click here for more Welcome Page options,” then click the “Create a new Welcome Page” button.

  2. Use the Welcome Page wizard to set up your Welcome Page. When choosing what you would like on your Welcome Page, select to have frames, and then select Subscriptions for a frame content.

Note You can also check your subscription results in the Database Subscriptions database, headline.nsf.

Go to top

To edit database subscription information

  1. Open the Database Subscriptions database, headline.nsf, and click “Subscription options” in the upper left corner, or if you have subscriptions displayed on your Welcome Page, click Customize in the Subscriptions frame.

  2. Select a subscription and click Edit.

  3. Edit the subscription, and then click OK or Save and Close.

Go to top

To enable or disable individual database subscriptions

You can enable some subscriptions and disable others that you don’t want to check on a regular basis.

  1. Open the Database Subscriptions database, headline.nsf, and click “Subscription options,” or if you have subscriptions displayed on your Welcome Page, click Customize in the Subscriptions frame.

  2. Select a subscription, and click Enabled/Disabled.

Go to top

To set a time when database subscription results should be automatically deleted

  1. Open the Database Subscriptions database, headline.nsf, and click “Subscription options,” or if you have subscriptions displayed on your Welcome Page, click Customize in the Subscriptions frame.

  2. Select a subscription, and click “Global Subscription Results Expiration.”

  3. Select “Keep results forever” or “Automatically discard after”, and enter the amount of days.

  4. Click OK.

Go to top

See Also

Opening and creating a Welcome Page

Opening a database

Increasing database performance and functionality

Subject: Prompt a user that a new data arrived

Create a ‘new or saved document’ agent that interrogates tyhe new document, finds out which private view it would end up in, and then emails that person using @mailsendChris Boote

Subject: RE: Prompt a user that a new data arrived

Thanks for the Info but i would like to send a pop up that will not use the mailsend of notes. Thanks…

Subject: RE: Prompt a user that a new data arrived

Well, your agent COULD do a msgbox instead of a mailsend, but if you want a true modal popup, then you’ll have to start getting into the API I thinkChris