cancel
Showing results for 
Search instead for 
Did you mean: 

How to load UI5 MasterDetail app on specific ID?

elinaim
Employee
Employee
0 Kudos

I have a master detail ui5 application. SplitApp

The application works fine when its loaded on home page,

but when i try to load an item with specific ID in the URL (ex:00205) the request fails:

http://localhost:4004/myapp/webapp/index.html#/Items/00205

Request failed with status code 404:<br>

it seems that the data is not being synced when loading on specific item.

What is the best practice for loading item from the url?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member392818
Participant
0 Kudos

It's about routing of your application. You need to define a route for your detail page. And handle the route matched event to loading data for specific item from URL. Please refer to the official doc of routing stuff and the "step 7" is the example for your case.