# URL Parameter to Specify Initial Screen to Open?

**URL:** <https://forum.inductiveautomation.com/t/url-parameter-to-specify-initial-screen-to-open/11161>\
**Category:** Ignition\
**Created:** [February 2, 2016, 9:07pm UTC](https://forum.inductiveautomation.com/t/url-parameter-to-specify-initial-screen-to-open/11161 "2016-02-02T21:07:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![thinman](https://avatars.discourse-cdn.com/v4/letter/t/cdc98d/32.png) [@thinman](https://forum.inductiveautomation.com/u/thinman)\
**Post date:** [February 2, 2016, 9:07pm UTC](https://forum.inductiveautomation.com/t/url-parameter-to-specify-initial-screen-to-open/11161/1 "2016-02-02T21:07:15Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![nmudge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nmudge/32/3394_2.png) [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Post date:** [February 2, 2016, 9:27pm UTC](https://forum.inductiveautomation.com/t/url-parameter-to-specify-initial-screen-to-open/11161/2 "2016-02-02T21:27:00Z")

</div>

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):

```auto
startingWindow = system.tag.read("[Client]StartingWindow").value
system.nav.openWindow(startingWindow)
```

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.

Best,

---

<div class="post-metadata">

**Author:** ![thinman](https://avatars.discourse-cdn.com/v4/letter/t/cdc98d/32.png) [@thinman](https://forum.inductiveautomation.com/u/thinman)\
**Post date:** [February 3, 2016, 1:52am UTC](https://forum.inductiveautomation.com/t/url-parameter-to-specify-initial-screen-to-open/11161/3 "2016-02-03T01:52:02Z")

</div>

Brilliant. Thanks so much nmudge. Greatly appreciated!

---

<div class="post-metadata">

**Author:** ![Tarmo\_inproso](https://avatars.discourse-cdn.com/v4/letter/t/e68b1a/32.png) [@Tarmo\_inproso](https://forum.inductiveautomation.com/u/Tarmo_inproso)\
**Post date:** [March 18, 2016, 7:25am UTC](https://forum.inductiveautomation.com/t/url-parameter-to-specify-initial-screen-to-open/11161/4 "2016-03-18T07:25:59Z")

</div>

Hi

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

Thanks!
