URL Parameter to Specify Initial Screen to Open?

Hello all,

I am experimenting with the Ignition Project Demo, and would like to know if it is possible to specify the initial screen as a URL parameter when launching the project? I know I can specify the initial screen in the project, but was hoping it could be achieved through the URL as well.

I searched the KB and forum but came up empty.

Thanks in advance!

Hi thinman,

Welcome to the forum. Yes, this can be done. Here’s how to do it:

  1. Open the Ignition Designer.
  2. Create a window called “MyStartingWindow” and put whatever components you want into it.
  3. Create a window called “MyOtherStartingWindow” and put whatever components you want into it.
  4. Create a client tag called StartingWindow (or whatever you want to call it).
  5. Add the following code to the Client Startup Script (this is a Client Event Script):
startingWindow = system.tag.read("[Client]StartingWindow").value
  1. Now you can start the client and start with any window you want by providing the window name in the URL that is used to start the client. Here are some examples:

http://localhost:8088/main/system/launch/client/myproject.jnlp?StartingWindow=MyStartingWindow http://localhost:8088/main/system/launch/client/myproject.jnlp?StartingWindow=MyOtherStartingWindow
What you are doing here is setting the value of a client tag via the URL and then using that value in a Client Startup Script to open a window.


Brilliant. Thanks so much nmudge. Greatly appreciated!


Can this be done when launching Ignition client in applet mode?
What would be the syntax for doing so?