AL icon indicating copy to clipboard operation
AL copied to clipboard

CurrPage.Close doesn't work

Open olisterr opened this issue 8 years ago • 6 comments

Hi, I've a page that is run through the code. And code is written OnQueryClose trigger. The code is executed but the Current Page doesn't get closed

olisterr avatar Feb 20 '18 10:02 olisterr

Could you please provide a code sample for us to understand the problem better?

StanislawStempin avatar Feb 20 '18 11:02 StanislawStempin

@olisterrcf In the February update this should be fixed.

thpeder avatar Feb 20 '18 12:02 thpeder

Hi, I've already installed NAV 2018 CU2. I've a page i.e "page1" which calls another page's ie. "page2" global method a.k.a page2.function1() and then runs the page using page2.RUN. OnQueryClosePage trigger of page2, I've called the global method of Page1 using a.k.a page1.function2().

The method page1.function2() is executed properly but, page 2 doesn't close.

olisterr avatar Feb 21 '18 03:02 olisterr

Hi, I've also check calling the page without adding code in OnQueryClosePage trigger, the page closes. If I add the trigger and put a message box the page doesn't close.

olisterr avatar Feb 21 '18 05:02 olisterr

February Update refers to the latest Developer Preview release for Dynamics 365 "Tenerife". Please see this FAQ entry for more details on NAV 2018 issues: https://github.com/Microsoft/AL/wiki/Frequently-Asked-Questions#nav-2018-issues

StanislawStempin avatar Feb 21 '18 08:02 StanislawStempin

Please use standard channels for support of Nav 2018 as said https://github.com/Microsoft/AL/wiki/Frequently-Asked-Questions#i-found-an-issue-on-nav-2018-what-do-i-do

doivosevic avatar May 04 '18 07:05 doivosevic