You can hide/show button with this formula for [Role] which you want
agentName := "AgentName";
@if( @IsAgentEnabled(agentName) = "0"; @Command([AgentEnableDisable]; agentName; "1");
""
This code will enable anget.
You could do this in lotusscript but why would you if there are @functions available?
If you add buttons that also display the agent's lastrun time this could be used to view a status of all relevant agents.
originally from http://www.notesninjas.com/
No comments :
Post a Comment