MessageBox on Web

Hi,

Looking for some help…again! I have a button which calls an agent, which does some checks on documents. If all the documents have a status of ‘Closed’ they can be archived. However, if some of them are still open, I would like a messagebox to pop up in the browser informing the user that they couldnt be archived.

So, is it possible to display a messagebox from the agent…or how would i do it?

Thanks

F1H

Subject: MessageBox on Web

In your agent add the following script:

Print ""

and then exit the agent without making any changes.

Subject: RE: MessageBox on Web

Thanks for your suggestion :

I entered what you have suggested into my LotusScript agent but it doesn’t compile. It all shows up red.

Any suggestions…am i doing something wrong?

Thanks

F1H

Subject: RE: MessageBox on Web

Print "<script> alert('YOUR MESSAGE') </script>"

OR

Print "<script>"

Print “alert(‘YOUR MESSAGE’)”

Print “”

Subject: RE: MessageBox on Web

Thank you very much! thats working a treat!!

F1H