# Design Mode defualt View irrespactive of bindings for Customised templates/componenets

**URL:** <https://forum.inductiveautomation.com/t/design-mode-defualt-view-irrespactive-of-bindings-for-customised-templates-componenets/36745>\
**Category:** Ignition\
**Tags:** ignition80, vision\
**Created:** [July 16, 2020, 6:16am UTC](https://forum.inductiveautomation.com/t/design-mode-defualt-view-irrespactive-of-bindings-for-customised-templates-componenets/36745 "2020-07-16T06:16:53Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![snehal.raj](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@snehal.raj](https://forum.inductiveautomation.com/u/snehal.raj)\
**Post date:** [July 16, 2020, 6:16am UTC](https://forum.inductiveautomation.com/t/design-mode-defualt-view-irrespactive-of-bindings-for-customised-templates-componenets/36745/1 "2020-07-16T06:16:53Z")

</div>

I have made a customized template for motor, where i have used visibility and background color bindings with UDT tags. I can’t see all graphics in template in design mode, color changes to none in default, even if communication is off.

Is there any setting or any other way to see all items used in template in design mode irrespective of binding results??? ![image 2](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/a/2a039ed442464ab074625593819ec5a1033a94a3.jpeg)

 ![image 1](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/2/62019843647a13e075ca62b253edddbc1b6c8a58.jpeg)

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [July 16, 2020, 7:41am UTC](https://forum.inductiveautomation.com/t/design-mode-defualt-view-irrespactive-of-bindings-for-customised-templates-componenets/36745/2 "2020-07-16T07:41:52Z")

</div>

What do some of your bindings look like?  
I find it useful to create Internal Properties on the Template root that are bound to the tags that you’ll use within the Template. It makes your expressions shorter and allows you to test your templates with different values without having to change the tag values (in the case of development without a PLC, changing tag values isn’t possible without converting the tags from OPC to memory. Other times, these tags may be read-only or constantly overwritten by the PLC)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 16, 2020, 3:31pm UTC](https://forum.inductiveautomation.com/t/design-mode-defualt-view-irrespactive-of-bindings-for-customised-templates-componenets/36745/3 "2020-07-16T15:31:40Z")

</div>

If the bindings aren’t bidirectional, you can also just set arbitrary values within the designer; you may want to make sure your template is in a sane default state before saving, but the template will evaluate its bindings and overwrite its defaults whenever the windows load.

---

<div class="post-metadata">

**Author:** ![snehal.raj](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@snehal.raj](https://forum.inductiveautomation.com/u/snehal.raj)\
**Post date:** [July 17, 2020, 4:44am UTC](https://forum.inductiveautomation.com/t/design-mode-defualt-view-irrespactive-of-bindings-for-customised-templates-componenets/36745/4 "2020-07-17T04:44:35Z")

</div>

I tried with internal properties and bind my objects background color with it, but again i have to bind my internal properties to OPC tags. and the result is same, every time it evaluates binding results. however it is easy to change internal properties values.

But this do not serve my purpose. At least on template in design mode, binding results should be overwritten.

---

<div class="post-metadata">

**Author:** ![snehal.raj](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@snehal.raj](https://forum.inductiveautomation.com/u/snehal.raj)\
**Post date:** [July 17, 2020, 4:48am UTC](https://forum.inductiveautomation.com/t/design-mode-defualt-view-irrespactive-of-bindings-for-customised-templates-componenets/36745/5 "2020-07-17T04:48:33Z")

</div>

> [@paul-griffith](#):
>
> sane default state

Hey, what is sane default state? My bindings are not bidirectional. I set some values in designer but it again get changed when i reopen.

---

<div class="post-metadata">

**Author:** ![witman](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@witman](https://forum.inductiveautomation.com/u/witman)\
**Post date:** [July 17, 2020, 7:27am UTC](https://forum.inductiveautomation.com/t/design-mode-defualt-view-irrespactive-of-bindings-for-customised-templates-componenets/36745/6 "2020-07-17T07:27:50Z")

</div>

If you use expression bindings, you can add this condition to display as desired when in Designer and not testing–a “design mode”:

```java
// Show this if in designer and not testing.
(({[System]Client/System/SystemFlags} & 1) && !({[System]Client/System/SystemFlags} & 2))
// Also show under these conditions in client or testing in designer. 
|| runtimeCondition

```

Replace `runtimeCondition` with the expression you’d want evaluated for the binding in a client.

---

<div class="post-metadata">

**Author:** ![snehal.raj](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@snehal.raj](https://forum.inductiveautomation.com/u/snehal.raj)\
**Post date:** [July 17, 2020, 8:16am UTC](https://forum.inductiveautomation.com/t/design-mode-defualt-view-irrespactive-of-bindings-for-customised-templates-componenets/36745/7 "2020-07-17T08:16:59Z")

</div>

> [@witman](#):
>
> // Show this if in designer and not testing. (({[System]Client/System/SystemFlags} & 1) && !({[System]Client/System/SystemFlags} & 2)) // Also show under these conditions in client or testing in designer. ||

Yes, This is working fine, yes but it will make all binding expression a little long.

---

<div class="post-metadata">

**Author:** ![snehal.raj](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@snehal.raj](https://forum.inductiveautomation.com/u/snehal.raj)\
**Post date:** [July 17, 2020, 8:17am UTC](https://forum.inductiveautomation.com/t/design-mode-defualt-view-irrespactive-of-bindings-for-customised-templates-componenets/36745/8 "2020-07-17T08:17:14Z")

</div>

Thank you!
