Search code examples
sapui5sap-web-ide

SAP Web IDE warning: "The control ID is not defined. Enter a unique ID."


I'm developing a UI5 app and right now I have the following problem: I've changed things somewhere recently and now it gives me the following error in a view:

Screenshot of my XML view warning - SAP Web IDE

The control ID is not defined. Enter a unique ID.


Solution

  • Either disable the XML_MISSING_STABLE_ID warning in your SAP Web IDE or add id="..." accordingly to the controls to which the warnings refer.

    I don't have access to SAP Web IDE anymore but as far as I can remember, you could decide which XML validator to use in your project. Go to the project settings and select the default XML validation instead of the SAP Fiori XML validator .