code: @GetMapping
    public String init(
        @RequestParam(value = "entity", required = false) String selectedEntityName,
        @RequestParam(value = "entityId", required = false) String selectedEntityId,
        Model model) {
      StringBuilder message = new StringBuilder("");
  
      final boolean currentUserIsSu = SecurityUtils.currentUserIsSu();
  
      Map<String, EntityType> entitiesMeta =
          dataService
              .getMeta()
              .getEntityTypes()
              .filter(entityType -> !entityType.isAbstract())
              .filter(entityType -> currentUserIsSu || !EntityTypeUtils.isSystemEntity(entityType))
              .sorted(Comparator.comparing(EntityType::getLabel))
              .collect(toLinkedMap(EntityType::getId, Function.identity()));
  
      model.addAttribute("entitiesMeta", entitiesMeta);
      if (selectedEntityId != null && selectedEntityName == null) {
        EntityType entityType = dataService.getMeta().getEntityType(selectedEntityId).orElse(null);
        if (entityType == null) {
          message.append("Entity does not exist or you do not have permission on this entity");
        } else {
          selectedEntityName = entityType.getId();
        }
  
        if (selectedEntityName != null) {
          checkExistsAndPermission(selectedEntityName, message);
        }
      }
      if (StringUtils.isNotEmpty(message.toString())) {
        model.addAttribute("warningMessage", message.toString());
      }
      model.addAttribute("selectedEntityName", selectedEntityName);
      boolean navigatorAvailable = menuReaderService.findMenuItemPath(NAVIGATOR) != null;
      model.addAttribute(
          "showNavigatorLink", dataExplorerSettings.isShowNavigatorLink() && navigatorAvailable);
  
      model.addAttribute("hasTrackingId", null != appSettings.getGoogleAnalyticsTrackingId());
      model.addAttribute(
          "hasMolgenisTrackingId", null != appSettings.getGoogleAnalyticsTrackingIdMolgenis());
  
      return "view-dataexplorer";
    }
docs: Show the explorer page
  
  @return the view name