Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

error adding element with duplicate id

I am using a js view, in which when I am clicking on an inputfield for thr first time a dialog box pops up, but when second time I do the same it gives an error saying adding element with duplicate id, I have tried using this.createId(), but its not working. Please share some solutions

Former Member

Check out this link.

Uncaught Error: Error: adding element with dupl... | SCN

otherwise destroy your dialog after processing by writing oDialog.destroy();

0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question