A picture is worth a thousand words they say, so here it goes, a page loads and for a fractions of a second the following is shown:
a fraction of seconds later the page loads with the correct values as below:
the above is most likely due to the fact that the component above is a view inside a repeater component which passes a text to be shown inside a label (the "Generale" and "Antiscintilla" shown above) and an input parameter "edit" which when set to True shows the two above icons (the trash icon and the pencil icon).
The flicker of a fraction of second usually is due to one of the below conditions:
the view shown by the repeater has some default parameters which are inserted when the view is executed inside the designer with the "play" button and all views' pararameters are populated with their values. Then the project is saved, the designer closed and these parameters' values are stored as defaults.
the view shows some elements by default and a binding or script hides the elements at startup, in the mean time between loading and executing the scripts, the elements are briefly shown.
none of the above two cases: some cases are simply non-fixable and the customer is left with this confusing flicker of the screen.
Will it ever be possible to remove this behaviour (which I remember since the first editions of Ignition) which, at the moment, in the best cases requires significant time and effort to be fixed by development team and in worst cases is left as is to the customer being basically unfixable?
Setting the property binding as Persistent likely only helps if the binding value when the view was last saved is the same as when it is used/embedded. It also can cause grief if you are trying to keep a standard set of views synced between multiple ignition deployments. When "persistent" the value of the resolved property binding is saved with the view and if someone opens/closes the view at a different time or on a different servers the saved resolved property binding value can differ even though the configuration of the view is otherwise equivalent. Likely only a concern if you are exporting views as JSON and doing text based compares... which I do.
I'm going to keep plugging my EmbeddedView+ component until someone from IA acknowledges that things could be improved
Edit: Here’s the original example video again (it’s for the Flex Repeater version, but the same improvements apply). Probably about time for an updated/simpler demonstration….