Ashok Mammen has published a great introductory article to the new Notes Document Container in Notes 8.5.1. The great thing about this container – like all of the others – is you can completely define the inputs and outputs right within CAE and not have to use WSDL or Designer. There are also some special settings that give this container some niceties due to its nature. For instance, you can tell the application how the view and perspective should be reset when a document is closed or sent.
Referenced Article is here.