We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Running agent causes page not found

paynestreet
paynestreet asked
on
Medium Priority
259 Views
Last Modified: 2013-12-18
When I put in the following code in an agent and ran the agent from WQS, I got "page not found" with
https://usdeva001.chicago.na.com/applications/s-z/trmptest.nsf/69be38fe9d5b1ff4862571160076c749?OpenForm&Seq=1

in the http address field.

FIELD SendTo:="Michael Rothschild";
FIELD CopyTo:=@Author;
FIELD Subject:=@If(@IsNewDoc;"New ";"Update To ") + ProjName;
@MailSend(SendTo;  CopyTo;  ""; Subject; ""; ""; [IncludeDoclink]);

The app works fine if I don't run the agent
Comment
Watch Question

Commented:
Hi paynestreet,
@Mailsend is unique to the NotesClient..
http://www-128.ibm.com/developerworks/lotus/library/ls-appstoWeb/
They work only in the Notes client interface. There are no browser counterparts to @DialogBox, @Picklist, and @Prompt, for example. And several advanced mail-handling functions are unique to the Notes client, such as @MailSend and @IsDocBeingMailed.

What is it that you're trying to do?

Regards!

Author

Commented:
I want to send an email to notify the admin that a new project has been entered or updated.
Is this doable in LotusScript?
Commented:
paynestreet,

Yup, look at the mail database in the Memo form, and check the WebQuerySave event, it basically calls wmail agent, which if you check the agent it does a bunch of things ... etc.

So, you can call lotus script agents on the web, but the form, you just submit, and run the notification on the webQuerySave.  :)

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.