# PARAMS disappearing

**URL:** <https://forum.inductiveautomation.com/t/params-disappearing/26922>\
**Category:** Ignition Early Access\
**Created:** [July 26, 2019, 10:29pm UTC](https://forum.inductiveautomation.com/t/params-disappearing/26922 "2019-07-26T22:29:56Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![craigb](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@craigb](https://forum.inductiveautomation.com/u/craigb)\
**Post date:** [July 26, 2019, 10:29pm UTC](https://forum.inductiveautomation.com/t/params-disappearing/26922/1 "2019-07-26T22:29:56Z")

</div>

When I set up a value in PARAMS as an input to accept a parameter when opening a view, It disappears when I save and close the designer and re-open it. Only if I set it to persistent will it stay.

---

<div class="post-metadata">

**Author:** ![osolorzano](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/osolorzano/32/6432_2.png) [@osolorzano](https://forum.inductiveautomation.com/u/osolorzano)\
**Post date:** [July 26, 2019, 11:54pm UTC](https://forum.inductiveautomation.com/t/params-disappearing/26922/2 "2019-07-26T23:54:27Z")

</div>

This sounds like expected functionality, when a property is not Persistent then it will not appear in the designer until a binding or some external force acts on the property. It’s explained a bit better in the manual [https://docs.inductiveautomation.com/display/DOC80/Perspective+Component+Properties](https://docs.inductiveautomation.com/display/DOC80/Perspective+Component+Properties)  
By default params should be persistent which should prevent this from happening.

---

<div class="post-metadata">

**Author:** ![tyrel.parker](https://avatars.discourse-cdn.com/v4/letter/t/47e85d/32.png) [@tyrel.parker](https://forum.inductiveautomation.com/u/tyrel.parker)\
**Post date:** [January 15, 2020, 5:18pm UTC](https://forum.inductiveautomation.com/t/params-disappearing/26922/3 "2020-01-15T17:18:58Z")

</div>

How do I make the values of the param not persistent while keeping the param persistent?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [January 15, 2020, 5:49pm UTC](https://forum.inductiveautomation.com/t/params-disappearing/26922/4 "2020-01-15T17:49:45Z")

</div>

There’s a bit of confusion here as to what you’re asking, so I’m going to attempt to answer your question and if you find this isn’t enough you might need to provide some more clarification on what you are trying to do and how the current param is failing to meet your needs.

Declared/defined/configured parameters must _always_ have a value. This value can be whatever you want, including `null` or an empty string, but they have to have some sort of value which is considered a default or fallback value.

When your View is constructed in a session, if these params are not provided by whatever mechanism is constructing the View, then these default values will be used. If the mechanism provides param values for your params, then the default values will not be used, and the supplied values will be used instead.

So you are not able to make a param value “non-persistent” because a “rule” of Perspective (and I _think_ Vision as well) is that every property must have a value, even if that value is `null`, but you are able to override the param value with whatever mechanism you’re using to display the View (Embedded View, Flex Repeater, View Canvas, View Navigation) by supplying param values.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [January 15, 2020, 5:52pm UTC](https://forum.inductiveautomation.com/t/params-disappearing/26922/5 "2020-01-15T17:52:59Z")

</div>

If you’re asking why toggling the “Persistent” checkbox is resulting in your params disappearing, then you must understand that making some property non-persistent is essentially a way of telling the Designer “I need this property for now, but when I save the project do NOT save this property”.

So Properties which are NOT Persistent are NOT saved when you save the project, and so will disappear once the View in question is closed.

Please do not confuse Designer property “Persistence”, with property value retention.

---

<div class="post-metadata">

**Author:** ![tyrel.parker](https://avatars.discourse-cdn.com/v4/letter/t/47e85d/32.png) [@tyrel.parker](https://forum.inductiveautomation.com/u/tyrel.parker)\
**Post date:** [January 15, 2020, 5:55pm UTC](https://forum.inductiveautomation.com/t/params-disappearing/26922/6 "2020-01-15T17:55:39Z")

</div>

In the designer I have put in values to some of my params to use for testing purposes but I do not want those values that I plug in there to be saved. I would like to set the default to x and then be able to use y in the designer for testing and then have it return to the default once I leave the designer, and not have y ever saved in the project.

---

<div class="post-metadata">

**Author:** ![tyrel.parker](https://avatars.discourse-cdn.com/v4/letter/t/47e85d/32.png) [@tyrel.parker](https://forum.inductiveautomation.com/u/tyrel.parker)\
**Post date:** [January 15, 2020, 5:56pm UTC](https://forum.inductiveautomation.com/t/params-disappearing/26922/7 "2020-01-15T17:56:22Z")

</div>

Essentially I keep forgetting to return those params to the default value and it is irritating.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [January 15, 2020, 6:06pm UTC](https://forum.inductiveautomation.com/t/params-disappearing/26922/8 "2020-01-15T18:06:02Z")

</div>

Ah, I see. There is no way to tell the Designer that you do not want changes to values saved. As you’ve specified that the changes you are making are for testing, then you should be using a session to test different values, not the Designer. Changes made in the Designer - whether to properties or resources - are an all-or-nothing collection when it comes to saving; your options are either to save everything you have done or revert any changes you have made since the last save.

---

<div class="post-metadata">

**Author:** ![tyrel.parker](https://avatars.discourse-cdn.com/v4/letter/t/47e85d/32.png) [@tyrel.parker](https://forum.inductiveautomation.com/u/tyrel.parker)\
**Post date:** [January 15, 2020, 6:11pm UTC](https://forum.inductiveautomation.com/t/params-disappearing/26922/9 "2020-01-15T18:11:34Z")

</div>

I understand. Sometimes it’s just quicker/easier to punch a value in for testing. Although that doesn’t hold if you forget about it.

---

<div class="post-metadata">

**Author:** ![hunterdg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/hunterdg/32/67774_2.png) [@hunterdg](https://forum.inductiveautomation.com/u/hunterdg)\
**Post date:** [May 16, 2020, 8:21am UTC](https://forum.inductiveautomation.com/t/params-disappearing/26922/10 "2020-05-16T08:21:32Z")

</div>

FYI, the manual you linked to and the designer pop-up explain that _values only_ are affected by the persistent preference

> **Persistent** : States that the _value_ set on the property should be saved, and loaded when the view first opens. This effectively allows you to determine the initial value on a property when the view opens. While the property is enabled by default, bindings on a property will always execute after the view opens, potentially overriding the persistent value. When persistence is turned off on a property, a Persistent ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/9/947d4c9a781e71f6c15342f326f381773f4633ae.png) icon is displayed in the Property Editor.

> The _value_ of this property will not be saved with the view

 ![Screen Shot 2020-05-16 at 1.31.45 AM](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/6f82d4df12fbd93cc5a96e5ac494b7be60cddc58.png)
