Skip to Content

Webide Fiori Templates - annotations modeler blank

Few days back I created a Overview Page using SAP Webide annotation modeler and it worked fine. That project in Webide was not touched until today.

Now If I open my local annontation.xml it comes back blank ... I can see code in code editor but annotation modeler view is blank and it asks me to select target for annotations. Even after selection entity type the metadata field selection value list does not show list of fields in metadata file.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 28, 2017 at 06:16 AM

    Hi,

    Please check the content of your neo-app.json file.

    If your neo-app.json contains two paths leading to the same destination system (one for backend annotation, one for oData metadata, like in the example below), it uses the wrong format generated by the old version of the OVP wizard and should be manually fixed:

    The two entries in the old format:

    {

    "path": "/sap/opu/odata/IWFND/CATALOGSERVICE;v=2/Annotations(TechnicalName='ZYHC_C_SALESORDER_CDS_CDS_VAN',Version='0001')/$value",

    "target": {

    "type": "destination",

    "name": "ER9CLNT001",

    "entryPath": "/sap/opu/odata/IWFND/CATALOGSERVICE;v=2/Annotations(TechnicalName='ZYHC_C_SALESORDER_CDS_CDS_VAN',Version='0001')/$value"

    },

    "description": "ER9CLNT001"

    },

    {

    "path": "/sap/opu/odata/sap/ZYHC_C_SALESORDER_CDS ",

    "target": {

    "type": "destination",

    "name": "ER9CLNT001",

    "entryPath": "/sap/opu/odata/sap/ZYHC_C_SALESORDER_CDS "

    },

    "description": "ER9CLNT001"

    },

    should be replaced by a single one matching the following pattern:

    {

    "path": "/sap/opu/odata",

    "target": {

    "type": "destination",

    "name": " ER9CLNT001",

    "entryPath": "/sap/opu/odata"

    },

    "description": " ER9CLNT001"

    },

    The Overview Page Template wizard will be updated soon to match the correct pattern.

    We apologize for the inconvenience.

    Regards,
    Michal.

    Former Member

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Michal,

      I am using XS odata with side car approach. I see two entries for my destination "BW1" and removed the duplicate to keep only the entry with path /XS_PROJECT/ in my neon-app.jason. Still having the same problem. My old code from code editor does not show up on Annontation modeler.

      "welcomeFile": "/webapp/test/flpSandbox.html",

      "routes": [

      {

      "path": "/XS_PROJECT/",

      "target": {

      "type": "destination",

      "name": "BW1"

      },

      "description": "BW1"

      },

      {

      "path": "/sap/bc/lrep",

      "target": {

      "type": "destination",

      "name": "BW1",

      "entryPath": "/sap/bc/lrep"

      },

      "description": "BW1"

      },

      {

      "path": "/resources",

      "target": {

      "type": "service",

      "name": "sapui5",

      "preferLocal": true,

      "entryPath": "/resources",

      "version": "1.44.24"

      },

      "description": "SAPUI5 Resources"

      },

      {

      "path": "/sap/ui5/1/resources",

      "target": {

      "type": "service",

      "name": "sapui5",

      "preferLocal": true,

      "version": "1.44.24"

      },

      "description": "SAPUI5 dist layer resources"

      },

      {

      "path": "/webapp/resources",

      "target": {

      "type": "service",

      "name": "sapui5",

      "entryPath": "/resources",

      "version": "1.44.24"

      },

      "description": "SAPUI5 Resources"

      },

      {

      "path": "/webapp/test-resources",

      "target": {

      "type": "service",

      "name": "sapui5",

      "entryPath": "/test-resources",

      "version": "1.44.24"

      },

      "description": "SAPUI5 Test Resources"

      },

      {

      "path": "/test-resources",

      "target": {

      "type": "service",

      "name": "sapui5",

      "entryPath": "/test-resources",

      "version": "1.44.24"

      },

      "description": "SAPUI5 Test Resources"

      },

      {

      "path": "/",

      "target": {

      "type": "application",

      "name": "flpsandbox",

      "preferLocal": true

      },

      "description": "Subscribed Fiori LaunchPad"

      }

      ],

      "sendWelcomeFileRedirect": true

      }

  • Nov 29, 2017 at 11:08 AM

    Hi,

    the Web IDE version 170330 has just been updated with the hotfix for the issue with the similar symptoms. If you are using this version of Web IDE, could you please empty cash, reload and try again?

    If you still experience the issue, please let me know.

    Best Regards,

    Mariana

    Add comment
    10|10000 characters needed characters exceeded