Skip to Content

Identification of module & extension

If we are given some module or extensions then how can we decide template of a module i.e. module is b2c or b2b or telco etc. or extension i.e. extension is yempty or ycockpit etc.

Note :-

We have not created module or extension by ourself. It is created by some other guy who are not in our contact now.

Add a comment
10|10000 characters needed characters exceeded

  • Former Member

    There is no direct way. You will have to compare the artifacts (classes, packages etc.) with the individual templates to guess the template that might have been used to create the extension. The templates give you a way to clone the artifacts while generating an extension but after the extension is generated, it can be customized to such an extent that it can become different from its template by far.

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 02, 2015 at 10:29 AM


    To identify, which type of accelerator i.e. b2c or b2b or telco,

    you can check the requires-extension tag in extensioninfo.xml of that extension.

    If it would be a b2c, then the extensioninfo.xml would contain extensions such as acceleratorservices.

    Like that if it would be a b2b, then the extensioninfo.xml would contain extensions such as b2bacceleratorservices.

    Also, for custom generated extensions from ycockpit extensions,

    will also contain such as in extensioninfo.xml.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 01, 2017 at 02:22 AM

    I am probably late but this might help someone else. Please follow steps below.

    1. Identify the extension that you wish to use as a module. eg. yacceleratorfulfilmentprocess

    2. Add below line to extensioninfo.xml
      <meta key="extgen-template-extension" value="true" />

    3. Configure Ant in ee by clicking Window > Show View > Ant.

    4. Run ant clean all

    5. In the Ant view, select a build.xml file from the platform folder

    6. You should see a list of ant targets once the build.xml file gets uploaded.

    7. Click on ext-gen > extgen_generate.

    8. This would take a while and then would open up new a window with an option to choose your module. Select your module and proceed further.

    Basically what step 2 does is registers your extension as a module so that you can create clones.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.