AL
AL copied to clipboard
[Question] ModalPageHandler Close Page with OK
In a Test Codeunit there is a modal call to a Page. I am handling this Page with a ModalPageHandler. In order to execute the Page Logic I need the Page to be closed with OK. Does anybody know how i do that? There is a function called TestPage.OK(), but I do not know how to use it.
@OleTeichmann should be TestPage.OK.Invoke()
TestPage.OK.Invoke(), I believe. OK is an action object which you need to invoke, not a function
@tfenster @vytjak Thanks that works 👍