Hello support team,
we'd like to create a news page where we can draft and publish news articles. We were looking at abp modules which might help us implement that feature and were thinking of using the CMS Kit Pro. How would we implement it when using the microservice template with react? Would we have to create the frontend on our own or are there already some examples we can use? Or is the CMS Kit not ready for the modern templates and we should create our own CMS?
Our solution configuration:
Hello,
I have added OpenSearch to my project and am using it in one of my new microservices. For the data I use a docker volume. In ABP Studio when I stop or restart the OpenSearch container or the new microservice, the volume still exists. When I stop all containers it deletes all volumes.
Is it possible to not delete the volumes or atleast not the OpenSearch volume when I stop all containers? We're importing and indexing about 15 million datasets and even when I only import a part of it, it takes a long time. That's why I want the volume to persist.
My docker compose file:
volumes:
meinwerk_opensearchdata:
networks:
meinwerk:
external: true
services:
opensearch:
container_name: opensearch
image: opensearchproject/opensearch:2.19.0
volumes:
- meinwerk_opensearchdata:/usr/share/opensearch/data
networks:
- meinwerk
environment:
- discovery.type=single-node
- DISABLE_INSTALL_DEMO_CONFIG=true
- DISABLE_SECURITY_PLUGIN=true
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"
- bootstrap.memory_lock=true
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
ports:
- "9201:9200"
My down.ps1:
docker-compose -f containers/elasticsearch.yml down
docker-compose -f containers/opensearch.yml down
docker-compose -f containers/kibana.yml down
docker-compose -f containers/prometheus.yml down
docker-compose -f containers/rabbitmq.yml down
docker-compose -f containers/redis.yml down
exit $LASTEXITCODE
Current solution configuration:
Thanks for the info. That really helped. :) I had to add the RemoteService to my appsettings.json though.
Just to make sure I understand it correctly. I could use "Volo.Abp.Identity.HttpApi.Client" instead of "Volo.Abp.Identity.Pro.HttpApi.Client" and then in my WorkItem service use the "IIdentityUserIntegrationService" to request the users to get the names, correct?
I have seen that I could add the package "Volo.abp.Identity.Pro.HttpApi.Client" to my WorkItem service so that I can request a user in my own "GetListWithUsernameAsync" in my WorkItemsAppService.Extended.cs and then map it to my customized DTO. Would that be correct or should I do it in an other way?
Hello support team,
I have created a new entity "WorkItem" by using the ABP Suite. One of the properties of that entity is "AssignedUserId" which is a Guid. The AssignedUserId would be filled with the ID of an AbpUser. For the list-function I want to return the name instead of the ID of the user so that I can display the user name in the frontend.
How would I add a reference in Abp Suite between WorkItem and the Identity service?
I checked "Include entities from ABP modules" but couldn't select Identity:

Do I have to add a package to my WorkItem service before I can reference AbpUsers?
Current solution configuration:
Thanks it works now. :)
Hello,
I just realized that with Entity Framework the database defaulted to SQL Server. Is there a way to switch to Postgres (when recreating the solution) via parameter in the ABP CLI while it is not yet available in the ABP Studio?
For the helm error I'll send the error message and the logs once the error occurs again. I recreated the solution several times while experimenting and it seems like the error doesn't occur anymore. Might have been a mistake on my side, sorry for the inconvenience.
The rest was really helpful, thanks again. :)
Hello, thanks for the quick response.
The step by step guide to add a new page was really helpful. I was now able to create a new microservice, add a new page in the frontend and request data from the backend. :)
At the start I had some problems with adding a new microservice. When I create a new microservice with the ABP Studio, the helm configuration is set, which results in an error. When I remove the helm configuration it works again. When generating new tables with the ABP Suite I made a mistake where "Create user interface" was still checked, which resulted in errors. Would it be possible to automatically uncheck the checkbox when working with the modern framework / with react?
Would it also be possible to receive the lib/api/books.ts file for reference? We'd like to experiment some more before we switch to the official React UI / modern framework.
Are there any plans to implement a way to generate types or DTOs for the frontend? If there are no plans for such a feature, I'll experiment with https://heyapi.dev/ or something similar but wanted to check before I invest time into it.
Please excuse me for chasing after the new React UI. We are currently in the middle of implementing our own frontend, and the official React UI would save us quite a bit of work.
Hello support team,
we started working on our own React frontend for ABP but we've seen that the official React UI for ABP is currently available as a RC. We'd like to switch to the official React UI instead of building our own.
While I created a new solution (with microservices) with the new React UI, I am currently not entirely sure what the usual work flow would be when I want to add a new microservice and new pages to the frontend. Will there be tutorial videos or new guides in the documentation section in the future once the React UI releases?
A full step-by-step guide what to do after the creation of the solution would be really helpful. (from creating a new microservice to adding the new page to the frontend)