//if doesn't exist
View existingView = viewService.getViewByName(cubeName, cube);
if(existingView == null){
v = CubeViewConverter.createDefaultView(cubeName, cube, accountId, authUser, "", null);
viewService.save(v);
}else{
v = existingView;
}
}else{
data.addError(UserSession.trans(locale, "couldNotFindView", view));