Multiview addView

In a multiview addview function, how do I check there is already a view exists with specific ID before creating using addview?.

any help?

There’s no any specific event to catch, but you can generate a new ID before implementing addView.

For example, here’s the demo where the value of the text input is based on the counter’s value. The same way you can configure a new ID.

The most simple checkup will look like

if ($$("view_id")) { . . . } //false, if the view with the specified ID doesn't exist

Thank you