Open Closed

when have created new moudle doesn't appear within features in edition #2290


User avatar
0
yasin.hallak.89@gmail.com created

Hi I have created new module using abp suite but doesn't appear within features in edition. although and when I have added module pro using abp suite it appeared in edition

  1. what the steps in order to adding to the edition ?

  2. How can I add script external link like this <script type="text/javascript" src='https://maps.google.com/maps/api/js?libraries=places&key=' '></script> as a bundle in new module

thank u ...

  • ABP Framework version: v5.0.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

4 Answer(s)
  • User Avatar
    0
    cotur created

    Hello @yasin.hallak.89

    ABP module & module-pro templates do not have any initial Feature implementation like "Enable/Disable"

    If you want to add feature to your module and manage it by last application, please follow the documentation below:

    https://docs.abp.io/en/abp/latest/Features https://docs.abp.io/en/abp/latest/Modules/Feature-Management

    Also, we will discuss to add "enable-disable" feature to our module templates.

  • User Avatar
    0
    yasin.hallak.89@gmail.com created

    hi bro .. I am meaning as follow :

    1. when I have added module-pro template from abp suite like this forms module it appear within feature in edition like this but when I have created new module from here : it doesn't appear within feature in edition ...

    2. another question bro .... How can I add script external link like this <script type="text/javascript" src='https://maps.google.com/maps/api/js?libraries=places&key=' '></script> as a bundle.... becuase when I have added like this : it give me this error in browser : Could not find the bundle file 'http://maps.google.com/maps/api/js?sensor=false&libraries=places' for the bundle 'Lepton.Global'

    thank u so much

  • User Avatar
    0
    cotur created

    As I mentioned before;

    ABP module & module-pro templates do not have any initial Feature implementation like "Enable/Disable"

    But all ABP and Commercial ABP prebuilt modules (like Forms and others) have their own feature implementation, at least "Enable/Disable", those features added by Volo and ABP team while developing the module.

    When you are creating a new module, ABP Suite uses module-pro template and the template does not have any feature implementation.

    So, when you create a new module, you must add feature to your module by yourself for now. You can easily add any feature by following documentations below:

    https://docs.abp.io/en/abp/latest/Features https://docs.abp.io/en/abp/latest/Modules/Feature-Management

    For the second question:

    If you want to add a script to layout, you can use Hook system. Please check the documentation below. https://docs.abp.io/en/abp/latest/UI/AspNetCore/Layout-Hooks

  • User Avatar
    0
    yasin.hallak.89@gmail.com created

    As I mentioned before;

    ABP module & module-pro templates do not have any initial Feature implementation like "Enable/Disable"

    But all ABP and Commercial ABP prebuilt modules (like Forms and others) have their own feature implementation, at least "Enable/Disable", those features added by Volo and ABP team while developing the module.

    When you are creating a new module, ABP Suite uses module-pro template and the template does not have any feature implementation.

    So, when you create a new module, you must add feature to your module by yourself for now. You can easily add any feature by following documentations below:

    https://docs.abp.io/en/abp/latest/Features https://docs.abp.io/en/abp/latest/Modules/Feature-Management

    For the second question:

    If you want to add a script to layout, you can use Hook system. Please check the documentation below. https://docs.abp.io/en/abp/latest/UI/AspNetCore/Layout-Hooks

    thank bro : )

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09