Exemple #1
0
        private static void OpenCRXDELite(object sender, EventArgs e)
        {
            AemInstance instance = Program.GetActionInstance(sender);

            if (instance == null)
            {
                return;
            }

            string url = instance.UrlWithContextPath + "/crx/de/";

            if (instance.AemInstanceType == AemInstanceType.AEM54)
            {
                url = instance.UrlWithoutContextPath + "/crx/de/";
            }
            else
            {
                // check if DavEx servlet is enabled before opening CRXDE lite
                SlingDavExServlet davEx = new SlingDavExServlet(instance);
                davEx.CheckDavExStatus();
            }
            OpenUrl(url, instance);
        }
        private static void OpenCRXDELite(object sender, EventArgs e)
        {
            AemInstance instance = Program.GetActionInstance(sender);
              if (instance == null) {
            return;
              }

              string url = instance.UrlWithContextPath + "/crx/de/";
              if (instance.AemInstanceType == AemInstanceType.AEM54) {
            url = instance.UrlWithoutContextPath + "/crx/de/";
              }
              else {
            // check if DavEx servlet is enabled before opening CRXDE lite
            SlingDavExServlet davEx = new SlingDavExServlet(instance);
            davEx.CheckDavExStatus();
              }
              OpenUrl(url, instance);
        }