SAP UI5 Application Development Tutorial No. 73 - Using Custom Query to Implement the Bookmark Function of SAP UI5 Page Routing

In the previous steps of this tutorial, we have developed several SAP UI5 views and are able to route to each other.

For example, you can directly enter the Employee List page through the url http://localhost:8080/webapp/index.html#/employees:

Through the url http://localhost:8080/webapp/index.html#/employees/1, you can directly enter the Employee details page with id 1:

Through the url http://localhost:8080/webapp/index.html#/employees/1/resume, you can enter the Employee resume page with id 1:

Suppose we have the tab selected on the resume page Projects, we expect that the next time we paste the url directly into the browser address bar, the resume page will Projectsremain selected instead of the default Infotab page. This is the support of the so-called label function in SAP UI5 ( Bookmarkable).

Guess you like

Origin blog.csdn.net/i042416/article/details/124372674