Activities of "yasin.hallak.89@gmail.com"

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

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

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 : )

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

hello bro ... I have stopped ConfigureAutoApiControllers in my proj as shown in the following figure :

and I have creaded new FileController as shown in the following figure :

when I send request from swagger it work done and Status Code :200 as shown in the following figure :

but by using dropzone libraray as shown in the following figure :

and send request from UI MVC it doesn't work and give me Status Code :400 as shown in the following figure :

the question

why give me status code 400 . Although I have used same url in swagger ?

thank u ...

Hi,

I guess you need to add antiForgeryToken to the request header.

Try:

new Dropzone('....',{  
    .......... 
    headers: {  
        abp.security.antiForgery.tokenHeaderName: abp.security.antiForgery.getToken() 
    } 
    .... 
}); 

hi give me this error Uncaught SyntaxError: Unexpected token '.' as shown in the following figure :

Hi,

What happens when you use abp.security.antiForgery.tokenHeaderName and abp.security.antiForgery.getToken() in the browser's console tab?

var tokenHeaderName = abp.security.antiForgery.tokenHeaderName; var token = abp.security.antiForgery.getToken();

hi give me Status code :400 as shown in the following figure :

but when rename tokenHeaderName to requestverificationtoken it work very well

thank u

Hi,

Can you share the full HTTP request and response?

hi sorry for lating

  1. this is when I use tokenHeaderName and give me Status code :400 as shown in the following figure :

  1. this is when i use requestverificationtoken and give me status code :200 as shown in the following figure :

Please consultation

I have two module one Recruitment and another HR ..

I have special settings for each of them and some common settings for them ..

Do you prefer to create a module for the settings and put all the settings in it , Or put the settings for each module in the same model

Hi,

You can create a shared project, like xx.Domain.Shared for common settings.

Hi I mean I have some common entities between tow module like country entity

Do you prefer to create a new module for common entities?

Showing 1 to 10 of 110 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11