%@page import="com.appiancorp.suite.cfg.ConfigurationFactory"%> <%@page import="com.appiancorp.suite.SuiteConfiguration"%> <%@page import="com.appiancorp.suite.cfg.MicrosoftOfficeIntegrationConfiguration"%> <%@page import="com.appiancorp.common.config.ApplicationContextHolder"%> <% if(!ApplicationContextHolder.getBean(MicrosoftOfficeIntegrationConfiguration.class).isOutlookIntegrationEnabled()){ response.sendError(403); } String baseUri = ConfigurationFactory.getConfiguration(SuiteConfiguration.class).getBaseUri(); %>