Show TOC

 OfficeControl EventsLocate this document in the navigation structure

Events in View Designer
  • onClose

    Action executed when the document is closed. This is the case, when the document is displayed in a separate window and the user chooses either the key combination Alt + F4 or the Close icon on the toolbar of the Office application to close the document.

    Parameter Name Type Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

  • onError

    Event triggered if there is an error

    Parameter Name Type Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    ID

    I

    ID of message class

    MESSAGE

    STRING

    Number of the message in the message class

  • onSave

    Action executed when the document is saved. This action is also triggered when a document that has been changed is saved. This is the case, when the user chooses either the key combination Crtl + S or the Save icon on the toolbar of the Office application.

    Parameter Name Type Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter