Starts in:
1 DAY
19 HRS
46 MIN
11 SEC
Starts in:
1 D
19 H
46 M
11 S

Activities of "cotur"

Please follow this: https://support.abp.io/QA/Questions/1300/French-translations-are-not-complete

Hi @devteam

File Management module built by getting inspired all other similar systems (like OS File System, Dropbox etc) You can't see paging at those, because of that we did not add paging, the backend does not return paged result from API.

To do that, you need to make changes on source code.

Here is the TODO list for your request.

  1. Import File Management module with source code
  2. Convert the return parameter to PagedResult from ListResult of DirectoryDescriptorAppService.GetListAsync (also make required changes for controller and do paging in the code)
  3. Then at the UI, you can add paginator to your datatable.
  4. Test all functionality.

There should be FakeCurrentPrincipalAccessor.cs file in your TestBase project, we use it to mock user.

Also for data seeding, please check this documentation: https://docs.abp.io/en/abp/latest/Testing#the-seed-data

Answer

It seems like you have trouble with Anti Forgery System.

See: https://docs.abp.io/en/abp/latest/CSRF-Anti-Forgery

For MVC, we put antiForgeryToken to file upload posting request header.

headers[abp.security.antiForgery.tokenHeaderName] = abp.security.antiForgery.getToken();

Hi @lalitChougule

The class XAppService is just an implementation of interface IXAppService, so when you override the implementation (class) you should also replace the implementation of interface IXAppService to your OverriddenAppService. Please see this documentation.

When you resolve IXAppService, the Dependency Injection should use OverridenAppService instead of default implementation.

After that, there is no problem to use GetRequiredService<IIdentityUserAppService>(); in tests and everywhere.

Answer

Hi @dicky.tech,

You can use IRemoteStreamContent for file uploading etc. See: https://docs.abp.io/en/abp/latest/Application-Services#working-with-streams

Answer

4.3 file management module.

file upload api works on local host after deploying to server it won't work. redirects to home page. all other apis works well.

on the UI I can upload files well

have you tested this ?

Hi @dicky.tech

Yes we have tested and got no problem after deployed to server. Can you share with me some logs?

Hi @learnabp

There are 2 ways to achieve that,

  1. As you did, control it on UI
  2. Using controller. You can post your data to a Controller, then validate and redirect to payment service from your Controller.

Hi @enes.koroglu,

ABP Commercial has no notification module, you should implement this feature by your own.

About the Page Toolbar editing for Angular, you can follow this documentation https://docs.abp.io/en/abp/latest/UI/Angular/Modifying-the-Menu#how-to-add-an-element-to-right-part-of-the-menu

Hi @devteam

As I see, you've added migration successfully,

But, to update your database, please use YourProject.DbMigrator project. When you run it, it will update your database.

Showing 51 to 60 of 88 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06