Skip to Content
0

Unable to use sap.ui.ux3.Shell

Dec 16, 2016 at 03:05 PM

12

avatar image

Hi Team,

I am unable to use sap.ui.ux3.Shell. My requirement is that, I have 3 different view. In that three view have different controls. But problem is that when I am navigate to one view to another view it shows the below error.

Uncaught Error: Error: adding element with duplicate id 'Btn_Validate' at constructor.k.registerElement (sap-ui-core.js:134) at f.e.register (sap-ui-core.js:134) at f.constructor (sap-ui-core.js:134) at f.constructor (sap-ui-core.js:134) at f.constructor (sap-ui-core.js:134) at new f (sap-ui-core.js:122) at f.createContent (ViewBill.view.js:94) at eval (JSView.js:6) at Function.d.runWithPreprocessors (sap-ui-core.js:134) at f.sap.ui.core.mvc.JSView.onControllerConnected (JSView.js:6)

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Sergio Guerrero Dec 16, 2016 at 03:51 PM
0

controls in your app should have distinct control ids. in this case, it seems like Btn_Validate is a duplicate id on 2 views. Please provide a different id to the controls, or remove it so that the sapui5 lib assigns one id dynamically

Share
10 |10000 characters needed characters left characters exceeded