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.
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
If you're creating a bug/problem report, please include followings:
I am getting an error in the browser when trying to call the API via the Dynamic Javascript Client Proxy. Below are screenshots for my service contract interface, implementation of that interface and the javascript file that refers to the api service and the error in the browser that I am getting when trying to use this api proxy.
Can you see from this what the issue might be? The last time this happened it seemed to be related to a naming convention of my namespace I was using but I have tried it using many ones at this point and I'm still getting the error.
Thanks
I have separate DB's for each tenant in our solution. We are migrating legacy data for each tenant and do not wish to use the TenantID (Guid) that comes along with using the IMultiTenancy interface on our domain classes used to map to our DB tables. However if we don't implement this interface on our domain class the EFCoreRepository class changes the current tenant to null before getting the connection string, so as a result it gets the host connection string and not the tenant's connection string.
How do I do this?
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.