on 02-03-2022 1:51 PM
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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.