Skip to Content

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

duplicate id error while viewing tile in launchpad for 2nd time

Whenever clicking on a tile for 2nd time in a fiori launchpad , I am getting the duplicate id error for few controls. I searched on SCN and accordingly tried with createId() but still the error perists (it shows duplicate id for <viewid>--<id> in console error) which means even the id's generated using createId having the view id prefixed to it are also not getting cleared when the application is exited in 1st attempt

Strangely though , I have declared  number of controls in my app using hardcoded id's but the duplicate id comes only for few controls like BusyDialog , OverlayDailog , Carousel and Label. The error does not come for sap.m.List which is also having a hardcoded id.

Regards

Amber

replied

Well this ID is the ID of your busydialog which we talked about before.

After you close your oBusy_Dialog try:

oBusy_Dialog.destroy();

you should get the same error if you open your busydialog for the second time by the way. Shouldn't be an App-Reopen problem this time.

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