This document considers the way an application UI can plug into the service user control panel (MyCP) based on CCP.
UX1 unifies both roles: CCP and MyCP. It provides much more integration capabilities and thus is considered in a separate document.
In this document:
CCP and MyCP layout is unified in terms that the customer administrators and service users will work within the same layout differentiated by the permissions to manage the account in general and subscribed resources.
One of placeholders allows embedding a navigation tree
into MyCP. An embedded UI tree will be added as a tab in the top level menu.
In the following example, metadata declaration in APP-META.xml
makes the tree with the “Virtual Servers” label
embedded into MyCP, as required by element <plugs-to id=”http://www.aps-standard.org/ui/user”/>.
<navigation id="mycp" label="Virtual Servers">
<var name="user" type-id="http://aps-standard.org/types/core/service-user/1.0"/>
<plugs-to id="http://www.aps-standard.org/ui/user"/>
<item id="myservers" label="Virtual Servers">
<view id="myservers" label="Own VPSes"/>
</item>
</navigation>
In MyCP, it looks as presented below.
APS UI in this case allows a user to manage the resources assigned to the user, for example, it allows a user to start and stop VPSes.
When navigating in custom UI, breadcrumbs on top of the screen show the navigation path to the selected view. It works absolutely the same as described for custom UI in CCP.