Hi!
I'm using system.gui.confirm() in a scripting code that is executed via the scripting console.
How could I do that now?
Thx!
Hi!
I'm using system.gui.confirm() in a scripting code that is executed via the scripting console.
How could I do that now?
Thx!
It still exists for backwards compatibility, but is deprecated (and hidden from autocomplete).
Its replacement is system.vision.showConfirm()
: system.vision.showConfirm | Ignition User Manual
When I need to, I'll update the corresponding functions.
Is there any way of knowing what of my current functions are deprecated? Even if they have backwards compatibility.
I suposse I have to check manually each function?
Hmm, I suppose this section should be the reference, but it seems to be incomplete: 8.1 to 8.3 Upgrade Guide | Ignition User Manual
I don't know if there's any other way besides checking documentation or noticing it's hidden from autocomplete.
Thanks Kevin
I pinged the docs team about that section in the upgrade guide.
Turns out I just missed the right section: 8.1 to 8.3 Upgrade Guide | Ignition User Manual
Thanks! I'll check it
system.gui
and system.nav
will still be visible as long as you're in a script editor with designer scoped autocomplete. Such as the script console:
The vast majority of the functions marked as deprecated in 8.3 are "soft" deprecated in this way - they're deemphasized in autocomplete and the popup guides you to the replacement function.
It's worth noting that there's zero urgency to migrate. Just because the function is deprecated does not mean we have any plans to break it, intentionally or unintentionally. We have a strict backwards compatibility policy for our scripting functions.