UX1 allows application users to access any navigation item or view of an application UI through a direct link that is unique for each view. It is possible to create direct links to almost any screen such as:
Informational page
Login form
Any application UI view or navigation item
Solution of a problem raised in application UI
In this document:
Usage of direct links is based on the following principles.
When a view is open in a browser, you can copy the URL from the address box and then use it as the direct link to the view as in the following examples:
Send to anybody including support team
Save it as a bookmark
Use it in an application code
There are some rules considered in this document that help you figure out the direct link to a view to arrange dynamic navigation.
A direct link can also specify resources that must be processed by the addressed view.
For example, when you open the UX1 dashboard (Home), in the browser address box you will find the direct link to it.
Anyone who has access to this UX1, can paste the https://b.isv1.aps.demo.org/ccp/v/pa/ccp-dashboard/dashboard URL to their browser address box to switch directly to the UX1 dashboard.
Direct links must comply with the following requirements:
Usage of the % char is not allowed.
For simplicity, the following substitutions must be used:
pa instead of www.parallels.com
aps instead of aps-standard.org
Direct link to the domains view in the platform application whose ID is http://www.parallels.com/ccp-domains looks as follows:
/v/pa/ccp-domains/domains
The servers view in the demo VPS cloud application whose ID is http://aps-standard.org/samples/basic1p is available through this direct link:
/v/aps/samples/basic1p/servers
To view all users:
/v/pa/ccp-users/usersview
To edit a user:
v/pa/ccp-users/viewUser/r/92a4beea-ab07-492b-a893-166941da5d78
To create a user:
/v/pa/ccp-users/addUser
Direct links as defined in the notification demo look as follows:
$notification->link = new \APS\NotificationLink(
"/v/aps/samples/async1pn/servers/", // Main link
"/v/aps/samples/async1pn/server-edit/r/".$this->aps->id, // Link more
"View or edit VPS" // Link more text
);