I have downloaded the Forms Module in my project, and have added one endpoint in one of my controllers. All the other endpoints are working fine, but there's an issue with the new endpoint that I have added. While trying to run my Blazor UI, it throws the following error while starting the Blazor application.
The action 'Volo.Forms.Forms.ClientProxies.FormClientProxy.GetTenantsList (Volo.Forms.HttpApi.Client)' has ApiExplorer enabled, but is using conventional routing. Only actions which use attribute routing support ApiExplorer.
Here the GetTenantsList is my endpoint in one of my controllers, can you tell me what I am missing here, do I have to do any configuration in the controller? Please enlighten.
I have an application template with EF Core MySQL and Angular. I want the Forms module to be included in my project, but since ABP is not providing UI for Forms in Angular as of now, I want to keep one separate microservice (with Blazor Server) for the Forms module. For that I have created a new microservice in my solution. And there I had the HttpApi.Host project, where Swagger UI is already configured. Here, I integrated the Forms module as a project, and I added the required Razor pages in the HttpApi.Host project of the service along with the required configuration.
But, now I am not sure how exactly I have to configure the authentication and authorization for the Forms Razor pages. Even though I am able to access the pages on the UI, but I can't perform anything because the user is unauthenticated. I have implemented the usual "oidc" authentication, which is as of now working, but authorization is something I'm not sure how to configure. I have granted all the forms permissions to the admin user through Angular UI, but it still says unauthorized. Can you help me with that?
When we create a Tenant, it creates an admin user by default with all the permissions being granted to that Tenant admin user. Is there a way through which I can assign a specific role to that admin user while the creation of the Tenant? Also, I want a way in which only few of the permissions should be visible to that tenant admin user to be modified. For example, I have a form wizard, which is used to setup the new organizations in the application. I want a way in which only the host user should be able to use that form and only the host user should be allowed to see the form permissions and that permission should not be visible to the admin user of any tenant.
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 followed the steps mentioned in the below URL to add the File Management module in our project https://docs.abp.io/en/commercial/latest/modules/file-management
After following all these steps, I tried to Upload a file. But when clicking on the "Upload File" button, nothing happens. There should be a modal opening up to select the file to upload, but it's not opening.
Steps followed to add the File Management Module :
Added File Management module in the Administration service using ABP Suite (Added as a package)
Installed and configured the @volo/file-management npm package in Angular
Added the following code to configure Blob Storage in the AdministrationServiceApplicationModule.cs file
Configure<AbpBlobStoringOptions>(options =>
{
options.Containers.Configure<FileManagementContainer>(c =>
{
c.UseFileSystem(fileSystem =>
{
fileSystem.BasePath = "<I have put the file path here>";
}); // You can use FileSystem or Azure providers also.
});
});
After that I seeded the data using DB Migrator and the following tables were created in administration database fmdirectorydescriptors fmfiledescriptors
Then I configured the path for file management in angular project
After following all these steps, I ran the project. Clicked on File Management, I was able to create folders, but when clicking on the Upload File button, nothing happens. Can you help me what I might be missing?