Hi all,I create an $$ViewTemplateforXXX form for a view.I want to create an agent for exporting to Excel with code of " Print |Content-Type:application/vnd.ms-excel| Print |Content-Disposition:Attachment; filename=“Report.xls”| ". and call it when export button in template form is onclick. But the agent cannot be excuted. An error is come as “HTTP Web Server: Lotus Notes Exception - Unsupported trigger and search in the background or embedded agent”. Are there any way to do this?
the agent is running well in R5
Thanks
Subject: Help me please : Cannot run an agent in the template of a view.
-
Have you sign the agent?2) Check the agent property, see how it is triggered
-
Are you using any restricted operation, like accessing file system?
Subject: RE: Help me please : Cannot run an agent in the template of a view.
1)I signed the agent.2)it is triggered on event;running time : Action menu selection;target:none,I have tryed all documents in DB,too.
3)it export a view’content.so It must access view,and its documents.
when I put the agent in a blank form,just a button trigger it, it can just export view’s column title.it can not access documents.But I am sure the current user has his own documents.
How it happenes?
Subject: RE: Help me please : Cannot run an agent in the template of a view.
below are the setting of my agent
Agent property
Shared
Trigger: on event
Action menu selection
target:none
run as web user → if this is not ticked the agent will run as the signer.
I guess u just upgrade to R6, try to check the server doc, see if the user hav right to run any agent.