Hi,
I am using the component FoundSet List. And this works fine. I can manipulatie the data and the screen is updated fine.
For some reason (I just found out) when going to another form and then switching back Nothing is shown anymore? No matter what I try.
Is this a known issue?
As an work around: Is there maybe an option to ‘kill’ the form so that is is always the first time the screen is loaded?
patrick1645350822:
As an work around: Is there maybe an option to ‘kill’ the form so that is is always the first time the screen is loaded?
Hi Patrick,
when you remove the form from Servoy’s history stack, the form will be unloaded and re-initialised the next time you visit it.
history.removeForm(formName)
To me this seems a bit of an overkill and it should be possible to do without.
Could it be that you’re setting some properties onLoad / onShow(first), which should actually be executed on every show?
Hi Marc,
Thanks for the response. Your solution does work!
I totally agree with you that this is not the solution but a good workaround until we fix this in a proper matter.
And no it has nothin to do with onLoad / onShow. They are not used is is only a basic form with an FoundSet List on it and some styling. That makes it so strange.
Just made a ticket to the Servoy Support team.
I now know for sure that screens that were working without a change of my code stoped working (on a second view).
I did do an upgrade to the lates Servoy Version: 2023.3.0.3842. So I think thats contains the issue.