• Nothing created

    By Martin Krauss88 2 decades ago

    Hello,

    I tried out this one. I followed all the instructions. I do not get any error message, but no audit log is created.

    I saw in the configuration doc that "save only" is not supported in the web.

    I call an agent in the webquerysave event (where I included the one needed for this application), but if the user closes the doc it is a simple javascript window.close(). Does this application cannot work with an app like mine ?

    Martin

    • window.close()

      By Chad Schelfhout 2 decades ago

      My understanding is the window.close method only closes the window but never submits the document back to the server. Which means the WebQuerySave never gets executed, which is why the log is never created.

      • document.submit()

        By Martin Krauss88 2 decades ago

        You are right. I have divided save and close into two steps. The first button executes document.forms[0].submit and the second button executes window.close.



        When I look into the config doc I can see three checkboxes you can select when audit tracks are made



        Document create

        Document save (In the help it says not in the web)

        Document close



        So is it possible to run this application with the way to save and close docs above ? Why is audit save not possible in a web application

        Martin

        • client and web

          By Chad Schelfhout 2 decades ago

          In the Notes client I can save the document but not close the document. That is why there are two different events. On the web everything is a submit, so I equated submit to close and not to save.