Activities of "Spospisil"

What are you suggesting I need to do in order to not need a controller to call an application service method? Are you suggesting I remove the conventionalcontrollers.Create line of code? Again, this was a out of the box solution generated by ABP Suite and I did not add this line of code myself.

  • My question, still, is how do I get javascript to call the methods on my application services WITHOUT creating a controller as the ABP documentation says I can do? If you could update the sample I have on github that shows how that is accomplished it would be much appreciated.

Hi,

I don't understand. Why is a controller necessary? Based on the documentation link below if you create the application service according to what the documentation shows, you don't need a controller.

Please advise.

https://docs.abp.io/en/abp/4.4/API/Auto-API-Controllers

Hi,

Thank you. Much appreciated.

Hi,

Have you had a chance to take a look at this yet?

I have created a new solution using ABP Suite 5.1.2 and adding the Lepton theme module as a project (using ABP Suite) and adding my Company 'application service'. Run a migration to create the database, and then run the tiered projects. Select from the left nativation menu 'System' and then 'Company Maintenance'.

The page should call my company application service 'CompanyHostAppService' method of 'GetCompanyListAsync' but instead it gets a similar error to the one shown in this thread.

The Git repo for this same is below and you should have received an invite to the repo.

https://github.com/spospisil/ABPSampleServiceError

Hi,

Understood, but I am using the lepton theme that is provided by Volvo/ABP and have not modified the placement of where this is loaded. The lepton theme's code defines where this reference is placed.

How do you mean? How do I do that?

For some reason the only way I can make the javascript call to my 'applicationservice' is to define a controller for it that injects the application service and calls the method I want.

The ServiceProxyScript when I view it in the browser does not include any of my solutions application services that I've created and that implement the IApplicationService interface.

Hi,

One of the main reasons we purchased the commercial license was so we could easily integrate black box functions such as the Payment module with minimal coding to integrate into our solution.

Based on the responses here it leaves the impression that at this point the Payment Module is not something that fits that model as the module itself should contain all logic to not only persist the payment requests to the DB but also handle the all the UI to process a payment as the documentation outlines (https://docs.abp.io/en/commercial/latest/modules/payment).

Since I'm am following the code samples provided in the payment module documentation which appears to not be appropriate for a tiered/MVC solution and your suggested fix to my issue appears to implement persisting the payment request data myself vs having the Payment Module handle it (like it's advertised it should) as well as the subsequent ui involved in creating either a one time payment or recurring payment, I would like to get an idea of when the Payment Module will be a production ready module that can be integrated just like the other commercial modules we have purchased.

I will need a timeline so I can set expectations with my employer.

Thanks.

Hi,

My issue was I had previously generated migrations that had the prefix in there before I added the logic to remove the prefixes. I had not deleted the migrations and it was just reapplying them.

Thanks for the help.

AbpPermissionManagementDbProperties.DbTablePrefix = "NewPrefix"

Can you try this code?

I already have and it doesn't work as expected.

Showing 51 to 60 of 118 entries
Made with ❤️ on ABP v9.1.0-rc.1. Updated on January 17, 2025, 14:13