Gary,
I was able to get the approval button into an agent, remove the uidoc (notes work space) variable and replace it with webdoc (the current document context) like the denial and pending actions. It all works with the exception that the Status field doesn't get updated to "approved".
With this information I noticed that the Team Leader - Denied button also doesn't work because of the same issue, the status never gets changed to denied. Both actions work in the client, but not on the web.
All I need to figure out is how to change the status field using either formula or lotuscript that will work in a web browser.
I thought that this would work but it doesn't:
FIELD Status := "Yes";
I also tried:
@SetField("Approved"; "Yes");
Oh, and this lotuscript also doesn't work:
webdoc.fieldsettext("Approved" , "Yes")
I'll check some resources and post back, let me know if you have any ideas…
–Shaun