// ensure this navigation does not exist
NavigationService navigationService = uicomp.getApplicationComponent(NavigationService.class);
NavigationContext navigation = navigationService.loadNavigation(SiteKey.group(ownerId));
if (navigation != null && navigation.getState() != null) {
uiPortalApp.addMessage(new ApplicationMessage("UIPageNavigationForm.msg.existPageNavigation",
new String[] { ownerId }));
} else {
// Create portal config of the group when it does not exist
DataStorage dataService = uicomp.getApplicationComponent(DataStorage.class);
if (dataService.getPortalConfig("group", ownerId) == null) {