Page 1 of 1

nuEditCloseAfterSave Option Allforms and Run object

Posted: Sat Jul 01, 2023 12:20 pm
by yvesf
Hello,

I am experiencing a pb when using this new nice option : nuEditCloseAfterSaveOption doesn't work with run object when set to AllForms.
Scenario :
I have a launch form which contains 2 objects : input date as date that drives the run iframe object below.
screen1.PNG
1.- If nuEditCloseAfterSave option is set to None,
CaptureNone.PNG
the record is saved and the application is working as expected.(cf below)
SavePbWithoutAutomaticClose.gif
2.- If nuEidtCloseAfterSave option is set to AllForms,
CaptureAllForms.PNG
--> the application is running in a loop.
SavePbWithAutomaticClose.gif
Here is the related exposed solution -->
07-01-2023_091912_649ffda080602_nuBuilder_backup.sql.gzip
Any idea how to solve that ?
Many thanks for your help,

Yves

Re: nuEditCloseAfterSave Option Allforms and Run object

Posted: Sat Jul 01, 2023 3:59 pm
by yvesf
I have found a solution but I think we have to fix this option globally.
Workaround :
Behind each form you want to have this behavior, on the custom tab, add this code below :

Code: Select all

function nuAfterSave() {
	nuGetBreadcrumb(0);
	}

Re: nuEditCloseAfterSave Option Allforms and Run object

Posted: Sat Jul 01, 2023 3:59 pm
by yvesf
It doesn't solve the bug in the product but it is a good workaround.