Link to home
Start Free TrialLog in
Avatar of awuebben
awuebben

asked on

Upgrade to Lotus Notes 6.0 - Agent Fails

When our company converted to Lotus Notes 6.0, the "New Request" Action button for the Main Form gets an error message "@Commands and other UI Functions are not allowed in this context" However, the "Edit Document: Action button works. The Formula for the New Request is: @Command([Compose];"Report Request") This worked in 5.0 and has stopped working since the Upgrade.
ASKER CERTIFIED SOLUTION
Avatar of Sjef Bosman
Sjef Bosman
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of HemanthaKumar
HemanthaKumar

Are you running any agent in the form or button.. which has option NOT selected as Run Once but has @commands in it ??

Look for any such kind of agents and change it to run once type

~Hemanth
Sounds like Sjef is on the mark.  Instead of hitting the button, try clicking in the Create menu to open the Report Request form.  It it fails there as well, then you know it is the form itself.  (If the form does not appear in the create menu, then edit the form in Designer, and enable the form property to dispaly in the create menu.)

Where is it going wrong?  Take a design synopsis, and search for @Command.  For each one that you find, see if it is in a DEFAULT VALUE formula or a FORMULA.  It should never be there.  I'm surprised it worked in R% -- most of that was disabled in R4 (!), and were only allowed in R3, where they didn't fail, but they didn't do anything either.
Avatar of awuebben

ASKER

Just to clarify, @Commands should never be in the DEFAULT VALUE?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial