Skip to main content
Inspiring
July 23, 2019
Question

How to load an invisible extension upon startup?

  • July 23, 2019
  • 0 replies
  • 351 views

Hello,

I'm following the CEP cookbook steps to create an invisible extension​, however they doesn't seem to work.

Here is my manifest file:

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


<ExtensionManifest Version="9.0" ExtensionBundleId="com.coherent.CoherentPrysm" ExtensionBundleVersion="1.0.0"

   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

   <ExtensionList>

        <Extension Id="InvisibleExtension" Version="1.0.0" />

   </ExtensionList>

   <ExecutionEnvironment>

        <HostList>

             <Host Name="FLPR" Version="15.1" />

        </HostList>

        <LocaleList>

             <Locale Code="All" />

        </LocaleList>

        <RequiredRuntimeList>

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

        </RequiredRuntimeList>

   </ExecutionEnvironment>

   <DispatchInfoList>

        <Extension Id="InvisibleExtension">

             <DispatchInfo>

                  <Resources>

                       <MainPath>./InvisiblePublisher/invisiblePublisher.html</MainPath>

                  </Resources>

                  <Lifecycle>

                       <AutoVisible>false</AutoVisible>

                       <StartOn>

                            <Event>com.adobe.csxs.events.ApplicationActivate</Event>

                            <Event>applicationActivate</Event>

                            <Event>com.adobe.csxs.events.ApplicationInitialized</Event>

                       </StartOn>

                  </Lifecycle>

                  <UI>

                       <Type>Custom</Type>

                       <Geometry>

                            <Size>

                                 <Height>100</Height>

                                 <Width>100</Width>

                            </Size>

                       </Geometry>

                  </UI>

             </DispatchInfo>

        </Extension>

   </DispatchInfoList>

</ExtensionManifest>

My extension never loads and I don't know which event to use to trigger it.
If i add a Menu tag in the UI tag an Extension window can be open in Window -> Extensions. When that Window is open the code from my invisible extension HTML file is executed.

How can I make an invisible extension which boots up on an event?

Kind Regards,
Ognyan

This topic has been closed for replies.