Created by Jake Howlett on 05/12/2004. Modified: 12/05/2004 14:29

Message

Lotus Notes Exception - @Function is not valid in this context

Synopsis

Another that can take you a while to track-down.

Solutions

Usually due to an Hotspot that uses something like @Command([FileSave]) when the document is in read-mode or @Command([EditDocument]) when it's already being edited.

Jake on 12/05/2004 14:30

Maybe you are trying to do something like create a response document:

@Command([Compose];"rq")

from a page that is NOT a document.

Jake on 12/05/2004 14:46

@GetIMContactListGroupNames on the web causes this error.

Jim Knight on 11/14/2004 17:02

I m facing same probs when i used @Dbcommand("domino";"nagigatenextpage") and same for previous ,and i click on the next or prev button the url change automatically , when u view log there it shows @function is not valid in that context. I could not understand the reason behind that.

Rishi on 04/20/2005 08:44

This basically have to do with the requirements of the function that you call.

For example @SetViewInfo, requires at least 1 view to be open.

Raz on 11/05/2006 09:11 PM

Use this form to add a suggested cause or solution which you think might help.

Adding content is disabled. The spammer have won.