6 Replies Latest reply on Jan 23, 2015 8:32 AM by btempleton1982

    Test Extension Panel doesn't open

    btempleton1982 Level 2

      I have a test extension panel which is not working properly. The extension appears in the "Extensions" menu, but when the item is clicked, nothing happens.

       

      Here is the manifest:

       

      <?xml version="1.0" encoding="UTF-8"?>

      <ExtensionManifest ExtensionBundleId="com.test.test" ExtensionBundleName="test" ExtensionBundleVersion="1.0" Version="4.0">

        <ExtensionList>

          <Extension Id="com.test.test" Version="1.0"/>

        </ExtensionList>

        <ExecutionEnvironment>

          <HostList>

            <Host Name="ILST" Version="[18.0,18.9]"/>

          </HostList>

          <LocaleList>

            <Locale Code="All"/>

          </LocaleList>

          <RequiredRuntimeList>

            <RequiredRuntime Name="CSXS" Version="5.0"/>

          </RequiredRuntimeList>

        </ExecutionEnvironment>

        <DispatchInfoList>

          <Extension Id="com.test.test">

            <DispatchInfo>

              <Resources>

                <MainPath>./index.html</MainPath>

              </Resources>

              <UI>

                <Type>Panel</Type>

                <Menu>Hello world</Menu>

                <Geometry>

                  <Size>

                    <Height>400</Height>

                    <Width>400</Width>

                  </Size>

                </Geometry>

              </UI>

            </DispatchInfo>

          </Extension>

        </DispatchInfoList>

      </ExtensionManifest>

       

      Here is the index.html:

       

      <!doctype html>

      <html>

          <body>

              <button id="btn">Click me</button>

          </body>

      </html>

       

      Also, I set the debug flag in the com.adobe.CSXS.2.5.plist file to 1 and the log level to 6, but no log is being generated.

        • 1. Re: Test Extension Panel doesn't open
          lesavage Adobe Employee

          You are updating the wrong plist file. Please update com.adobe.CSXS.5.plist. you can refer to forum post https://forums.adobe.com/message/7032423 for further information.

           

          Lea

          • 2. Re: Test Extension Panel doesn't open
            btempleton1982 Level 2

            I have found the right file now and added the PlayerDebugMode 1 line to it. The panel still does not open when the extension is clicked from the menu.

            • 3. Re: Test Extension Panel doesn't open
              mmmathur Level 1

              Couple of question before any conclusion.

              1. Did you create this extension using any CC Extension Builder. For example Extension Builder 3 or Brackets ?
              2. Is this a boiler plate code for extension Test? I have doubt because your manifest.xml does not have .jsx path included.
              3. Can you please post snap shot or your extension directory structure ?
              • 4. Re: Test Extension Panel doesn't open
                btempleton1982 Level 2

                I used a text editor, no special tools.

                 

                Code was copied and pasted from the docs. There were several errors with quotation marks and such not copying over correctly. There may be others I did not find. Do you see anything else? Or know where I can find code that is guaranteed error-free to test with?

                 

                Directory structure is:

                /Library/Application Support/Adobe/CEP/extensions/test

                     /CSXS

                          /manifest.xml

                     /index.html

                 

                That's it.

                • 5. Re: Re: Test Extension Panel doesn't open
                  mmmathur Level 1

                  I could observe few discrepancies in your directory structure snap shot and manifest.xml file.

                   

                      Your directory structure should look like:

                      /Library/Application Support/Adobe/CEP/extensions/com.test.test

                      /CSXS

                            /manifest.xml

                      /index.html

                   

                  Here is the manifext.xml file, replace this with your manifest.xml

                  
                  <?xml version="1.0" encoding="UTF-8"?>
                  <ExtensionManifest Version="5.0" ExtensionBundleId="com.test.test" ExtensionBundleVersion="1.0.0"
                    ExtensionBundleName="Test" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                   <ExtensionList>
                    <Extension Id="com.test.test" Version="1.0" />
                   </ExtensionList>
                   <ExecutionEnvironment>
                    <HostList>
                              <!-- Illustrator -->
                              <Host Name="ILST" Version="[18.0,18.9]" />
                    </HostList>
                    <LocaleList>
                    <Locale Code="All" />
                    </LocaleList>
                    <RequiredRuntimeList>
                    <RequiredRuntime Name="CSXS" Version="5.0" />
                    </RequiredRuntimeList>
                   </ExecutionEnvironment>
                   <DispatchInfoList>
                    <Extension Id="com.test.test">
                    <DispatchInfo >
                    <Resources>
                    <MainPath>./index.html</MainPath>
                    </Resources>
                    <Lifecycle>
                    <AutoVisible>true</AutoVisible>
                    </Lifecycle>
                    <UI>
                    <Type>Panel</Type>
                    <Menu>Test</Menu>
                    <Geometry>
                    <Size>
                    <Height>400</Height>
                    <Width>400</Width>
                    </Size>
                                      <MinSize>
                                              <Height>400</Height>
                                              <Width>400</Width>
                                          </MinSize>
                                          <MaxSize>
                                              <Height>400</Height>
                                              <Width>400</Width>
                                          </MaxSize>
                    </Geometry>
                    </UI>
                    </DispatchInfo>
                    </Extension>
                   </DispatchInfoList>
                  </ExtensionManifest>
                  

                   

                  Here is the HTML file I used:

                  <!DOCTYPE html>

                  <html>

                  <head>

                  <meta charset="utf-8">

                         

                  <title>Test</title>

                  </head>

                   

                   

                  <body>

                     <button id="btn">Click me</button>    

                  </body>

                  </html>

                   

                  Also please make sure your are opening this extension in Illustrator 18.0 or later.

                  Its working for me as above!

                  • 6. Re: Re: Test Extension Panel doesn't open
                    btempleton1982 Level 2

                    You got it! I changed the name of the extension folder and now it works great. Thank you very much!