I have a system that we want to add an acknowledgement page so that when a user opens the software they have to acknowledge a security statement before getting into the software. I thought I would just have the startup window be the acknowledgement and have the acknowledgement button close itself and open the actual start window, and that almost does what I need. The problem is that I have a few items in the menubar that I want to disable too. What have other people done for this type of task? I would like to hide the menubar and have it shown when the page is acknowledged, but I see in the forum that the only way to do that is JavaX.Swing, and I was hoping there’s a simpler option. This is something I’m trying to add to an existing project, so I’d prefer to not have to develop an alternative to the menubar. I have thought about using a tag that must be true and have each menubar script cancel itself, but that’s pretty clunky. Any ideas? Currently, the system auto logs in all users based on their windows credentials. I also thought about using the login page for this, but that would be quite a bit of re-work to set up all the users within Ignition.
If this is vision you might be able to make use of a 'dummy' project that only has the acknowledgement popup in it, and when a user accepts, it uses system.util.retarget
to open the actual project.
You could even go so far as to hide the main project from the client launcher, so they can't bypass the acknowledgement.
3 Likes