Skip to Content

SAPUI5 Walkthrough Step 32 Routing With Parameter Issue

Has anyone completed step 32 on SAPUI5 SDK - Demo Kit step 32

?

Do you find issues there?

I cant get it done since 3 days ago and really really needs help..

My Object List Invoice item don't have path like SAPUI5 Walkthrough - Test page

(CTRL+Shift+Alt+S)

each list item have (value or path?) when you click the list like  : /Invoices(ProductName='Milk',Quantity=4,ShipperName='ACME')"

Mine be like  Invoices/1

Where this path come from?? I'm still using local Invoices.Json but it shouldn't be a problem because it's same like remote oData.

temp.png (198.3 kB)
temp.png (191.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 22, 2015 at 03:44 PM

    Take a look at step 27.  I would assume you are testing from the index.html and not the testService.html which is configured to use the MockServer.  The Mockserver uses the test/service/metadata.xml which defines the key values of the entities.  The index.html is just using a simple json model.

    Regards,

    Jamie

    SAP - Technology RIG

    Add comment
    10|10000 characters needed characters exceeded

    • The first screenshot you are showing in your first post is using the mock server.  This acts more like a real service, but in fact it is just a json source.  If you wanna see the same results as this screenshot then use the testService.html.

      Regards,

      Jamie

      SAP - Technology RIG