Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 221
  • Last Modified:

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.
0
awuebben
Asked:
awuebben
2 Solutions
 
Sjef BosmanGroupware ConsultantCommented:
It is not necessarily the button that gives the message. More likely, the form "Report Request" is using @-functions with a modified behaviour. Check there as well.
0
 
HemanthaKumarCommented:
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
0
 
qwaleteeCommented:
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.
0
 
awuebbenAuthor Commented:
Just to clarify, @Commands should never be in the DEFAULT VALUE?
0
 
qwaleteeCommented:
Correct.  @Commands should only be in:

Buttons
Action hotspots
Action buttons (the row of buttons at the top of forms/views)
Agents
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now